Sponsored Content
Top Forums UNIX for Dummies Questions & Answers find block size of ocfs2 file system Post 302662163 by robo on Tuesday 26th of June 2012 08:59:57 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
tunefs.ocfs2(8) 						OCFS2 Manual Pages						   tunefs.ocfs2(8)

NAME
tunefs.ocfs2 - Change OCFS2 file system parameters. SYNOPSIS
tunefs.ocfs2 [--cloned-volume[=new-label] [--fs-features=list-of-features] [-J journal-options] [-L volume-label] [-N number-of-node-slots] [-Q query-format] [-ipqnSUvVy] [--backup-super] [--list-sparse] device [blocks-count] DESCRIPTION
tunefs.ocfs2 is used to adjust OCFS2 file system parameters on disk. The tool expects the cluster to be online as it needs to take the appropriate cluster locks to write safely to disk. OPTIONS
--cloned-volume[=new-label] Change the volume UUID (auto-generated) and the label, if provided, of a cloned OCFS2 volume. This option does not perform volume cloning. It only changes the UUID and label on a cloned volume so that it can be mounted on the node that has the original volume mounted. --fs-features=[no]sparse... Turn specific file system features on or off. tunefs.ocfs2 will attempt to enable or disable the feature list provided. To enable a feature, include it in the list. To disable a feature, prepend no to the name. For a list of feature names, see the man page for mkfs.ocfs2. -J, --journal-options options Modify the journal using options specified on the command-line. Journal options are comma separated, and may take an argument using the equals ('=') sign. For a list of possible options, see the man page for mkfs.ocfs2. -L, --label volume-label Change the volume label of the file system. Limit the label to under 64 bytes. -N, --node-slots number-of-node-slots Valid number ranges from 1 to 255. This number specifies the maximum number of nodes that can concurrently mount the partition. Use this to increase or decrease the number of node slots. One reason to decrease could be to release the space consumed by the journals for those slots. -S, --volume-size Grow the size of the OCFS2 file system. If blocks-count is not specified, tunefs.ocfs2 extends the volume to the current size of the device. -Q, --query query-format Query the file system for its attributes like block size, label, etc. Query formats are modified versions of the standard printf(3) formatting. The format is made up of static strings (which may include standard C character escapes for newlines, tabs, and other special characters) and printf(3) type formatters. The list of type specifiers is as follows: B Block size in bytes T Cluster size in bytes N Number of node slots R Root directory block number Y System directory block number P First cluster group block number V Volume label U Volume uuid M Compat flags H Incompat flags O RO Compat flags -q, --quiet Quiet mode. -U, --uuid-reset Change the volume UUID (auto-generated) for the file system. -v, --verbose Verbose mode. -V, --version Show version and exit. -y, --yes Always answer Yes in interactive command line. -n, --no Always answer No in interactive command line. --backup-super Backs up the superblock to fixed offsets (1G, 4G, 16G, 64G, 256G and 1T) on disk. This option is useful for users to backup the superblock on volumes that the user either explicitly disallowed while formatting, or, used a version of mkfs.ocfs2 (1.2.2 or older) that did not provide this facility. --list-sparse Lists the files having holes. This option is useful when disabling the sparse feature. --update-cluster-stack Updating on-disk cluster information to match the running cluster. blocks-count During resize, tunefs.ocfs2 automatically determines the size of the given device and grows the file system such that it uses all of the available space on the device. This optional argument specifies that the file system should be extended to consume only the given number of file system blocks on the device. EXAMPLES
[root@node1 ~]# tunefs.ocfs2 -Q "UUID = %U NumSlots = %N " /dev/sda1 UUID = CBB8D5E0C169497C8B52A0FD555C7A3E NumSlots = 4 SEE ALSO
mkfs.ocfs2(8) fsck.ocfs2(8) debugfs.ocfs2(8) mounted.ocfs2(8) ocfs2console(8) o2cb(7) AUTHORS
Oracle Corporation COPYRIGHT
Copyright (C) 2004, 2010 Oracle. All rights reserved. Version 1.4.3 February 2010 tunefs.ocfs2(8)
All times are GMT -4. The time now is 12:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy