Skip to content

Instantly share code, notes, and snippets.

@LEXASOFT
Created May 23, 2020 14:23
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 LEXASOFT/f1d4af5bf85d6a74bda7b1a5cdf730dc to your computer and use it in GitHub Desktop.
Save LEXASOFT/f1d4af5bf85d6a74bda7b1a5cdf730dc to your computer and use it in GitHub Desktop.
LVM restore superblock
ls /dev/mapper
lvm lvchange -a y mint--vg-root
dumpe2fs /dev/mapper/mint--vg-root | grep superblock
fsck -b 32768 /dev/mapper/mint--vg-root -y
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment