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

    XenServer Thin Provision Snapshots

    IT Discussion
    xenserver xenserver 6.5 lvm local storage thin provisioning snapshots ext3
    3
    13
    3.4k
    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.
    • black3dynamiteB
      black3dynamite
      last edited by black3dynamite

      Snapshots in XenServer 6.5 or XenServer 6.6 using LVM or EXT local storage

      When creating snapshots in LVM Local Storage, I only see one and after removing snapshot the base copy is removed.

      When creating snapshots in EXT Local Storage it starts out with three vhd files in SR-UUID and after removing snapshot the base copy remains. I see two vhd files in /var/run/sr-mount/<SR-UUID>, one is the original and the other is the base copy.

      Using Export/Import fixes it for me but that's time consuming especially with large vhd files.

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

        Welcome to the community!

        1 Reply Last reply Reply Quote 0
        • DashrenderD
          Dashrender
          last edited by

          I noticed this as well - though I have no idea what filesystem I'm on - I'm going to have to look now.

          I noticed after copying a VM, I now have a base image and a separate file that is the original VM.

          Did you find a way to merge the base and the original back into one?

          scottalanmillerS black3dynamiteB 2 Replies Last reply Reply Quote 1
          • scottalanmillerS
            scottalanmiller @Dashrender
            last edited by

            @Dashrender said:

            I noticed this as well - though I have no idea what filesystem I'm on - I'm going to have to look now.

            Issue should not be filesystem related. However. EXT family should not be used. XFS should.

            black3dynamiteB 1 Reply Last reply Reply Quote 1
            • black3dynamiteB
              black3dynamite
              last edited by black3dynamite

              I was able to convert the vm to a template and then create a new one from the template. Just make sure uncheck "Use storage-level fast disk clone" before finish creating the vm.

              DashrenderD 1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender @black3dynamite
                last edited by

                @black3dynamite said:

                I was able to convert the vm to a template and then create a new one, unchecking "Use storage-level fast disk clone.

                I specifically remember using fast disk clone. I've never used it before - interesting how it worked.

                1 Reply Last reply Reply Quote 0
                • black3dynamiteB
                  black3dynamite @scottalanmiller
                  last edited by

                  @scottalanmiller

                  By default during XenServer install, we can either keep the default LVM or select Thin (EXT). How does one use XFS instead?

                  1 Reply Last reply Reply Quote 0
                  • black3dynamiteB
                    black3dynamite @Dashrender
                    last edited by

                    @Dashrender

                    I've confirmed copy vm doesn't work.

                    DashrenderD 1 Reply Last reply Reply Quote 0
                    • DashrenderD
                      Dashrender @black3dynamite
                      last edited by

                      @black3dynamite said:

                      @Dashrender

                      I've confirmed copy vm doesn't work.

                      Can you do copy VM without fast disk clone to create a whole new VHD, then delete the old base and original VHDs?

                      black3dynamiteB 1 Reply Last reply Reply Quote 0
                      • black3dynamiteB
                        black3dynamite @Dashrender
                        last edited by

                        @Dashrender said:

                        @black3dynamite said:

                        @Dashrender

                        I've confirmed copy vm doesn't work.

                        Can you do copy VM without fast disk clone to create a whole new VHD, then delete the old base and original VHDs?

                        Full Copy work but we shouldn't have to do that.

                        DashrenderD 1 Reply Last reply Reply Quote 0
                        • DashrenderD
                          Dashrender @black3dynamite
                          last edited by

                          @black3dynamite said:

                          @Dashrender said:

                          @black3dynamite said:

                          @Dashrender

                          I've confirmed copy vm doesn't work.

                          Can you do copy VM without fast disk clone to create a whole new VHD, then delete the old base and original VHDs?

                          Full Copy work but we shouldn't have to do that.

                          Oh? Does another platform work differently for base images?

                          black3dynamiteB 1 Reply Last reply Reply Quote 0
                          • black3dynamiteB
                            black3dynamite @Dashrender
                            last edited by

                            @Dashrender said:

                            @black3dynamite said:

                            @Dashrender said:

                            @black3dynamite said:

                            @Dashrender

                            I've confirmed copy vm doesn't work.

                            Can you do copy VM without fast disk clone to create a whole new VHD, then delete the old base and original VHDs?

                            Full Copy work but we shouldn't have to do that.

                            Oh? Does another platform work differently for base images?

                            I don't know. LVM SR, base copy is removed after removing the snapshot but EXT SR still leave the base copy after snapshot remover. I wondered if doing a full copy instead of removing the snapshot first does the same thing.

                            1 Reply Last reply Reply Quote 0
                            • DashrenderD
                              Dashrender
                              last edited by

                              My situation wasn't a snapshop - it was a fast copy.. so I'm not really sure.

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