Wednesday, February 6, 2013

Find OS Blocksize in Windows & Unix/Linux

In Oracle We say that Database Block Size should be multiple of OS Block Size.

So how to find Blocksize in Windows & Unix/Linux?

##########################
#   Task 
##########################

Find OS Block Size in Windows & Unix/Linux Environments.

##########################
#   In Windows 
##########################

 fsutil fsinfo ntfsinfo c: | find /i "bytes" 


So My Windows Block size is  4096 


##########################
#   In Solaris 
##########################

 df -g  

 df -g /tmp  



So My Solaris Block size is  8192 

By Default Solaris OS Block Size will be  8192  and it may vary from File system to File System

##########################
#   In Unix/Linux 
##########################


 tune2fs -l  



No comments: