Questions tagged [lvm]
Logical Volume Management provides storage abstraction, a generalization of disk partitioning.
1,653 questions
2
votes
2
answers
45
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
129
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
74
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
52
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
470
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
86
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
222
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
186
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
47
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
47
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. ...
0
votes
0
answers
71
views
resize luks encrypted xfs on lvm partition to extend root with additional space
i have a ~200GB luks encrypted partition on a dual boot setup and i've just shrunk my windows partition by a bit so i can use the unallocated space on my root partition which is xfs. how would i go ...
0
votes
1
answer
69
views
Create a LV from multiple VGs
Is it possible to create a Logical Volume from more than one Volume Group...
... if the Volume Groups reside on the same Physical Volume?
... if the Volume Groups reside on different Physical ...
0
votes
1
answer
120
views
How to run fsck with LVM
I am having I/O errors on /dev/sda on a RHEL 9 server.
Output of dmesg | grep sda:
[ 3.323141] sd 0:0:0:0: [sda] 62914560 512-byte logical blocks: (32.2 GB/30.0 GiB)
[ 3.323174] sd 0:0:0:0: [sda]...
2
votes
2
answers
289
views
How do I merge a volume group together with my system hard drive?
If you all look at the enclosed image above, you can see that I've merged four hard drives into one volume group called MQ.
I did this in order to try to have my system hard drive (KINGSTON SUV400S) ...
3
votes
0
answers
286
views
How to get the stats of an lvm cache?
I am using an lvm cache in the most usual combination (small, fast ssd before a huge, slow hdd). It is simply awesome.
However, I have not found a way to know, how many blocks are actually cached and ...