Date: Sun, 10 Nov 2002 12:49:32 +0700 From: Eugene Grosbein <eugen@kuzbass.ru> To: Paul Mather <paul@gromit.dlib.vt.edu> Cc: Chris BeHanna <behanna@zbzoom.net>, FreeBSD-Stable <stable@FreeBSD.ORG> Subject: Re: backups of SUPERBLOCK Message-ID: <3DCDF36C.F37418E8@kuzbass.ru> References: <20021109231607.W9701-100000@topperwein.pennasoft.com> <3DCDDFB1.D49327C6@kuzbass.ru> <20021110043834.GA3665@gromit.dlib.vt.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DCDF36C.F37418E8>