Eric H. Johnson on 26 Nov 2016 17:46:02 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Repairing an LVM volume


Rich,

Running lvs returns LV = root, VG = ubuntu-vg

Running fsck /dev/ubuntu-vg returns:
"The superblock could not be read or does not describe a valid ext2/ext3/ext4 file system..."

Thanks,
Eric


You would need to run it against the logical volume, not the physical volume.  Run lvs and see if the volume is active.  Hopefully when you unmount it your distro doesn't just deactivate the logical volume.

I believe the logical volume device will behave as an unencrypted device.

Disclaimer: I've used encrypted logical volumes, but never with LUKS, so I couldn't tell you offhand how most distros set up their tooling around it.

--
Rich
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug