You are not logged in.
Pages: 1
Topic closed
Hi all,
I have old laptop drive that is encrypted with luks, and managed by llvm.
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sdc 8:32 0 476.9G 0 disk
├─sdc1 8:33 0 512M 0 part
├─sdc2 8:34 0 732M 0 part
└─sdc3 8:35 0 475.7G 0 part I opened it with cryptsetup:
sudo cryptsetup open /dev/sdc3 ubuntuHowever, when I try to mount it, I'm getting error that it's part of llvm:
$ sudo mount /dev/mapper/ubuntu /mnt/olddrive
mount: /mnt/olddrive: unknown filesystem type 'LVM2_member'.
dmesg(1) may have more information after failed mount system call.What is a proper way to mount such a disk to my running system?
Last edited by iamkarlson (2023-02-10 13:08:32)
Offline
Offline
Thanks! I installed lvm2 and then, after opening with cryptsetup , used the following to mount it:
$ sudo vgdisplay
--- Volume group ---
VG Name vgkubuntu
......................
$ sudo vgchange -a y vgkubuntuand I was able to use regular mount:
sudo mount /dev/mapper/vgkubuntu-root /mnt/olddrive Offline
Hello
I have been searching for this tips for hours.
I was using the old syntax for LVM and did not understand what I was doing wrong.
THANKS to this board !
Offline
Closing this old solved topic.
Offline
Pages: 1
Topic closed