Problems Mounting LVM Disk by UUID - Ubuntu Studio (Xubuntu)
0
votes
1
answer
3311
views
I’ve had a bit of a hunt around, and tried LOTS of things for the following problem.
I feel like I’m near the end of it.
I run Ubuntu Studio 18.04 on a few PCs, with LVM.
I pulled the Hard Drive from an old 32 bit based machine,
and I am trying to mount it as an external drive via USB to another PC -
Ubuntu 18.04, 64 Bit.
I just want to read the contents and copy files and folders to the new PC and another external backup HDD.
In Windows and Macs, pulling an OS disk and plugging it into another PC via USB -- normally reads and mounts the disk straight away, and I am able to go ahead and copy / read write files.
On Linux / Ubuntu Studio -
after reading several articles,
and trial and error, here is where I am up to :
I have installed some kind of “LVM2” drivers (I think) - I believe I used :
sudo apt-get install lvm2
I have read this article
https://ixnfo.com/en/solving-the-error-mount-unknown-filesystem-type-lvm2_member.html
Which, among another couple of articles, pointed me to use lvdisplay
to get the name of the LVM.
As my logical volumes have the same name -
(My PC and Ext HDD / former PC which both ran ubuntu studio)
These are the lvdisplay
outputs -
(removing all the other unnecessary info and swap partitions from lvdisplay
output -
and I have obviously changed the name of the UUIDs)
--- Logical volume ---
LV Path /dev/ubuntu-studio-vg/root
VG Name ubuntu-studio-vg
LV Size 464.80 GiB
LV UUID 1234abc-1234-abc
--- Logical volume ---
LV Path /dev/ubuntu-studio-vg/root
VG Name ubuntu-studio-vg
LV Size From the manpage of mount.
> -U, --uuid uuid
>
> Mount the partition that has the specified uuid.
>
> So your mount command should look like as follows.
>
> **mount -U 1234-SOME-UUID /some/mount/folder**
>
> or mount --uuid 1234-SOME-UUID /some/mount/folder
>
> A third possibility would be mount UUID=1234-SOME-UUID
> /some/mount/folder
I have tried the one with the syntax in bold
mount -U 1234-SOME-UUID /some/mount/folder
It doesn’t work.
I get :
mount: /media: can't find UUID=1234-SOME-UUID
Now, I feel a bit stuck.
I seek help from the wizards.
Help! (:
Thanks so much for any answers.
Additional data:
:~$ lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
└─sda1 LVM2_member Lmc6Lt-lBPY-Xdwg-mjLb-lf0B-########
├─ubuntu--studio--vg-root ext4 6e198faf-7911-4ce4-8008-########
└─ubuntu--studio--vg-swap_1 swap 877d70a6-8422-4c2d-bb99-########
:~$ sudo mount -U leUvLc-DuXM-vvcl-vBPr-2thG-####### /media
mount: /media: unknown filesystem type 'LVM2_member'.
:~$ blkid /dev/sdb1
UUID="leUvLc-DuXM-vvcl-vBPr-2thG-#######" TYPE="LVM2_member" PARTUUID="8f065194-01"
:~$ sudo mount -U leUvLc-DuXM-vvcl-vBPr-2thG-####### /media
mount: /media: unknown filesystem type 'LVM2_member'.
Asked by spaz
(1 rep)
Apr 10, 2021, 05:12 AM
Last activity: May 26, 2025, 12:00 PM
Last activity: May 26, 2025, 12:00 PM