Difference between revisions of "Tune2fs"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
: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>
 +
 +
 +
 +
Show [[file system]] characteristics
 +
<pre>
 +
# tune2fs -l /path/to/device
 +
# tune2fs -l /dev/sda25
 +
# tune2fs -l /dev/[[cciss]]/c1d1p1
 +
# tune2fs -l /dev/mapper/dm-path-name
 +
</pre>

Revision as of 13:27, 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: