0

I have a Debian VM running under xcp-ng. It has a single LVM volume that spans a single (VM) disk attached to the VM. I need to add some space to this LVM volume, so:

  • Shut down the VM
  • In Xen Orchestra changed VM disk size to its new size
  • Booted the VM
  • Checked lsblk output for the VM disk ... and it shows the original size ... ?!

This has gotta be something obvious. What am I missing?

Angstrom
  • 101

2 Answers2

0

lsblk shows partitions and the freshly added space is just space, not a partition. Once it's used to create one, then lsblk will show it.

Angstrom
  • 101
0

As per comments you did not extend the partition where VG is created. The procedure to extend is sample.

  1. use cfdisk to extend the partition where is located VG
  2. use command pvresize /dev/sda3 (replace sda3 with your partition!!!)
  3. then check the size of VG: vgs
  4. then extend the LV(s): lvextend -r -L +10GB /dev/mapper/rh-root (replace the desired size and path to VG device)
Romeo Ninov
  • 6,677