TASK ERROR: command 'systemctl stop mnt-pve-storage2.mount' failed: exit code 1

Mroby

New Member
Feb 20, 2024
2
0
1
Hello,
I am approaching Proxmox for the first time. I have set up a test server, installed Proxmox, and created 4 VMs. I partitioned my RAID with 50 GB for the OS, Storage1 in LVM, and Storage2 by creating a directory in XFS for testing. I connected a second node. I would like to remove Storage2, so I went to the Datacenter instance and deleted Storage2. Then, I went to the local PVE server and tried to delete the directory, but I encountered the following error:

Job failed. See "journalctl -xe" for details.
TASK ERROR: command 'systemctl stop mnt-pve-storage2.mount' failed: exit code 1

... all, of course, from the webgui :)
 
Hi,
it might be that the directory was still in use and could not be unmounted because of that. The error message tells you where to look next: See "journalctl -xe" for details. You can use e.g. lsof /mnt/pve/storage2 to see which processes are still accessing it.
 
"Thank you very much for the response. I performed a reboot of the PVE, and it removed the directory for me."
 

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!