How to do unmount a disk with a directory?

18577274336

New Member
Jan 16, 2020
4
0
1
34
I would like to know what I should do if I need to unmount a disk with a directory.This is often required when copying data on a hard disk, but Proxmox VE's directory management feature doesn't provide me with a delete feature.How do I operate it?

我想了解下,假如我需要卸载一块挂载了目录的硬盘,应该怎么操作?这在使用硬盘进行数据拷贝时,经常会需要使用,但是Proxmox VE的目录管理功能上并没有向我提供删除功能。请问该如何操作呢?


1584182304828.png
 
Still appears after execution:

root@PVE-1:~# umount /mnt/pve/Backup
umount: /mnt/pve/Backup: not mounted.
root@PVE-1:/mnt/pve# ls
Backup CephFS
root@PVE-1:/mnt/pve#
root@PVE-1:/mnt/pve#
 
I've had a similar problem, but while trying to unmount I got:

Bash:
~# umount /mnt/pve/test
umount: /mnt/pve/test: target is busy.

To solve this one I just added -l, like so:

Bash:
# umount -l /mnt/pve/test
# umount /mnt/pve/test
umount: /mnt/pve/test: not mounted.
 

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!