Jump to navigation Jump to search
e2fsck -D Optimize directories in filesystems
e2fsck /dev/vda44 e2fsck 1.44.1 (24-Mar-2018) /dev/vda44 is in use. e2fsck: Cannot continue, aborting.
e2fsck /dev/sda1 e2fsck 1.45.5 (07-Jan-2020) /dev/sda1: clean, 51370/1638400 files, 1141067/6553088 blocks
e2fsck /dev/sda22 e2fsck 1.44.1 (24-Mar-2018) /dev/sda22 contains a file system with errors, check forced. Pass 1: Checking inodes, blocks, and sizes Inodes that were part of a corrupted orphan linked list found. Fix<y>? yes Inode 1356 was part of the orphaned inode list. FIXED. Deleted inode 12871 has zero dtime. Fix<y>? yes Inode 133043 was part of the orphaned inode list. FIXED. Inode 263036 was part of the orphaned inode list. FIXED. .../... Free inodes count wrong (533409, counted=533413). Fix<y>? yes
/dev/sda2: ***** FILE SYSTEM WAS MODIFIED ***** /dev/sda2: ***** REBOOT SYSTEM ***** /dev/sda2: 121947/655360 files (0.2% non-contiguous), 1750836/2620672 blocks
guestfish><fs> e2fsck /dev/sda1 libguestfs: error: e2fsck: e2fsck 1.45.5 (07-Jan-2020) e2fsck: need terminal for interactive repairs