Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-26-2012
Registered User
 
Join Date: Jul 2011
Posts: 101
Thanks: 7
Thanked 4 Times in 4 Posts
find block size of ocfs2 file system

please some one help me to find the block size of ocfs2 file system in rehat linux 4
Sponsored Links
    #2  
Old 06-26-2012
radoulov's Avatar
--
 
Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 5,468
Thanks: 139
Thanked 538 Times in 506 Posts
It should be something like this:


Code:
tunefs.ocfs2 -Q "block size = %B\n" /dev/sdX1

The Following User Says Thank You to radoulov For This Useful Post:
robo (06-26-2012)
Sponsored Links
    #3  
Old 06-26-2012
Registered User
 
Join Date: Jul 2011
Posts: 101
Thanks: 7
Thanked 4 Times in 4 Posts
radoulov also please cold you explain is the output in bytes

Quote:
tunefs.ocfs2 1.2.7
block size = 4096
    #4  
Old 06-26-2012
radoulov's Avatar
--
 
Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 5,468
Thanks: 139
Thanked 538 Times in 506 Posts
Yes, see the manual pages:

Quote:
B Block size in bytes
Your block size is 4K.
Sponsored Links
    #5  
Old 06-26-2012
Registered User
 
Join Date: Jul 2011
Posts: 101
Thanks: 7
Thanked 4 Times in 4 Posts
thanx radoulov
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Increasing total data size per file system request for block drivers amio Linux 1 09-13-2010 07:11 AM
Directory size larger than file system size? sparcman Solaris 6 12-10-2009 09:21 AM
how to find default OS block size? prasi_in UNIX for Advanced & Expert Users 1 07-29-2008 04:08 PM
command to find out total size of a specific file size (spread over the server) abhinov Solaris 3 08-08-2007 06:48 AM
How can I find the filesystem block size? progressdll AIX 4 10-06-2005 09:55 AM



All times are GMT -4. The time now is 05:23 PM.