Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cgsize

Status
Not open for further replies.

lai56

Vendor
Jul 25, 2003
7
BR
Hi,
I couldn't understand the meaning of cgsize as the output of command fstyp, in the man page says that it means the size of cylinder group, but it not hit!
I have the next output of fstyp:
bash-2.05# fstyp -v /dev/dsk/c1t1d0s0|more
ufs
magic 11954 format dynamic time Thu Jan 6 14:41:44 2005
sblkno 16 cblkno 24 iblkno 32 dblkno 1432
sbsize 2048 cgsize 8192 cgoffset 128 cgmask 0xffffffe0
ncg 23 size 1050776 blocks 1018191
bsize 8192 shift 13 mask 0xffffe000
fsize 1024 shift 10 mask 0xfffffc00
frag 8 shift 3 fsbtodb 1
minfree 6% maxbpg 2048 optim time
maxcontig 16 rotdelay 0ms rps 120
csaddr 1432 cssize 1024 shift 9 mask 0xfffffe00
ntrak 19 nsect 248 spc 4712 ncyl 446
cpg 20 bpg 5890 fpg 47120 ipg 11200
nindir 2048 inopb 64 nspf 2
nbfree 36527 ndir 2222 nifree 239494 nffree 318
cgrotor 13 fmod 0 ronly 0 logbno 0
version 0

I have 23 cylinder groups, and 20 cylinders per cylinder-group. my cgsize value is 8192, what it means?

Thanks a lot!
Lai
 
cgsize=n
The number of cylinders per cylinder group (ranging from 16 to 256). The default is calculated by dividing the number of sectors in the file system by the
number of sectors in a gigabyte, and then multiplying
the result by 32. The default value will always be
between 16 and 256. The per-cylinder-group meta data
must fit in a space no larger than that available in
one logical file system block. If too large a cgsize
is requested, it is decreased by the minimum amount
 
Hi,
my cgsize value is 8192, if it means The number of cylinders per cylinder group as says in man page, it must be 20, because cpg is 20, and 8192 is not between 16 and 256, this is my double!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top