ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Adding new Local Storage to XenServer.

    IT Discussion
    5
    20
    3.0k
    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.
    • dafyreD
      dafyre @Ajin
      last edited by

      @Ajin said in Adding new Local Storage to XenServer.:

      IT an External drive , which i have added to Xenserver with the following command .

      xe sr-create name-label="Local Storege 2 LACIE HDD" shared=false device-config:device=/dev/sdc type=lvm

      Does your VM actually run from that LaCie drive, or does it run from internal drives on your server?

      1 Reply Last reply Reply Quote 0
      • AjinA
        Ajin
        last edited by

        The VM is running from internal drive in my server.

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @Ajin
          last edited by

          @Ajin Welcome back

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @DustinB3403
            last edited by

            @DustinB3403 said in Adding new Local Storage to XenServer.:

            The Lacie drive is not at all local to the server. It's attached storage and therefore not available to be used as "snapshot" storage. If you wanted to use the Lacie as a place to store your actual backups (snapshots are not backups) you could do that.

            But using the snapshot functionality, you need space on the disk that is housing the VM.

            It is as local to the server as anything else is. It's a DAS unit and therefore identical to the server as if it were inside the chassis.

            DustinB3403D 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @DustinB3403
              last edited by

              @DustinB3403 said in Adding new Local Storage to XenServer.:

              @Ajin said in Adding new Local Storage to XenServer.:

              Thanks for the reply Dustin.

              My actual need is to take a snapshot of the Development server before making any vital changes in the server , so that i can revert safely if any thing goes wrong , as reverting snapshot will take very little time and easy to perform.

              A snapshot can only work if it's on the same drive in which the VM resides. This LACIE drive is external, the only choice you have with this is to create a full backup to this drive and hope for the best. (that whatever changes you have works and that you don't need to revert)

              This is the important part. Not that the Lacie is internal or not, but that it needs to be the same block device as the server for snapshots to be able to snap initially.

              1 Reply Last reply Reply Quote 1
              • DustinB3403D
                DustinB3403 @scottalanmiller
                last edited by

                @scottalanmiller said in Adding new Local Storage to XenServer.:

                @DustinB3403 said in Adding new Local Storage to XenServer.:

                The Lacie drive is not at all local to the server. It's attached storage and therefore not available to be used as "snapshot" storage. If you wanted to use the Lacie as a place to store your actual backups (snapshots are not backups) you could do that.

                But using the snapshot functionality, you need space on the disk that is housing the VM.

                It is as local to the server as anything else is. It's a DAS unit and therefore identical to the server as if it were inside the chassis.

                I'll disagree to this with regards that it's not the same block device. Therefor it's "external" as far as the system cares to use it for this case.

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @DustinB3403
                  last edited by

                  @DustinB3403 said in Adding new Local Storage to XenServer.:

                  @scottalanmiller said in Adding new Local Storage to XenServer.:

                  @DustinB3403 said in Adding new Local Storage to XenServer.:

                  The Lacie drive is not at all local to the server. It's attached storage and therefore not available to be used as "snapshot" storage. If you wanted to use the Lacie as a place to store your actual backups (snapshots are not backups) you could do that.

                  But using the snapshot functionality, you need space on the disk that is housing the VM.

                  It is as local to the server as anything else is. It's a DAS unit and therefore identical to the server as if it were inside the chassis.

                  I'll disagree to this with regards that it's not the same block device. Therefor it's "external" as far as the system cares to use it for this case.

                  That cannot be correct simply because you can have thousands of totally different block devices all equally local and internal to the chassis. One is not more internal or local than the other. I have two totally independent block devices on the latest VM that I built. They are totally unrelated to each other, but both are equally local.

                  Two different block devices can even come from the same physical drive!

                  DustinB3403D 1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403 @scottalanmiller
                    last edited by DustinB3403

                    @scottalanmiller said in Adding new Local Storage to XenServer.:

                    @DustinB3403 said in Adding new Local Storage to XenServer.:

                    @scottalanmiller said in Adding new Local Storage to XenServer.:

                    @DustinB3403 said in Adding new Local Storage to XenServer.:

                    The Lacie drive is not at all local to the server. It's attached storage and therefore not available to be used as "snapshot" storage. If you wanted to use the Lacie as a place to store your actual backups (snapshots are not backups) you could do that.

                    But using the snapshot functionality, you need space on the disk that is housing the VM.

                    It is as local to the server as anything else is. It's a DAS unit and therefore identical to the server as if it were inside the chassis.

                    I'll disagree to this with regards that it's not the same block device. Therefor it's "external" as far as the system cares to use it for this case.

                    That cannot be correct simply because you can have thousands of totally different block devices all equally local and internal to the chassis. One is not more internal or local than the other. I have two totally independent block devices on the latest VM that I built. They are totally unrelated to each other, but both are equally local.

                    Two different block devices can even come from the same physical drive!

                    My point is, for the use of Snapshot it's a different block device, external to the one in which the VM lives. It can't be used to create snapshots.

                    1 Reply Last reply Reply Quote 0
                    • AjinA
                      Ajin
                      last edited by

                      @scottalanmiller Thankyou .

                      I was just testing moving the VM to the new storage , moved the VM to the new storage , changed the mac id and it works good , Now i can take snap since the vm resides in the new storage with enough space for snapshot

                      scottalanmillerS BRRABillB 2 Replies Last reply Reply Quote 4
                      • scottalanmillerS
                        scottalanmiller @Ajin
                        last edited by

                        @Ajin said in Adding new Local Storage to XenServer.:

                        @scottalanmiller Thankyou .

                        I was just testing moving the VM to the new storage , moved the VM to the new storage , changed the mac id and it works good , Now i can take snap since the vm resides in the new storage with enough space for snapshot

                        Great!

                        1 Reply Last reply Reply Quote 0
                        • AjinA
                          Ajin
                          last edited by

                          Thank-you all for the valuble suggetions 🙂

                          1 Reply Last reply Reply Quote 1
                          • BRRABillB
                            BRRABill @Ajin
                            last edited by

                            @Ajin said

                            I was just testing moving the VM to the new storage , moved the VM to the new storage , changed the mac id and it works good , Now i can take snap since the vm resides in the new storage with enough space for snapshot

                            It's awesome when it works like that, right?

                            1 Reply Last reply Reply Quote 1
                            • AjinA
                              Ajin
                              last edited by

                              Yes It is 🙂

                              1 Reply Last reply Reply Quote 1
                              • scottalanmillerS
                                scottalanmiller
                                last edited by

                                Another ML success story 🙂

                                1 Reply Last reply Reply Quote 1
                                • 1 / 1
                                • First post
                                  Last post