[PVE-User] How to be sure if I can safely delete pve/data thin pool LV

Christoph Weber Christoph.Weber at xpecto.com
Mon Jul 11 09:04:54 CEST 2022


Hi everybody,

I'm need to make the pve/root LV larger on one node, because Ceph complains during backups that there is low disk space on the disk.

I'm pretty sure that I don't use the lvthin pool or that the pve/data LV is in use, but would like a second opinion, before I destroy it


# parted /dev/sda
Number  Start   End     Size    File system  Name  Flags
 1      1049kB  2097kB  1049kB                     bios_grub
 2      2097kB  271MB   268MB   fat32              boot, esp
 3      271MB   120GB   120GB                      lvm


# pvs
  PV         VG                                        Fmt  Attr PSize    PFree
  /dev/sda3  pve                                       lvm2 a--  <111.54g <13.88g

#vgs
  VG                                        #PV #LV #SN Attr   VSize    VFree
  pve                                         1   3   0 wz--n- <111.54g <13.88g

#lvs
  data                                           pve                                       twi-a-tz-- 59.91g             0.00   1.59
  root                                           pve                                       -wi-ao---- 27.75g
  swap                                           pve                                       -wi-ao----  8.00g


/dev/pve
lrwxrwxrwx  1 root root    7 Jul  7 13:26 data -> ../dm-6
lrwxrwxrwx  1 root root    7 Jul  8 11:35 root -> ../dm-2
lrwxrwxrwx  1 root root    7 Jul  7 13:26 swap -> ../dm-1


/etc/pve/storage.cfg ( stripped some custom entries made by me)

rbd: cephstor_vm
        content images,rootdir
        krbd 0
        pool cephstor

dir: local
        path /var/lib/vz
        content rootdir,iso,vztmpl,images
        prune-backups keep-all=1
        shared 0

cephfs: cephfs
        path /mnt/pve/cephfs
        content iso,backup,vztmpl


# mount |grep -i /var/lib/vz
<empty>

# swapon
NAME      TYPE      SIZE USED PRIO
/dev/dm-1 partition   8G 3.3M   -2


Did I miss something, or is it really safe to destroy pve/data safely? 

Thanks for your help :-)

  Christoph





More information about the pve-user mailing list