[SOLVED] Removed datastore still shows up in webUI and causes problem on VM migrations

Swappage

New Member
Apr 29, 2023
7
0
1
Hello :)

I think I might have done something wrong in the process of removing an LVM thin datastore that effectively doesn't exist anymore on one of my proxmox nodes but that for some odd reasons still shows up in the web-UI. (see screenshot)

1686149480573.png


Despite the fact that it doesn't exist anymore, it wouldn't be a big deal if it staid there for nothing, but for some odd reasons it's preventing me from migrating VMs from this node to other nodes (outgoing), while i can still migrate VMs from other nodes to this specific one.

When i try to migrate a VM this is what i receive in the logs

1686149845884.png

I think somewhere proxmox is still considering this datastore as available, maybe i've left some dirtyness in some configurations.

Can anyone help me out in fixing this issue and completely remove this dead datastore?


thank you very much
 
Last edited:
It's probably still defined and enabled in Datacenter Storage, in which case Proxmox is right to complain that it is missing. What is the output of pvesm status?
 
Code:
# pvesm status
  Command failed with status code 5.
command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
no such logical volume data2/data2
Name             Type     Status           Total            Used       Available        %
data2         lvmthin   inactive               0               0               0    0.00%
local             dir     active        98497780        29413932        64034300   29.86%
local-lvm     lvmthin     active      2325078016       584757121      1740320894   25.15%

indeed proxmox still thinks it's there.

how can i remove it?


thank you for your kind reply

EDIT: solved.. maaan it was as easy as removing it from the datacenter storage definitons :D

I feel so dumb now.

thank you very much.

marking as solved.
 
Last edited:
Code:
# pvesm status
  Command failed with status code 5.
command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5
no such logical volume data2/data2
Name             Type     Status           Total            Used       Available        %
data2         lvmthin   inactive               0               0               0    0.00%
local             dir     active        98497780        29413932        64034300   29.86%
local-lvm     lvmthin     active      2325078016       584757121      1740320894   25.15%

indeed proxmox still thinks it's there.

how can i remove it?
It's probably still defined and enabled in Datacenter Storage, in which case Proxmox is right to complain that it is missing.
In the Proxmox web GUI, go to Datacenter and then go to Storage and remove data2. This is the same place as where you added it, I assume.
 
In the Proxmox web GUI, go to Datacenter and then go to Storage and remove data2. This is the same place as where you added it, I assume.

To be honest i added it directly from the node.

your directives solved my problem.



thank you very much.
 

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!