Questions tagged [lvm]
Logical Volume Management provides storage abstraction, a generalization of disk partitioning.
1,652 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
5
votes
2
answers
418
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
54
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
116
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
73
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
33
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
41
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
55
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
62
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 ...
dr_'s user avatar
- 32.3k
0
votes
1
answer
99
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]...
dr_'s user avatar
- 32.3k
2
votes
2
answers
273
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) ...
2
votes
0
answers
185
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 ...
0
votes
1
answer
74
views
Increase the root partition size with free disk space in Linux [duplicate]
Using default installation options, I just installed Fedora Server 40 on a 256GB hard disk. Somehow, the root partition, /, has only 15GB, while there is a free 236.9GB area. (Unlike Fedora, CentOS ...
0
votes
1
answer
73
views
Why is Debian preseed not partitioning a volume group?
Why does my preseed never create a volume group? Does anyone know what option I might be missing from my config?
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm ...
0
votes
0
answers
60
views
Total newbie stuff-up with LVM and RAID1
Many years ago, I created a RAID1 LVM data disk. During a re-installation, I deleted the volume group under cockatoo--vg-data associated with sdb1 and sdc1 and just have the partitions left.
sudo ...
5
votes
2
answers
421
views
How to get name of loop device that contains a LUKS-encrypted logical volume
In Ubuntu, I have mounted a raw disk .img file as a loop device that contains a LUKS encrypted LVM with an Ubuntu install on it.
It is mounted like so: (output is from lsblk -o NAME,PKNAME,KNAME,...