Questions tagged [lvm]
Logical Volume Management provides storage abstraction, a generalization of disk partitioning.
1,657 questions
0
votes
1
answer
138
views
mkfs.ext4 deleted my filesystems, how can i recover data?
Iam trying to recover my data and need help/advice on how to do it. The details of my issue are as below
My disk was partitioned as below -
sda1 - 487MB, primary bootable type 83
sda2 - 240G , ...
3
votes
2
answers
70
views
Is changed LVM device info not fully updated in kernel? Any workaround? Is this a bug?
My system is working just fine. The questions at the end of all this are;
does the kernel keep a cache of device information;
is it possible for it to be only partly updated, leaving a mix of new &...
0
votes
0
answers
51
views
Preseed file bad configuration using UEFI and LVM
I just changed my preseed file from legacy to UEFI installation. I'm using LVM with the following custom recipe, in order to specify size of swap, root, home, var & tmp.
To make it works in UEFI I ...
0
votes
0
answers
52
views
How to add an unencrypted boot partition to a LUKS/LVM vg?
I've been using Ubuntu Studio 24.04 LTS on my desktop computer for some time now. Recently, after a software install went bad (DaVinci Resolve, but that's another issue...), the machine was corrupted ...
4
votes
2
answers
389
views
Replacing a 500GB SSD LUKS/LVM drive in place with 1TB SSD
I have a ThinkPad T520 running Fedora with a single 500GB SSD drive. The drive has two partitions, a small boot partition and the rest devoted to a a single LUKS one. The LUKS partition is managed ...
2
votes
1
answer
86
views
How to reduce swap space in Debian with full disk encryption and BTRFS
My computer is running Debian 13. During installation of Debian 13, I chose to have full disk encryption and use the BTRFS filesystem (instead of the default ext4 filesystem). The Debian installer ...
3
votes
1
answer
141
views
lvm2 on Gentoo: what I miss?
I need lvm2 on gentoo ppc64.
This is the situation
e-file vgs
app-shells/bash-completion
Seen Versions: 2.14.0-r1 2.15.0 2.16.0 2.16.0-r1 2.16.0-r2 2.16.0-r3
Portage Versions: 2.14.0-...
2
votes
0
answers
162
views
PV /dev/sdn1 is duplicate for PVID xxx on /dev/sdj1
I've got an issue with my LVM partitions when getting out of sleep mode.
When I reboot my PC, I've got the following :
@ordi4 /root 101 # pvscan
PV /dev/sde1 VG vg_export2 lvm2 [<74,53 GiB ...
1
vote
1
answer
55
views
Space Issue on Elementary OS
I set up Elementary OS on a virtualbox VM for testing. When I did so I only selected 20 gb drive size. It didn't take long to fill that up because for some reason the LVM was set for ~16 gb. I resized ...
5
votes
2
answers
498
views
Is it possible to replace the disks in LVM raid with larger disks?
Currently I have a file server running Centos 9 Stream. The operating system is on its own disk and own logical volume group and logical volumes. The are a further 3 disk attached to the motherboard ...
0
votes
1
answer
115
views
How to configure grub to boot from encrypted lvm partition
I try to install Grub manually after Devuan installation, but I guess there is an error in configuration.
/etc/default/grub
GRUB_CMDLINE_LINUX=”cryptdevice=/dev/sda5:devuan-root:allow-discard”
...
0
votes
3
answers
323
views
Cloning a Linux disk containing LVM logical volumes
I have a GNU/Linux installation with an unencrypted primary partition (boot partition) and a LUKS primary partition containing two LVM logical volumes (root filesystem and swap space):
/dev/sda1: (...
1
vote
0
answers
258
views
How to clonezilla efficiently a LVM volume?
I have a Debian 12 system that I want to backup using clonezilla.
This system is using LVM and a bunch of little partitions. Some using ext4, and some in xfs.
The issue, is that, if I don't do ...
1
vote
0
answers
58
views
Residual LVM Metadata After Forced Disk Removal – How to Clean Up Non-existent VG?
We had an issue on our server where we had to forcibly remove the disks without first removing the LV, VG, and then the PV.
Now that we’ve resolved the disk issue and added new disks, there are still ...
1
vote
0
answers
50
views
How to recover data or mount a logical volume after resizing drive to less than size of physical volume
Due to a series of mistakes i resized my drive to be smaller than the physical volume it contains. The drive has a physical volume at around 110Gib, a logical volume at 100Gib, all on a 99.4Gib drive. ...