Questions tagged [lvm]
Logical Volume Management provides storage abstraction, a generalization of disk partitioning.
1,658 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
23
views
Can't seem to exten logical volume on Linux
I was running out of disk space, and added space to my partition (nvme0n1p4), but I am not sure how to extend the root volume (kali--vmware--vg-root). Tried following the following article: https://...
0
votes
1
answer
41
views
Resize a LVM partition when not the last partition on linux disk of Azure
We create Oracle linux VMs in Azure using Terraform. We have recently had to switch from Oracle Linux 8.9 to 9.x . As the image used in azure is smaller than the disk we assign, we need to resize it....
0
votes
1
answer
181
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
92
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
71
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
64
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
423
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
115
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
154
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
193
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
72
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
537
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
139
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
412
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
295
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 ...