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
1 answer
Can't `lvconvert` when root is readonly
My root is mounted readonly (on purpose). I have a separate, read-write vg where I want to lvconvert --merge a thin snapshot. I'm getting Cannot archive volume group metadata for $VG to read-only filesystem. The manpage was unhelpful. Is there some…
0
votes
1 answer
Copied data to LVM-Thin pool by mistake
I'm here today because of a big mistake that I have made.
I created an LVM-Thin data pool (and not on a LVM-Thin LV) on my Proxmox server and (don't ask why) ran a mkfs.ext4 on the pool then mounted it on my local node. After that I copied a bunch…

Hidd
- 3
- 2
0
votes
1 answer
Creating a ramdisk with lvmvdo persistent across reboot?
I am trying to create a persistent ramdisk with lvmvdo with the below unit file but it does not seem to work.I have not added the --type vdo option to the lvcreate command yet ( this is for RHEL9 )
[mukesh@server1 ~]$ sudo cat…

munish
- 151
- 1
- 11
0
votes
0 answers
lvm cachepool disabled after single error on raid1 - is this by design? or coincidence?
I setup my computer as follows
Fedora 37 kernel 6.0.17-300.fc37.x86_64
lvm2-2.03.11-9.fc37.x86_64
sda - SSD
sdb - SSD
sdc - HDD
sdd - HDD
lvcreate -n root -L50G --type=raid1 rootvg sdc sdd
lvcreate -n rootcache -L10G --type=raid1 rootvg sda…

banjo67xxx
- 620
- 5
- 7
0
votes
1 answer
grub error after kernel update with active root LVM snapshot
The situation:
debian 11 with LVM and / is a logical volume: /dev/mainvg/lv-root
created a snapshot of the root partition by doing lvcreate -L5G -n bkp_lvroot -s /dev/mainvg/lvroot
Now I updated the system with apt, a new kernel was installed, but…

archygriswald
- 143
- 1
- 11
0
votes
1 answer
Growpart not working for LVM partition on Debian
I am attempting to use "growpart" to grow a partition on a vm that is using LVM. The command reports successfully, and seems to output the correct changes. Though, nothing happens after running, and the partition is not changed even after a…

donkeyx
- 101
- 1
0
votes
0 answers
LVM thin pool show 100% usage
I've deployed openstack and used LVM as a backend for the cinder block storage, but after using it for a while I could no longer allocate block storage volumes , after checking the available space in the thin pool I found out that it shows 100%…

Rafik
- 35
- 7
0
votes
1 answer
LVM not recognised at startup, system does not boot (PROXMOX VM)
I'm facing a problem I don't know how to fix. I was trying to reduce size of a qcow2 file and I made a backup copy of the original file. After some problems with the reduced qcow2 file I decided to roll back to the backup I made and I discovered the…

IgnacioHR
- 101
- 2
0
votes
0 answers
AIX 7.1/ AIX 7.2 filesystem not persistently mounted across reboots and appears corrupted
OS: AIX 7.1 / AIX 7.2
Arch: ppc-64
I have created a custom (non-root) volume group homevg
bash-5.1# lsvg homevg
VOLUME GROUP: homevg VG IDENTIFIER: 00c97c4000004b000000018577fceedd
VG STATE: active …

Yakup
- 3
- 2
0
votes
1 answer
Setting up resilient single drive NVMe storage for LUKS encryption
I would like to set up resilient encrypted storage with single NVMe drive for my laptop and its (encrypted) backup (with SATA housing and SSD drive).
This is what I have at the moment:
SSD -> GPT partitions (unencrypted /boot, EFI, and LUKS) -> LVM…

Alojzij Blatnik
- 123
- 1
- 9
0
votes
0 answers
Logical volumes are not activated on boot
Ubuntu 22.04.1 here. I have a volume group called system created during installation. There are three logical volumes in this group.
--- Logical volume ---
LV Path /dev/system/swap
LV Name swap
VG Name …

QkiZ
- 634
- 2
- 9
- 22
0
votes
0 answers
linux + extend (grow) root file systems without downtime on RHEL production machines
I want to share the following procedure that we did on lab (RHEL 7.2 machine) in order to increase The root file system (XFS filesystem) from 130G to 150G
Details from VM RHEL 7.2 machine are
df -h /
Filesystem Size Used Avail Use%…

King David
- 549
- 6
- 20
0
votes
1 answer
Insufficient suitable allocatable extents error when performing RAID takeover
To improve performance while still keeping redundancy, I am trying to convert the root file system of a NAS from a RAID 5 logical volume to a RAID 10 logical volume, while keeping the same number of disks used.
In this section of the lvmraid man…

Marwi
- 11
- 4
0
votes
0 answers
Can't boot on my Linux anymore after changing boot order (dual boot windows/debian)
Some months ago, I changed my boot order to make my windows in first boot position. Since this day I can't boot on my linux anymore because I don't see it when i'm booting.
After some research I've found that the problem may come from the fact that…

Eliot-BPJ
- 1
- 1
0
votes
0 answers
Broken fstab, lvm root file system ubuntu (22.04) urgent help pls - possibly solved but verify pls
I was adding some nfs links to fstab but a stray process filled disk so I lost fstab when trying to save. Am trying to recreate, machine is still live.
Found some helpful links, used blkid and think I have put mount for boot device.
However the main…

Ilyaka
- 1
- 1