From owner-freebsd-stable Sun Nov 10 3:26:52 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 381BC37B401 for ; Sun, 10 Nov 2002 03:26:35 -0800 (PST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BFCD43E75 for ; Sun, 10 Nov 2002 03:26:34 -0800 (PST) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.5/8.12.5) with ESMTP id gAABQVTJ009888; Sun, 10 Nov 2002 14:26:31 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Sun, 10 Nov 2002 14:26:31 +0300 (MSK) From: Dmitry Morozovsky To: Eugene Grosbein Cc: Phil Kernick , Subject: Re: backups of SUPERBLOCK In-Reply-To: <3DCDD873.F498DFC2@kuzbass.ru> Message-ID: <20021110142457.P8709-100000@woozle.rinet.ru> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 10 Nov 2002, Eugene Grosbein wrote: EG> > > Is there an official way to get list of superblock backups for existing EG> > > filesystem, other than backup/newfs/restore ? EG> disklabel ad0 shows, in partcular: EG> EG> 8 partitions: EG> # size offset fstype [fsize bsize bps/cpg] EG> a: 102400 524288 4.2BSD 0 0 0 # (Cyl. 32*- 39*) EG> b: 524288 0 swap # (Cyl. 0 - 32*) EG> c: 12594897 0 unused 0 0 # (Cyl. 0 - 783*) EG> e: 3072000 626688 4.2BSD 1024 8192 22 # (Cyl. 39*- 230*) EG> f: 1024000 3698688 4.2BSD 0 0 0 # (Cyl. 230*- 293*) EG> g: 2048000 4722688 4.2BSD 0 0 0 # (Cyl. 293*- 421*) EG> h: 5824209 6770688 4.2BSD 1024 8192 22 # (Cyl. 421*- 783*) EG> EG> How do I know real parameters of 'f' and 'g' partitions EG> and why zeroes are there? Examine output of dumpfs(8). ncg, cpg and derived values can get you the clue ;-) Sincerely, D.Marck [DM5020, DM268-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message