Questions tagged [lvm]
Logical Volume Management provides storage abstraction, a generalization of disk partitioning.
1,595
questions
1
vote
1
answer
29
views
Reduce used space; reclaim a physical disk
I'm running Proxmox 8.2.2. Recently my lvg became corrupt ("volume group pve has insufficient free space!")
First, I tried to repair the vg:
$ sudo lvconvert --repair pve/data
Volume group &...
1
vote
0
answers
22
views
LVM thinpools: is fragmentation a concern?
I'm currently migrating a ~10TB dataset from a plain LVM volume group to a new one, trying to store the data in a thin pool instead.
For regular LVM volumes, I could see the physical allocation of the ...
1
vote
3
answers
45
views
Remove lvm volumes after fresh Debian install
I've done a fresh Debian install on a system that had a second disk that was previously used for Proxmox and had some lvm volumes on it.
If I do a lsblk I get:
NAME MAJ:MIN RM ...
0
votes
0
answers
39
views
MD Raid / LVM / BTRFS advice for homemade NAS
Context:
I'm looking to build a homemade NAS to get more flexibility (especially on the capability to add more drive) than commercial solution.
My system will start with 3 SATA SSD drive or NVME (sda, ...
7
votes
4
answers
637
views
Simulate slow disks in KVM to see effect of LVM cache in test setup
I'm setting up a Linux system in KVM (QEMU) to test the effect of adding a writeback LVM cache on a fast disk in front of a logical volume that resides on a set of very slow disks (a RAID1 LV). This ...
0
votes
1
answer
61
views
Linux LVM disk partitioning scheme for a server?
I would like to know the disk layout / partitioning setup on a linux server.
From what I know, you need to have a physical EFI partition if it's a UEFI system (arch wiki).
Also you need (recommended) ...
0
votes
2
answers
32
views
how to manipulate LVM partition size
when installing Linux from iso (Redhat-8 for example) you have the option of doing the LVM partition scheme instead of the standard hard partitions. When LVM partitions are made as described below, ...
0
votes
0
answers
100
views
dracut with btrfs (raid1) on lvm on luks
I’m using Ubuntu with dracut for initramfs with BTFRS on LVM on LUKS:
$ lsblk -o name,type,mountpoint,fstype
NAME TYPE MOUNTPOINT FSTYPE
sda disk ...
-1
votes
1
answer
59
views
lvm details of dm-integrity
I've added integrity checksum to my root LVM volume using lvconvert command:
~# lvconvert --raidintegrity y --raidintegritymode bitmap ...
Is there a CLI syntax to get info/details related to dm-...
0
votes
1
answer
53
views
How to restore the disks in emergency mode without losing data
The server enters emergency mode after a reboot. There are two disks on the machine, a ssd /dev/sda1 and a hdd /dev/sdb1. Originally the ssd was mounted to / and the hdd was mounted to /home.
Now the ...
0
votes
0
answers
37
views
is it possible to boot into luks encrypted raw disk image with qemu/libvirt/virtualbox?
Done dd of my luks encryted drive, now im courious if its possible to create libvirt/quemu guest and attach that luks encrypted raw image and run it as is? Actually I have Fedora 38 on it with several ...
0
votes
0
answers
43
views
Recover data from a raid 1 disk
i would like to recover some data from a disk which was part of a MD RAID 1 Array in an old fileserver.
Drive 1 had a HW issue and it seems that drive 2 stuck in a Rebuilding State.
My idea was to get ...
0
votes
0
answers
42
views
LUKS-LVM-LUKS - double encryption
I have FDE (LUKS-LVM), but my home directories aren't encrypted for each users.
I have now:
sda
├─sda1 /boot
└─sda2
└─crypto0 (luks)
└─vg0-root (/)
└─vg0-swap ([SWAP])
└─vg0-home (/home, ...
0
votes
3
answers
101
views
How to extend LVM RAID5
This is the first time I'm posting here; usually, I always find someone who has had the same problem as me. But I'm facing an issue with my RAID5 setup using LVM and could really use some help.
...
5
votes
2
answers
867
views
How do I use LUKS encrypted partitions with Kubuntu 24.04 installation?
I am trying to install Kubuntu 24.04 with manual partitioning. I have created primary partitions for EFI and boot, and an encrypted partition with logical volumes for swap, root, and home.
Previously,...