OCFS2

From Wiki
Jump to: navigation, search

Determine journal size:

echo "ls -l //" | debugfs.ocfs2 -n /dev/sdc1 |grep journal

Query the file system:

tunefs.ocfs2 -Q "Volume Label = %V\nUUID = %U\nJournals = %N\nNodes = %N\nCluster Size = %T\n" /dev/vdb1

This will give output similar to the following.

Volume Label = ocfs2
UUID = E45CD0D7FEDF42E5A632F09819CAF28A
Journals = 8
Nodes = 8
Cluster Size = 4096

List FS features:

tunefs.ocfs2 -Q "Label: %V\nFeatures: %H %O\n" /dev/vdb1