Rich Freeman on 26 Nov 2016 17:51:33 -0800


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

Re: [PLUG] Repairing an LVM volume


On Sat, Nov 26, 2016 at 8:45 PM, Eric H. Johnson
<ejohnson@camalytics.com> wrote:
>
> 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..."
>

ubuntu-vg isn't the logical volume.  That is the volume group (which
probably doesn't even create a device node).  You probably want
/dev/ubuntu-vg/root (assuming a somewhat typical udev configuration).
You can also run lvdisplay with no options which should tell you what
path the device node can be found at.

-- 
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