XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XCP-ng Tools Storage contains VDIs I’m unable to Destroy

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    9 Posts 3 Posters 424 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      manoli
      last edited by manoli

      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)

      alt text

      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.txt

      Storage 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.

      1 Reply Last reply Reply Quote 0
      • gduperreyG Offline
        gduperrey Vates 🪐 XCP-ng Team @gduperrey
        last edited by

        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

        M 2 Replies Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          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.

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            manoli @olivierlambert
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Ping @gduperrey

              gduperreyG 1 Reply Last reply Reply Quote 0
              • gduperreyG Offline
                gduperrey Vates 🪐 XCP-ng Team @olivierlambert
                last edited by

                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?

                gduperreyG M 2 Replies Last reply Reply Quote 0
                • gduperreyG Offline
                  gduperrey Vates 🪐 XCP-ng Team @gduperrey
                  last edited by

                  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

                  M 2 Replies Last reply Reply Quote 0
                  • M Offline
                    manoli @gduperrey
                    last edited by manoli

                    @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. 😄

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      manoli @gduperrey
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        manoli @gduperrey
                        last edited by

                        @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!

                        1 Reply Last reply Reply Quote 0
                        • M manoli has marked this topic as solved on
                        • M manoli has marked this topic as solved on
                        • First post
                          Last post