If you are asking so you can put a Oracle Database On it, put the largest offered (8k last I looked) and use a long read multiplier to get to 64k. The one thing you can't give for your heart's desire is your heart. - Lois McMaster Bujold
You can check a filesystem logical block size with:
"df -g", e.g for a "/data" filesystem with aprox 1GB:
# df -g /data
/data (/dev/dsk/c0t1d0s0 ):8192 block size 1024 frag size
2036764 total blocks 2036746 free blocks
2016380 available 251008 total files
251004 free files
8388616 filesys id ufs fstype 0x00000004 flag
255 filename length
logical block size of /data is 8192 bytes or 8k, note that total blocks in df are in physical blocks, (512 bytes size):
2036704/2 = 1018352*1024 = 1042823168 bytes
also note that blocks in fsck are logical, except frags and used blocks i.e:
# umount /data
# fsck /data
** /dev/dsk/c0t1d0s0
** Last Mounted on /data
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
2 files, 9 used, 1018373 free (21 frags, 127294 blocks, 0.0% fragmentation)
127294*8192=1042792448+(21+9)*1024=1042823168 bytes
21+9 is frag + used (used and frag size is 1024 bytes) as "df -g" shows for frag size.
You can change logical block size for a ufs filesystem in Solaris with "-b" flag in newfs command (when you create a new filesystem), however note that Solaris sun4u architecture does not support the 4096 block size.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.