Thanks to all who replied. I got mainly three answers: 1. df -g -> reports block size 8192 2. fstyp -v -> reports bsize 1024 3. mkfs -m -> for vxfs reports bsize=1024 Example: ====== # df -k ... /dev/vx/dsk/rootdg/volt 4194304 527396 3437759 14% /datavol1 # mkfs -m /dev/vx/rdsk/rootdg/volt mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=5,inosize=256,logsize=16384,largefiles /dev/vx/rdsk/rootdg/volt 18874368 # fstyp -v /dev/vx/dsk/rootdg/volt | more vxfs magic a501fcf5 version 5 ctime Tue Feb 17 09:39:13 2004 logstart 0 logend 0 bsize 1024 size 9437184 dsize 9437184 ninode 0 nau 0 defiextsize 0 ilbsize 0 immedlen 96 ndaddr 10 aufirst 0 emap 0 imap 0 iextop 0 istart 0 bstart 0 femap 0 fimap 0 fiextop 0 fistart 0 fbstart 0 nindir 2048 aulen 32768 auimlen 0 auemlen 8 auilen 0 aupad 0 aublocks 32768 maxtier 15 inopb 4 inopau 0 ndiripau 0 iaddrlen 8 bshift 10 inoshift 2 bmask fffffc00 boffmask 3ff checksum e663272f oltext1 33 oltext2 18946 oltsize 1 checksum2 4b2b free 7755647 ifree 0 efree 29 59 75 6 11 11 12 9 8 10 6 7 4 3 3 5 2 4 2 0 2 0 1 0 0 0 0 0 0 0 0 0 # # df -g /datavol1 /datavol1 (/dev/vx/dsk/rootdg/volt): 8192 block size 1024 frag size 18874368 total blocks 15511294 free blocks 14541876 available 1985940 total files 1938910 free files 69992454 filesys id vxfs fstype 0x00000004 flag 255 filename length # df -g /dev/vx/dsk/rootdg/volt /datavol1 (/dev/vx/dsk/rootdg/volt): 8192 block size 1024 frag size 18874368 total blocks 15511294 free blocks 14541876 available 1985940 total files 1938910 free files 69992454 filesys id vxfs fstype 0x00000004 flag 255 filename length >From: "Marco Ilea" <marco_ilea@hotmail.com> >To: sunmanagers@sunmanagers.org >Subject: How to determine the Block Size >Date: Wed, 17 Mar 2004 12:37:44 -0800 > >Hello Admins, > >The UFS file system block size in Solaris 8 can be 4096 or 8192 ># man newfs >...... > -b bsize > The logical block size of the file system in > bytes (either 4096 or 8192). The default is > 8192. > >How can I determine what is the block size of an existing file system >(one that has been created already)? >Also the above is valid for UFS, >what about vxfs (Veritas File System - same thing, how can I determine >it?). > >Any help will be appreciated. > >TIA, >Marco _________________________________________________________________ All the action. All the drama. Get NCAA hoops coverage at MSN Sports by ESPN. http://msn.espn.go.com/index.html?partnersite=espn _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Wed Mar 17 17:12:56 2004
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:30 EST