Difference between revisions of "Tune2fs"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
# tune2fs -l /dev/sda25
 
# tune2fs -l /dev/sda25
 
# tune2fs -l /dev/[[cciss]]/c1d1p1
 
# tune2fs -l /dev/[[cciss]]/c1d1p1
 +
# tune2fs -l /dev/VG_NAME/LV_NAME
 
# tune2fs -l /dev/mapper/dm-path-name
 
# tune2fs -l /dev/mapper/dm-path-name
 
</pre>
 
</pre>
 +
 +
 +
  
  

Revision as of 13:34, 15 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/VG_NAME/LV_NAME
# tune2fs -l /dev/mapper/dm-path-name



See also

Advertising: