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

    SR usage on multiple pools

    Scheduled Pinned Locked Moved Solved Management
    12 Posts 3 Posters 330 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.
    • olivierlambertO Online
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      A SR cannot be attached to multiple pools at once.

      Tristis OrisT 1 Reply Last reply Reply Quote 0
      • Tristis OrisT Offline
        Tristis Oris Top contributor @olivierlambert
        last edited by

        @olivierlambert but it attached) bug here?

        ed571e90-2751-4795-bf12-f190f9ef4b3b-image.png

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

          If you plug a block device on another pool it will lead to corruption because one pool cannot know where the other pool is having host writing to which VM disk.

          Tristis OrisT 2 Replies Last reply Reply Quote 0
          • Tristis OrisT Offline
            Tristis Oris Top contributor @olivierlambert
            last edited by

            @olivierlambert need to block plug operations then.

            1 Reply Last reply Reply Quote 0
            • Tristis OrisT Offline
              Tristis Oris Top contributor
              last edited by

              yep. VM i migrated from old SR now won't start. Looks VDI's was totaly corrupted at moment of connection.

              1 Reply Last reply Reply Quote 0
              • Tristis OrisT Offline
                Tristis Oris Top contributor @olivierlambert
                last edited by

                @olivierlambert nvm restored it by somehow.

                Double mount not a problem for NFS storage?

                DanpD 1 Reply Last reply Reply Quote 0
                • DanpD Online
                  Danp Pro Support Team @Tristis Oris
                  last edited by

                  @Tristis-Oris said in SR usage on multiple pools:

                  Double mount not a problem for NFS storage?

                  You can create an NFS SR on each pool using the same destination device / path. It will create a unique subdirectory for each pool, so no issues with corruption because each pool has its own unique SR.

                  Tristis OrisT 1 Reply Last reply Reply Quote 0
                  • Tristis OrisT Offline
                    Tristis Oris Top contributor @Danp
                    last edited by

                    @Danp so i need to migrate VDIs anyway? inside same SR but to another dirrectory.

                    DanpD 1 Reply Last reply Reply Quote 0
                    • DanpD Online
                      Danp Pro Support Team @Tristis Oris
                      last edited by

                      @Tristis-Oris Yes, but it isn't the same SR. It is multiple SRs, each in their own subdirectory.

                      Tristis OrisT 1 Reply Last reply Reply Quote 0
                      • Tristis OrisT Offline
                        Tristis Oris Top contributor @Danp
                        last edited by

                        @Danp yes got it. i'm about physical layer. thanks.

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

                          Yes, it's a "definition" question/problem: a SR is the exact place where you store your virtual disk images. On NFS, it's a folder named after the UUID of the SR. As Dan said, if you connect to the same NFS folder, it will create a new folder for each new SR inside. So even if it's the same physical device/NFS share, there's many SRs on it.

                          For a block based SR, it's different: if you pass a LUN (in ISCSI for example), it will attach it and warn you: either you want to re-attach the previously existing SR (UUID etc) either you erase it completely to start from scratch. There's no "folders" on a block space like a LUN, so it's different.

                          1 Reply Last reply Reply Quote 1
                          • Tristis OrisT Tristis Oris marked this topic as a question on
                          • Tristis OrisT Tristis Oris has marked this topic as solved on
                          • First post
                            Last post