2025-02-28

  1. shrank a partition while it was mounted in a system.
    1. How did I achieve this glorious task? Hibernate the os and shrank the partition from a live boot
  2. resumed working in the os and noticed that I wasn’t able to mkdir in the shrank partition
  3. thought nothing of it, rebooted
  4. filesystem checks failed on boot
  5. live boot
    1. gparted would crash before it could fix the error since the the drive is 4tb. gparted would just fail after some time
    2. ran simple sudo e2fsck -y -f -v /dev/mapper/nvme...crypt.
    3. 20 minutes in echo $0 return 1 which File system errors corrected

references

e2fsck(8): check ext2/ext3/ext4 file system - Linux man page