Difference between revisions of "Tune2fs"

From wikieduonline
Jump to navigation Jump to search
Line 17: Line 17:
 
:Filesystem state:        clean
 
:Filesystem state:        clean
 
:Filesystem state:        clean with errors
 
:Filesystem state:        clean with errors
 +
:FS Error count:          61
  
  

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


Filesystem state: clean
Filesystem state: clean with errors
FS Error count: 61


See also

Advertising: