cannot delete subvol of lxc

macgro1

Member
Feb 27, 2021
8
3
8
51
hi guys,
i have moved a vol of a lxc (working good) to larger disk.
i still have subvol-10*-disc-0 (the good target) but also subvol-10*-disc-1 which is taking too much space.
on ZFS when i enter to subvol-10*-disc-0 all is good but the subvol-10*-disc-1 is empty.
I can't remove the subvol-10*-disc-1
after the reboot, still there.
where shall i look for the mounts from old process?
etc/pve/lxc/10*.conf shows:
rootfs: bkpool:subvol-10*-disk-0,size=38 ]
thanks, cheers.
 
zfs list bkpool/subvol-10*-disk-1
NAME USED AVAIL REFER MOUNTPOINT
bkpool/subvol-10*-disk-1 96K 846G 96K /bkpool/subvol-10*-disk-1

while
zfs list bkpool/subvol-10*-disk-0
NAME USED AVAIL REFER MOUNTPOINT
bkpool/subvol-10*-disk-0 3.33T 442G 3.33T /bkpool/subvol-10*-disk-0

i have mounted the bkpool/subvol-104-disc-1
df doesn't show this volume.

pvesm remove bkpool:subvol-104-disk-1
400 Parameter verification failed.
storage: invalid format - storage ID 'bkpool:subvol-104-disk-1' contains illegal characters
whats next?
 
maybe it's lesson for more people:
- umount the faulty one.
- pvesm remove bkpool subvol-104-disk-1 (faulty)
- zfs destroy bkpool/subvol-104-disk-1 (faulty)
 

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!