[TriLUG] Ubuntu & LVM

Brian McCullough via TriLUG trilug at trilug.org
Sat Apr 30 11:20:46 EDT 2016


On Sat, Apr 30, 2016 at 07:54:39AM -0400, Michael Rulison wrote:
> Had to make a new install of Ubuntu, which is where this message comes from.
> But in doing so I lost link to extended partition with several
> sub-partitions containing all the old /home/user/, etc. data. They and the
> current / partition are all under LVM.
> 
> I can see all from gparted.
> 
> I think all  I need is the CLI to mount or remount. But what I have tried
> has not worked.
> 
> =====================================
> Problem, I think:
> How to get /dev/sda5 recognized and mounted as rw?

No, Michael, sda5 is not a mountable partition.  As you showed in the
part I deleted, it is an LVM PV ( physical volume ), and, as such,
contains part or all of a VG ( volume group ), which can contain one or
more LVs ( logical volumes ).

At the command line, issue:

vgs

which will show you the name and other information about the Volume
Group, and then:

lvs

which will show you the list of Logical Volumes contained within that
Volume Group.


Once you have that information, you can create mount points in your file
system, and mount individual LVs on those mount points.



Brian




More information about the TriLUG mailing list