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

    First New Local Storage - "No VDIs in this storage"

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    6 Posts 2 Posters 1.1k 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
      mOrloff
      last edited by

      Tried to create my first local storage ... just a local ISO repository.
      The SR creation was successful and error-free.
      But the Disks tab only says, "No VDIs in this storage", and searching for that message in this forum yielded only one result. That result was for a different use-case.

      I am following a youtube tutorial. Here's the point in the video where the relevant instruction begins.

      I downloaded two ISO's onto the XCP-ng host into /root/Local_ISO.
      Then, in XOA, I selected New>Storage and provided all appropriate details.
      Storage Type: ISO SR > Local
      Path: /root/Local_ISO

      The SR was created, and I expected to see my two ISO's under the Disks tab. But instead it just shows the message, "No VDIs in this storage".

      The General tab does show almost 12GB used, though, so it seems that the storage is being read and recognized.
      Screenshot at 2023-02-15 12-59-56.png

      What do I need to do differenetly to make those ISO's visible and accessible?

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

        @olivierlambert
        I think I just solved it.

        I executed wget https://archive.org/download/tiny-iso-test/TinyIsoTest.iso from /Local_ISO, and that ISO showed up just fine.

        I had loaded my earlier ISO's into "brand" subdirectories.
        For example, /Local_ISO/Microsoft/WindowsServer2022.iso"

        It appears that such sorting is not supported.
        I moved both ISO's up one directory and both are now visible.
        For example, /Local_ISO/WindowsServer2022.iso" works just fine.

        Thanks-a-bunch for the help.

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

          Just click on "scan" to rescan the SR. Also, double check the file is correctly named with *.iso otherwise it won't be visible.

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

            @olivierlambert
            I did previously try to "rescan".
            My ISO's were *.ISO.
            Just to exactly match your recommendation, I renamed them both to .iso extensions (lower-case).
            Then rescanned again.

            Still nothing listed in Disks. Just that "No VDIs in this storage" message.

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

              Can you do a ls -latrh /root/Local_ISO and also a xe sr-param-list uuid=<SR UUID>, and paste the result here?

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

                @olivierlambert
                I think I just solved it.

                I executed wget https://archive.org/download/tiny-iso-test/TinyIsoTest.iso from /Local_ISO, and that ISO showed up just fine.

                I had loaded my earlier ISO's into "brand" subdirectories.
                For example, /Local_ISO/Microsoft/WindowsServer2022.iso"

                It appears that such sorting is not supported.
                I moved both ISO's up one directory and both are now visible.
                For example, /Local_ISO/WindowsServer2022.iso" works just fine.

                Thanks-a-bunch for the help.

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

                  Yes, you need to get them flat in the folder, it doesn't crawl subfolders.

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO olivierlambert marked this topic as a question on
                  • olivierlambertO olivierlambert has marked this topic as solved on
                  • First post
                    Last post