find block size of ocfs2 file system


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers find block size of ocfs2 file system
# 1  
Old 06-26-2012
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
# 2  
Old 06-26-2012
It should be something like this:

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

This User Gave Thanks to radoulov For This Post:
# 3  
Old 06-26-2012
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
Yes, see the manual pages:

Quote:
B Block size in bytes
Your block size is 4K.
# 5  
Old 06-26-2012
thanx radoulov
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Increasing total data size per file system request for block drivers

Hi All, I am writing a block driver for a 2GB SD card where i get the total amount of data per request as follows: struct request *req; uint card_addr,total_bytes; struct request_queue *rq = BlkDev->queue; req = elv_next_request(rq); .. .. card_addr = req->sector*512;... (1 Reply)
Discussion started by: amio
1 Replies

2. Solaris

Directory size larger than file system size?

Hi, We currently have an Oracle database running and it is creating lots of processes in the /proc directory that are 1000M in size. The size of the /proc directory is now reading 26T. How can this be if the root file system is only 13GB? I have seen this before we an Oracle temp file... (6 Replies)
Discussion started by: sparcman
6 Replies

3. Shell Programming and Scripting

find with file size and show the size

Hi All... is the below command be modified in sucha way that i can get the file size along with the name and path of the file the below command only gives me the file location which are more than 100000k...but I want the exact size of the file also.. find / -name "*.*" -size +100000k ... (3 Replies)
Discussion started by: rpraharaj84
3 Replies

4. UNIX for Advanced & Expert Users

how to find the queue size in listen system call

hi, I want to find the queue size of the listen system call which is defined as below listen(s, backlog) The backlog parameter sets the maximum number of outstanding connections which can be queued awaiting acceptance by the server. I want to know where is this... (2 Replies)
Discussion started by: sowjanya
2 Replies

5. Solaris

increasing file system size

Hi Can anyone explain me how to increase the filesystem size. We can do it when the system is running? It needs an reboot? (8 Replies)
Discussion started by: rogerben
8 Replies

6. UNIX for Advanced & Expert Users

how to find default OS block size?

Hi Can someone please guide me on how to get the default block size for all unix flavors. As per my investigation its 512 for all unix flavours other than HP for which it is 1024.However I am not sure on this. I even tried the df ommand but utt gives the output w.r.t file system created but... (1 Reply)
Discussion started by: prasi_in
1 Replies

7. Programming

how to get the file system size

I have the next code, and the output is incosistent, what is the problem: free blocks: 1201595 block size: 4096 total size(free blocks * block size): 626765824 1201595 * 4096 not is 626765824, what's the problem??? #include <sys/statvfs.h> #include <stdio.h> int main(){ ... (1 Reply)
Discussion started by: lucaxvu
1 Replies

8. AIX

file system size

Dear ALL Today I faced one problem in the file system, during invoking the command #df -k , I saw /usr reached to 95% Used, could any one give advice ? thanks & regarded (7 Replies)
Discussion started by: magasem
7 Replies

9. Solaris

command to find out total size of a specific file size (spread over the server)

hi all, in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders... please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies

10. AIX

How can I find the filesystem block size?

How can I find the filesystem block size in AIX? I need to check if it is the same as my DB block size. (4 Replies)
Discussion started by: progressdll
4 Replies
Login or Register to Ask a Question