Questions tagged [lvm]

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.

1504 questions
0
votes
0 answers

Disk throughput: Understanding DM writespeed vs SDA

I am trying to troubleshoot some performance issues. When i look at my nodeexporter graph, I see numbers i dont understand: Disk throughput As I understand, DM-1 is my logical volume, sda is my disk(array). The write speeds of sda seems within…
Anda42
  • 1
0
votes
0 answers

Disable sync writes on lvm cache

I have nvme devices spread across a couple nodes and connected in a raid1 over the network. I'm using the raid set as a cache device using lvm. I consider the cache device very reliable. Is it possible to disable sync writes at the cache level, so…
Fallen
  • 1
0
votes
0 answers

LVM: one volume group that has HD and SSD disks - can I access SSD based logical volume when HD dies?

Let's assume I have two physical disks: /dev/sda1 - hard disk /dev/sdb1 - SSD disk I create volume group: sudo vgcreate hd_and_sd_vg /dev/sda1 /dev/sdb1 Now I create logical volumes: lvcreate -L 10G -n my_test_volume_on_hd VolumeGroupName…
laimison
  • 579
  • 2
  • 9
  • 17
0
votes
1 answer

LVM "not starting" after upgrading physical disks in underlying RAID6 mdadm array

Before: separate SSD boot drive RAID6 4 x 2TB -> /dev/md0 LVM PV /dev/md0 LVM VG built on the PV above LVM 2 data partitions formed in the VG mounted at /home and /mnt/data I upgraded from ubuntu 20.04 to 22.04 (everything was still working…
0
votes
0 answers

LVM temporary renaming root volume group

I have a somewhat disfunctional disk (call it disk B) with lvm which I wanted to inspect on another machine (both machines are virtual machines on Azure). I attached disk B to another machine which also has a similar disk (disk A). Both disks have a…
itwasntpete
  • 101
  • 2
0
votes
0 answers

Extend the root partition

We need to extend the root (nvme0n1p1) partition that is adjacent to the 2nd SWAP (nvme0n1p2) partition that is adjacent to the third (nvme0n1p3) LVM2 partition that has 2 volume groups in ext4 format inside the LVM2. One of the volume groups is…
0
votes
0 answers

I accidentally created a GPT label on a sdb that already was in a VG : WARNING: Couldn't find device with uuid CdlY5k-IynC-hYTX-hH3h-HaLC-KAqy-n4h38q

I accidentally created on GPT label on /dev/sdb on a production server which belonged to the ubuntu-vg. Before the change : $ df -h / Filesystem Size Used Avail Use% Mounted on /dev/mapper/ubuntu--vg-ubuntu--lv 88G 74G …
SebMa
  • 359
  • 1
  • 10
0
votes
0 answers

Booting from different LVM snapshots

I am setting up a system for testing software installations automatically. For that, I created an LVM snapshot of a fresh Debian installation. In this snapshot, I want to automatically install, configure and test the software installation, then…
0
votes
1 answer

lvresize didn't expand lvm partition

I have a Virtual Machine into Hyper-V, I just expand the VHD and the free space are showing into lsblk command, but i cant expand the lv, it's always showing has no free space. My Configuration and Tests: lsblk NAME …
0
votes
1 answer

Proxmox/Ubuntu LVM issue - Exec format error

I've ran apt update / upgrade on my proxmox server and now I can't seem to boot it into the new kernel (didn't pay too much attention on the update). Any ideas? I can't seem to figure out what's the issue with the LVM executable. Any help would be…
0
votes
1 answer

How to resize Partitions on Proxmox?

Hey im Hosting Proxmox on a Small Hosting Provider and after i added more Space to my "sda" Proxmox refused to start and i wasnt able to go on the WebInterface. I still was able to go into NoVNC to look at the Screen of the VM And when i wanted to…
0
votes
0 answers

Damaged volume group on Ubuntu

Ran into a problem with FDISK/LVM: needed to add an additional new disk to Ubuntu Server 20. This has a storage setup using LVM/VG using the default setup configuration. Used fdisk /dev/mapper/ubuntu--vg-ubuntu--lv, to try adding a new partition…
0
votes
1 answer

Ignore the warning less of swap partition while preseed loading

I have the automatisation debian preseed script. Here is partition rules with sharps for swap in my preseed file: !d-i partman-auto/expert_recipe string \ boot-crypto :: \ …
Budro
  • 1
0
votes
1 answer

Which commands should be run to create this partition, volume group, and LVMs?

I have been tasked with configuring newly attached disks with a specific configuration. I am given a 500G physical disk at /dev/abc. The disk is not formatted and has no paritions. The following is an example of the desired configuration, with…
MikeyE
  • 127
  • 1
  • 10
0
votes
0 answers

LVM: How to remove the extra segment created when converting RAID1 to RAID5?

I had two 1T HDD and a 500GB RAID1 LVM LV across them. Then I added another 2T HDD, and converted the LV to RAID5 using pvcreate /dev/sdd vgextend ubuntu-vg /dev/sdd lvconvert --type raid5 --stripes 2 ubuntu-vg/ubuntu-lv But now, when I list all…
yume_chan
  • 101
  • 2