Difference between revisions of "Tune2fs"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
:Filesystem state: clean with errors | :Filesystem state: clean with errors | ||
:FS Error count: 61 | :FS Error count: 61 | ||
+ | |||
+ | <pre> | ||
+ | First error time: Wed Dec 11 15:40:41 2019 | ||
+ | First error function: htree_dirblock_to_tree | ||
+ | First error line #: 994 | ||
+ | First error inode #: 2 | ||
+ | First error block #: 0 | ||
+ | Last error time: Sun Dec 15 12:36:44 2019 | ||
+ | Last error function: ext4_find_entry | ||
+ | Last error line #: 1465 | ||
+ | Last error inode #: 2 | ||
+ | Last error block #: 0 | ||
+ | </pre> | ||
+ | |||
Revision as of 13:41, 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
First error time: Wed Dec 11 15:40:41 2019 First error function: htree_dirblock_to_tree First error line #: 994 First error inode #: 2 First error block #: 0 Last error time: Sun Dec 15 12:36:44 2019 Last error function: ext4_find_entry Last error line #: 1465 Last error inode #: 2 Last error block #: 0
See also
Advertising: