• Get the Flash Player to see the slideshow.
  • Categories

  • Authors

  • Great Quotes

    Arithmetic is being able to count up to twenty without taking off your shoes. — Mickey Mouse

Get in touch...

To have a chat about
your CMS needs...

Call us 0207 193 2014
or
Email us on

How to Find the number of bytes per inode on Solaris

July 2nd, 2008 by Gavin Colborne

Find the number of bytes per inode on Solaris

First do a df -k to get the device path:

df -k /local/iw-store
Mounted on /dev/vx/dsk/datadg/local

Then use mkfs -m to find frag size.

/usr/sbin/mkfs -m /dev/vx/dsk/datadg/local

mkfs -F ufs -o nsect=64,ntrack=32,bsize=8192,fragsize=1024,
cgsize=49,free=1,rps=120,nbpi=8186,opt=t,apc=0,gap=0,
nrpos=8,maxcontig=64,mtb=n /dev/vx/dsk/datadg/local 184320000

You can also use df -g | grep ‘block size’

bash-2.03$ df -g | grep ‘block size’
/ (/dev/md/dsk/d10 ): 8192 block size 1024 frag size
/proc (/proc ): 512 block size 512 frag size
/etc/mnttab (mnttab ): 512 block size 512 frag size
/dev/fd (fd ): 1024 block size 1024 frag size
/var (/dev/md/dsk/d30 ): 8192 block size 1024 frag size

Leave a Reply

You must be logged in to post a comment.