[HPADM] mkfs can't use all sectors like newfs

From: cahyadi.e@pg.com
Date: Thu Jul 10 2003 - 06:22:43 EDT



Hi list,

I don't understand why mkfs can't use all sectors like newfs. This is the first time I encounter such problem.

# newfs -F vxfs /dev/sap1vg21/rlvol1
    version 3 layout
    8835072 sectors, 8835072 blocks of size 1024, log size 1024 blocks
    unlimited inodes, 8835072 data blocks, 8831760 free data blocks
    270 allocation units of 32768 blocks, 32768 data blocks
    last allocation unit has 20480 data blocks
    first allocation unit starts at block 0
    overhead per allocation unit is 0 blocks


# mkfs -F vxfs -o largefiles,bsize=8192,logsize=256 /dev/sap1vg21/rlvol1
    version 3 layout
    8814592 sectors, 1101824 blocks of size 8192, log size 256 blocks
    unlimited inodes, 1101824 data blocks, 1101496 free data blocks
    34 allocation units of 32768 blocks, 32768 data blocks
    last allocation unit has 20480 data blocks
    first allocation unit starts at block 0
    overhead per allocation unit is 0 blocks

I want to create a filesystem with 8628 MB in size. When I use newfs, 8835072 sectors are allocated (which is expected), but if I use mkfs, only 8814592 sectors are allocated. The reason I use mkfs is to specify the bsize and logsize (which are not supported by newfs). But even not using that -o option, it doesn't help. Only 8814592 will be allocated!

Can anybody explain it, and tell me how to aim what I wanted.

Thanks,
Edi -- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)

This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:31 EDT