XCP-ng Tools Storage contains VDIs I’m unable to Destroy
-
Hello guys,
on my XCP-ng Storage I have apart of ‘guest-tools.iso’ (that is normal)
also couple of ‘Old version of guest-tools.iso’ (viz. screenshot)If try to destroy these extra “old versions” it fails with an error:
SR_OPERATION_NOT_SUPPORTED(OpaqueRef:51da4fff-c220-478f-843a-0e80ea9514d0)
Log related to this operation attached here:
2024-10-15T08_01_06.363Z - XO.txtStorage seems to be connected to local path
/opt/xensource/packages/iso
But
ls
shows only one file with latest guest tools iso:[20:23 xcp-ng ~]# ls -lha /opt/xensource/packages/iso/ total 17M drwxr-xr-x 2 root root 4.0K Oct 10 22:36 . drwxr-xr-x 4 root root 4.0K Oct 10 22:36 .. -rw-r--r-- 1 root root 17M Sep 20 15:06 guest-tools-8.3-12.xcpng8.3.iso
The other files that are shown on the picture above, surprisingly, are not there.
Any idea how to get a rid of these? Can anyone give an advice?
Thank you and have nice day everyone.
-
It seems that it is possible to clean old isos manually, via the command line, as explained in this forum post: https://xcp-ng.org/forum/post/15703
-
Because remove an ISO on a ISO SR is not supported. Rescan the SR ("refresh" icon in the action bar on top right) and see if they are still displayed.
-
@olivierlambert Thanx for quick reply, and...
yes, that's what I've tried, couple times already.
I even tried to disconnect the XCP-ng Tools storage from the host and reconnect again... unfortunately these mysterious files are still displayed, but seems they are not actually present on filesystem.
-
Ping @gduperrey
-
To my knowledge these files are backups when installing new versions of the tools during rpm updates. They do not necessarily take up space or this is managed directly during updates.
Nothing to clean here.
I have the same thing on my test servers (and sometimes even more files than that) and I have never taken care of it.
Do you have a space problem on this SR to want to delete them?
-
It seems that it is possible to clean old isos manually, via the command line, as explained in this forum post: https://xcp-ng.org/forum/post/15703
-
@gduperrey Hi and thanks for reply.
No I don't have really a space problem, and I understand that they do not take any place (if it seems like they are pointers to nowhere), because I cant find them on the disk and probably thats why I'm also getting an error when trying to delete them, because I'm probably trying to delete something that doesn't reference any real file.
It just only bothers my OSD... I don't like to see something on my system which doesn't make sense to be there.
-
This post is deleted! -
@gduperrey said in XCP-ng Tools Storage contains VDIs I’m unable to Destroy:
It seems that it is possible to clean old isos manually, via the command line, as explained in this forum post: https://xcp-ng.org/forum/post/15703
Wau!!! That actually works like charm!
Thank you sooooo much!
-
-