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."