From owner-freebsd-stable Sat Nov 9 21:49:53 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 B5B8D37B401 for ; Sat, 9 Nov 2002 21:49:51 -0800 (PST) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1A4A43E75 for ; Sat, 9 Nov 2002 21:49:49 -0800 (PST) (envelope-from eugen@kuzbass.ru) Received: from kuzbass.ru (kost [213.184.65.82]) by www.svzserv.kemerovo.su (8.12.6/8.12.5) with ESMTP id gAA5ngNf025201; Sun, 10 Nov 2002 12:49:42 +0700 (KRAT) (envelope-from eugen@kuzbass.ru) Message-ID: <3DCDF36C.F37418E8@kuzbass.ru> Date: Sun, 10 Nov 2002 12:49:32 +0700 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.79 [en] (Win95; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: Paul Mather Cc: Chris BeHanna , FreeBSD-Stable Subject: Re: backups of SUPERBLOCK References: <20021109231607.W9701-100000@topperwein.pennasoft.com> <3DCDDFB1.D49327C6@kuzbass.ru> <20021110043834.GA3665@gromit.dlib.vt.edu> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit 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 Paul Mather wrote: > > On Sun, Nov 10, 2002 at 11:25:21AM +0700, Eugene Grosbein wrote: > => > If you didn't do any custom tuning with newfs, it's likely that > => > > => > newfs -N -b 8192 -f 1024 # pre 4.6 > => > > => > or > => > > => > newfs -N -b 16384 -f 2048 # 4.6 and up > => > > => > will be sufficient. > => > => Yeah. But this system was set up in times when newfs did not optimize > => cyl/group ratio and I remember that I manually run > => newfs with -b, -f and -c flags. Should I now worry about recovering those > => values to get right output from newsf -N, or not? > => And if I should, how can I obtain all real values? > > You can use dumpfs to get the real values, e.g.: > > dumpfs /dev/vinum/var | head -20 > > will tell you the information you're interested about. Here is what it shows: # dumpfs /dev/ad0s1g | head -20 magic 11954 time Sun Nov 10 12:42:56 2002 id [ 384288b1 6ad98d3f ] cylgrp dynamic inodes 4.4BSD nbfree 53671 ndir 2385 nifree 223067 nffree 31997 ncg 32 ncyl 500 size 1024000 blocks 992239 bsize 8192 shift 13 mask 0xffffe000 fsize 1024 shift 10 mask 0xfffffc00 frag 8 shift 3 fsbtodb 1 cpg 16 bpg 4096 fpg 32768 ipg 7808 minfree 8% optim time maxcontig 15 maxbpg 2048 rotdelay 0ms rps 60 ntrak 1 nsect 4096 npsect 4096 spc 4096 symlinklen 60 trackskew 0 interleave 1 contigsumsize 15 nindir 2048 inopb 64 nspf 2 maxfilesize 70403120791551 sblkno 16 cblkno 24 iblkno 32 dblkno 1008 sbsize 2048 cgsize 6144 cgoffset 2048 cgmask 0xffffffff csaddr 1008 cssize 1024 shift 9 mask 0xfffffe00 cgrotor 3 fmod 0 ronly 0 clean 0 flags soft-updates (no rotational position table) I see bsize and fsize, but don't see cylgroup ration. Please? Eugene To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message