how to mount LVM partition

Noah noah-list at enabled.com
Mon Jul 13 19:02:36 UTC 2020


Hi List People,

I am having trouble mounting the LVM drive on /dev/sdb5
What am I doing wrong?

Device     Boot  Start       End   Sectors   Size Id Type
/dev/sdb1         2048    499711    497664   243M 83 Linux
/dev/sdb2       501758 976771071 976269314 465.5G  5 Extended
/dev/sdb5       501760 976771071 976269312 465.5G 8e Linux LVM

noah at nuc2:~$ sudo apt install lvm2
Reading package lists... Done
Building dependency tree
Reading state information... Done
lvm2 is already the newest version (2.03.07-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

noah at nuc2:~$ sudo vgscan
noah at nuc2:~$ sudo vgscan --mknodes
noah at nuc2:~$ sudo lvdisplay
noah at nuc2:~$ sudo lvs
noah at nuc2:~$ sudo pvscan
   No matching physical volumes found
noah at nuc2:~$ sudo vgscan
noah at nuc2:~$ sudo vgchange -ay
noah at nuc2:~$ sudo lvscan


Cheers





More information about the ubuntu-users mailing list