Discussion:
[PVE-User] delete orphande disk
Gregor Burck
2018-06-14 06:42:27 UTC
Permalink
Hi,

I've a disk on one node. But over the webgui I can't delete it.


How could I delete it directly on the shell?

It doesn't belong to a local VM.

Bye

Gregor
Thomas Lamprecht
2018-06-14 06:57:57 UTC
Permalink
Post by Gregor Burck
Hi,
I've a disk on one node. But over the webgui I can't delete it.
How could I delete it directly on the shell?
It doesn't belong to a local VM.
You can do

pvesm list STORAGE
to get the disks volumeid and then delete it with
pvesm free VOLUME

# pvesm list local
local:100/vm-100-disk-1.qcow2 qcow2 76235669504 100
local:100/vm-100-disk-11.raw raw 1024 100
...

# pvesm free local:100/vm-100-disk-11.raw

cheers,
Thomas

Loading...