Difference between revisions of "Tune2fs"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
[[tune2fs]] used to modify file system parameters
+
<code>[[tune2fs]]</code> used to modify file system parameters
 
:To modify [[ext4]] for metadata checksums <code>tune2fs -O metadata_csum</code>
 
:To modify [[ext4]] for metadata checksums <code>tune2fs -O metadata_csum</code>
 
:To disable ext4 metadata checksum: <code> tune2fs -O ^metadata_csum</code>
 
:To disable ext4 metadata checksum: <code> tune2fs -O ^metadata_csum</code>

Revision as of 13:28, 11 December 2019

tune2fs used to modify file system parameters

To modify ext4 for metadata checksums tune2fs -O metadata_csum
To disable ext4 metadata checksum: tune2fs -O ^metadata_csum


Show file system characteristics

# tune2fs -l /path/to/device 
# tune2fs -l /dev/sda25
# tune2fs -l /dev/[[cciss]]/c1d1p1
# tune2fs -l /dev/mapper/dm-path-name

Advertising: