pct fstrim - can't umount lvm disk

achirkov

Member
Nov 26, 2020
23
1
8
30
Hi!
Today i run command pct fstrim 100 on disable lxc container and my ssh connection was disconnected.
After reconnect i try fstrim and get error:
Code:
mount: /var/lib/lxc/100/rootfs: /dev/mapper/vg0-vm--100--disk--0 already mounted on /var/lib/lxc/100/rootfs.
Ok, trying umount:
Code:
# umount -f /var/lib/lxc/100/rootfs/
umount: /var/lib/lxc/100/rootfs: target is busy.
How i can umount disk without restart proxmox host?
 

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!