In computer storage, Logical Volume Management or LVM provides a method of allocating space on mass-storage devices that is more flexible than conventional partitioning schemes.
Questions tagged [lvm]
1504 questions
0
votes
0 answers
Broken disks on LVM system
Hi I have searched all around to find this case.
I have a PC WITH 3 disk a main disk with os completly destroyed an another couple of disk with LVM on it
If I mount it under linux I can do:
sudo su
root@mint:/home/mint# lvmdiskscan
WARNING:…

user1594895
- 101
- 1
0
votes
0 answers
XCP-ng Local Storage SR on LVM is unplugged and errors when being re-attached
I have an XCP-ng cluster running XCP-ng 8.2.1 and following a patch and reboot the local storage SR is showing as unplugged. This is an XCP create LVM on a RAID drive, the same RAID drives contain the OS which is booting and I can see evidence of…

Dave
- 355
- 1
- 2
- 12
0
votes
0 answers
LVM mirror with failed disk can't be repaired
I'm trying to help someone resurrect a RAID1 mirrored LVM logical volume on an old server running Fedora 20 (lvm2-2.0.2.106, linux 3.19.8-100). One of the disks in the mirror is dead. The disk belonged to a VG named systemvg. vgchange…

Bryan Wright
- 101
0
votes
1 answer
Cloudmin backup size
we are using Cloudmin under CentOS 7.9. to manage Xen virtual machines that use LVM. It's all backed up once a week (via Cloudmin's built-in backup system, which I think just uses dd). Last week I noticed one thing: on one system, I deleted 150GB of…

Dmitry
- 23
- 4
0
votes
0 answers
LVM disk is corrupt - is any data recoverable?
Under RHEL7 we have a logical volume consisting of 27 volume groups PVs. Each of these VGsPVs was added sequentially as we ran out of space on the LV.
We do not have a backup of the data. There are no snapshots of the VM.
Recently it refused to…

tmark
- 141
- 1
- 1
- 6
0
votes
0 answers
Linux LVM - create a mirror, break it, take one of the pieces to a different system, use it there
Using LVM, I would like to create a mirror of a LV, sync it, break it off, attach the mirror-piece to a different system, use it there.
Start with a ordinary linear LV. Here is the procedure I have:
#### create a mirror
## …

Steve
- 1
0
votes
1 answer
umount of logical volume failing during shutdown
In my system, multiple logical volumes are created, mounted and /etc/fstab entries are added after systemd starts up.
When system is rebooted for the first time, during shutdown many umount failures are observed.
Interestingly, in subsequent…

m.divya.mohan
- 333
- 1
- 6
0
votes
2 answers
Can mount on /mnt but not on other mount point, why?
this is an RHEL8 VM. I'm trying to mount a logical volume on /var (because I need more space). For now I have created a directory /xvar to mount on, but it doesn't work and doesn't show an error. Below an example, I first mount on /mnt, check that…

musbur
- 193
- 12
0
votes
0 answers
Fixing LVM boot after disk clone
I have a NVME boot disk that was running low on space in my proxmox server. After using Clonezilla to clone the disk to another larger NVME things are unstable.
The boot disk has 2 Logical volumes on it, and seems to get through the boot process…

Doug
- 283
- 2
- 10
0
votes
3 answers
Oracle Enterprise Linux: Growpart 'cannot grow partition'
I've read a few blogs here on this but haven't come across similar situation as mine.
i have expanded the drive by 5GiB on /dev/sda
i have without rebooting made it visible by running the following command: echo 1 >…

Khorem
- 11
- 1
0
votes
1 answer
How to extend LVM size
I have additional free space on my sda disk and I want to add this space to my LVM. How can I add this 2.5T space to my LVM without destroying the existing partition or losing any data?
sda 8:0 0 2.5T 0 disk
├─sda1 …

David
- 101
- 1
0
votes
0 answers
Shrinking ESXi volume to reclaim unallocated space
We have a number of VMs (VMware ESXi) running Ubuntu. As a result of the installation time 'feature' which only allocates half the amount of the requested space, we have a lot of wasted/unallocated space. For example, a 100Gb volume as seen by the…

MikeBrom
- 31
- 3
0
votes
1 answer
Used P2V to reduce size opf LVM VHDX - Issues with grub and booting now
Hi All hoping for some Linux genius advice
I inherited a VMWare VM cluster with a few production VM's
they were all way over provisioned and all have 1tb Thick drives
But are only using 100gb odd each
I want to reduce the size of the VHDX but with…

Chayne
- 1
- 1
0
votes
1 answer
Rocky 9.1 dracut fails to boot
My rocky 9.1 vm kernel is not able to load/boot/decrypt a LVM Luks2 volume during boot.
Booting with 5.14.0-162.6 works fine. But fails booting the latest 5.14.0-162.18 or 5.14.0-162.12 kernel, dracut throws with error:
Starting dracut pre-udev…

sherwood
- 1
- 1
0
votes
1 answer
Avoid Docker to write into /var/tmp
How can I tell docker to write data elsewhere of /var/tmp ? Like specifying another path, like /opt for example.
Because I often running out of disk usage on /var file system.
The challenge is that I don't to resize /var every time I need to load or…

Suffren
- 7
- 2