[SOLVED] LVM-Thin pool is inactive after system reboot

Froto

Active Member
Sep 27, 2018
4
1
43
29
Hi,

So I'm trying to create a new LVM-thin pool to use with a new SSD I've installed.

I've created the pool with:
Code:
lvcreate -L 440G -n vmstuff SEi
lvconvert --type thin-pool SEi/vmstuff

after a restart, Proxmox cannot start my containers because it cannot find the VM disks.

Code:
lvscan
  inactive          '/dev/SEi/vmstuff' [440.00 GiB] inherit
  ACTIVE            '/dev/pve/swap' [8.00 GiB] inherit
  ACTIVE            '/dev/pve/root' [29.50 GiB] inherit
  ACTIVE            '/dev/pve/data' [64.74 GiB] inherit

What is causing this to happen? I don't have this issue if I create a normal LVM.

Code:
 LV      VG  Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  vmstuff SEi twi---tz-- 440.00g
  data    pve twi-a-tz--  64.74g             0.00   0.03
  root    pve -wi-ao----  29.50g
  swap    pve -wi-ao----   8.00g

Code:
 VG  #PV #LV #SN Attr   VSize   VFree
  SEi   1   1   0 wz--n- 465.75g 25.50g
  pve   1   3   0 wz--n- 118.99g 14.75g

Code:
PV         VG  Fmt  Attr PSize   PFree
  /dev/sda3  pve lvm2 a--  118.99g 14.75g
  /dev/sdb1  SEi lvm2 a--  465.75g 25.50g

Any help would be greatly appreciated

Thanks,
Michael L.
 
You could check your kernel boot line? (in grub)
Also, you could check thin-provisioning-tools is installed?
I always create the thin pool with the -T switch to lvcreate, what is the advantage of the two stage create?
 
Last edited:
  • Like
Reactions: Froto
thanks for reminding me

Code:
nano /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Proxmox Virtual Environment"
GRUB_CMDLINE_LINUX_DEFAULT=""
GRUB_CMDLINE_LINUX=" rootdelay=8 "

Adding root delay 8 seems to fix the issue.

Thank you
 
  • Like
Reactions: kprox1

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!