New answers tagged

0 votes

LVM Volume Group not found

I had same issue here. Not on 20.04, but on 18.04. The issue is due to I move my SSD holding 18.04 to another PC and then the previous working system cannot boot any more. During boot kernel is ...
user avatar
  • 1
0 votes

How to mount cloned LV with UUID identical to already mounted LV

I managed to change the UUID of the LVs on the clone, and get it to mount at the same time as the original without conflict. Here's how I did it: I attached a different drive with a copy of Ubuntu ...
user avatar
  • 145
0 votes

State of LVM raid compared to mdadm

I am senior in a team where we have several environments (around 5 now if I am not mistaken, but will be getting some more by the end of the year). The environments weight from 8 to 25 physical hosts (...
user avatar
  • 181
0 votes

Increase the disk size on Debian 11 with btrfs filesystem

Sorry to inform you, but it seems you made quite a lot of mess. The issue started long before you did extension even, already at install. Whole point of ZFS (and its filesystems) and BTRFS (and it ...
user avatar
  • 181
1 vote
Accepted

Problems understanding LVM configuration in Rhat 7 that needs to be extended

This is just a quirk of how lsblk displays filesystems that are located partly on one device and partly on another. The total size of the root filesystem is 295,6G exactly as displayed. Now, since it'...
user avatar
  • 68.4k
1 vote

Problems understanding LVM configuration in Rhat 7 that needs to be extended

LSBLK shows that I actually have two partitions that are 295.6 in size... It doesn't, actually: ├─sda2 8:2 0 39G 0 part ... └─sda3 8:3 0 360G 0 part It shows that ...
user avatar
  • 24.9k
36 votes
Accepted

Restore a LUKS partition that was overwritten by pvcreate

This looks like a LUKS 2 header that was directly overwritten with LVM metadata. So the LUKS device became a LVM Physical Volume. So this is a damaged LUKS header recovery problem. Depending on the ...
user avatar
  • 42.5k
3 votes
Accepted

Cannot mount LVM volumes after manually decrypting LUKS partition

First of all, this sudo cryptsetup plainOpen --offset=808960 2022-06-11_fedora.iso cryptdisk is wrong. If the third partition is really a LUKS partition you didn't open it correctly, the plain mode ...
user avatar
0 votes

How to dual boot macOS and encrypted Debian with rEFInd?

My response to another thread on stackexchange Now I have a 2016 MacBook pro with full disk encryption, csr enabled, triple boot efi boot lnx 5.11, win 10, osx Monterrey, all working perfectly and ...
user avatar
  • 1
0 votes

Cannot attach cache device to backing device

First, try some clean-up: echo $cset_uuid | sudo tee /sys/fs/bcache/pendings_cleanup echo $backing_uuid | sudo tee /sys/fs/bcache/pendings_cleanup Use bcache-super-show to get the uuids. Then try ...
user avatar
  • 24.9k
0 votes
Accepted

Ubuntu 20.04 clevis-luks setup auto unlocking not working

I was missing: clevis-initramfs that needed to be installed. Once added the auto unlocker worked.
user avatar
  • 111
0 votes

LUKS-LVM partition resize problems

I just ended up having a similar problem and could resolve it. I didn't use the KDE partition manager but the command lvresize to resize my logical volume: DO NOT RUN THIS COMMAND: lvresize --verbose -...
user avatar
1 vote
Accepted

lvextend -l 100%FREE isn't working

strange that the "lvextend -l 100%FREE" isn't working Without the + the 100%FREE is interpreted as absolute size. Which works if you have more free space than the current size of the volume,...
user avatar
  • 42.5k
1 vote
Accepted

How to chainload another kernel with kexec inside a LUKS2 + LVM2 partition?

You might want to set up a ubuntu-kexec.target which would be essentially a stripped-down version of multi-user.target, with basically: [Unit] Description=Kexec an Ubuntu kernel from within an ...
user avatar
  • 68.4k

Top 50 recent answers are included