[SOLVED] Deleting /mnt/pve/CIFS dir?

chudak

Well-Known Member
May 11, 2019
322
16
58
Hello all

I had to replace my CIFS shared drive and tried adding it back with a slightly different name (VMs_backup (new name) VMs_backups (old name)).
As a result, I see on PVE UI one drive:

1638373021274.png

which is referenced as:

1638373074168.png

but on fs I see:

root@pve:/mnt/pve# ls
NFS VMs_backup VMs_backups

How can I safely remove "VMs_backup"?

Thx
 
Last edited:
hi,

you can first check if the directory is empty: find /mnt/pve/VMs_backup

if the directory is empty then just rmdir /mnt/pve/VMs_backup should do it, otherwise you'll need to unmount it, delete the directory, and make sure it's removed from all configuration files like /etc/pve/storage.cfg and /etc/fstab.

hope this helps!
 
  • Like
Reactions: chudak
hi,

you can first check if the directory is empty: find /mnt/pve/VMs_backup

if the directory is empty then just rmdir /mnt/pve/VMs_backup should do it, otherwise you'll need to unmount it, delete the directory, and make sure it's removed from all configuration files like /etc/pve/storage.cfg and /etc/fstab.

hope this helps!

Thx it worked!
 
great! please mark the thread [SOLVED] :)
 

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!