Cannot delete old Backup SSD configured as Directory

paxmobile

Member
Mar 3, 2023
42
1
8
Italia
bitnirvana.it
From the Proxmox GUI there is appearently no way to delete an old backup USB SSD connected disk that was configured as a Directory (USBSSD240), now I've configured the same SSD as USBSSD240GB and it works fine as Backup.
Everitime I try to delete the old Directory I got the error popup "not a valid block device".
Seems to me I should only remove the missing Directory from a configuration file but what file is it ?
Please masters of th PM universe put me on the right path.

Screenshot (3).png
 
Hey,

when clicking on one in the top-right corner under "More" you can select destroy. That should remove the mount unit and cleanup the disk and any configurations referencing it.
 
Hey,
when clicking on one in the top-right corner under "More" you can select destroy. That should remove the mount unit and cleanup the disk and any configurations referencing it.
Yes that's exactly when I get the popup error "not a valid block device". I also tried to edit /etc/pve/storrage.conf but the file has no content.

Screenshot (4).png
 
Nothing referenced here but non existing entry remains in Datacenter > paxserver > Directory

root@paxserver:~# cat /etc/pve/storage.cfg
lvmthin: local-lvm
thinpool data
vgname pve
content images,rootdir

dir: SSD480
path /mnt/SSD480
content rootdir,iso,backup,vztmpl,snippets,images
prune-backups keep-all=1
shared 1

cifs: PROXMOXNAS
path /mnt/pve/PROXMOXNAS
server 10.10.10.30
share PROXMOX-NAS
content images,snippets,vztmpl,backup,iso,rootdir
prune-backups keep-all=1
username paxmobile

dir: HDDTERA
path /mnt/pve/HDDTERA
content snippets,vztmpl,images,rootdir,iso,backup
is_mountpoint 1
nodes paxserver

dir: local
path /var/lib/vz
content vztmpl,snippets,images,iso,rootdir,backup
prune-backups keep-all=1

dir: USBSSD240GB
path /mnt/pve/USBSSD240GB
content images,snippets,vztmpl,backup,rootdir,iso
is_mountpoint 1
nodes paxserver
 

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!