NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: I/O question



On 08/02/15 06:21, Michael van Elst wrote:
wam%hiwaay.net@localhost ("William A. Mahaffey III") writes:

Thanks for your reply. I just checked & I did apparently setup the RAID
correctly w/ sectPerSU = 32. Can I use dumpfs to recover FS info from a
mounted, active FS (man page doesn't say either way, tunefs page says it
*won't* work on mounted FS) ? TIA & thanks again.
dumpfs will obviously show information that might be changing, but
the geometry information is static, so that's ok.

tunefs won't work because it just manipulates on-disk data, it
doesn't tell the filesystem about it. Some values you can change
and activating them at the next mount. Some values you can only
change while unmounted, because the living filesystem overwrites
them.


Hmmmm .... OK, I did the dumpfs & got the following from the 1st 28 lines, header info:


file system: /dev/rdk0
format  FFSv2
endian  little-endian
location 65536  (-b 128)
magic   19540119        time    Mon Aug  3 10:55:57 2015
superblock location     65536   id      [ 5593845d ee5eb3c ]
cylgrp  dynamic inodes  FFSv2   sblock  FFSv2   fslevel 5
nbfree  90486820        ndir    63184   nifree  230985751 nffree  5694
ncg     4964    size    943207067       blocks  928593007
bsize   32768   shift   15      mask    0xffff8000
fsize   4096    shift   12      mask    0xfffff000
frag    8       shift   3       fsbtodb 3
bpg     23753   fpg     190024  ipg     46848
minfree 5%      optim   time    maxcontig 2     maxbpg  4096
symlinklen 120  contigsumsize 2
maxfilesize 0x000800800805ffff
nindir  4096    inopb   128
avgfilesize 16384       avgfpdir 64
sblkno  24      cblkno  32      iblkno  40      dblkno  2968
sbsize  4096    cgsize  32768
csaddr  2968    cssize  81920
cgrotor 0       fmod    0       ronly   0       clean   0x02
wapbl version 0x1       location 2      flags 0x0
wapbl loc0 3773140352   loc1 131072     loc2 512        loc3 3
flags   wapbl
fsmnt   /home
volname         swuid   0
cs[].cs_(nbfree,ndir,nifree,nffree):


I see a bsize of 32K, twice that of the RAID (I think), problem ?

--

	William A. Mahaffey III

 ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                           -- Gen. George S. Patton Jr.



Home | Main Index | Thread Index | Old Index