Skip to content

Instantly share code, notes, and snippets.

@dragonpiper
Created October 8, 2021 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dragonpiper/9d7b97c2d1575a40d127351d3a558694 to your computer and use it in GitHub Desktop.
Save dragonpiper/9d7b97c2d1575a40d127351d3a558694 to your computer and use it in GitHub Desktop.
root@ubuntu:/home/ubuntu# fsck.ext4 -fry /dev/mapper/ubuntu--vg-ubuntu--lv
e2fsck 1.44.1 (24-Mar-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free inodes count wrong (58767454, counted=58767455).
Fix? yes
/dev/mapper/ubuntu--vg-ubuntu--lv: ***** FILE SYSTEM WAS MODIFIED *****
/dev/mapper/ubuntu--vg-ubuntu--lv: 739233/59506688 files (0.5% non-contiguous), 221637982/238026752 blocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment