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

    xapi seems to broken after a Power Failure

    Scheduled Pinned Locked Moved Compute
    58 Posts 3 Posters 22.1k Views 3 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.
    • LunarstarPonyL Offline
      LunarstarPony @olivierlambert
      last edited by LunarstarPony

      olivierlambert Oh BTW Since now I got a remote storage using NFS and I notice we got a thick provisioned disk(lvm), if I migrate the disk from that server to our new NFS Remote Storage, will that make the Virtual Disk thin and release the extra spaces? or it will remain as a Thick provisioned disk?

      LunarstarPonyL 1 Reply Last reply Reply Quote 0
      • LunarstarPonyL Offline
        LunarstarPony @LunarstarPony
        last edited by

        LunarstarPony If it will still remain as a thick provisioned disk is there a way to change it to thin and reclaim space?

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

          Yes it will be instantly thin on destination.

          LunarstarPonyL 2 Replies Last reply Reply Quote 0
          • LunarstarPonyL Offline
            LunarstarPony @olivierlambert
            last edited by

            olivierlambert said in xapi seems to broken after a Power Failure:

            es it will be instantly thin on destination.

            Okie So I should be able to just move all the VMs to our new Remote Storage then

            1 Reply Last reply Reply Quote 0
            • LunarstarPonyL Offline
              LunarstarPony @olivierlambert
              last edited by LunarstarPony

              olivierlambert 2022-03-17T13_23_49.725Z - XO.txt
              I'm having VDI_COPY_FAILED(End_of_file) issue while copying VMs rn Should I open a New post for this or you got any idea why this is happening?
              I provide the log up there

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

                Well, it's like the file couldn't be read correctly or corrupted. Can you try while the VM is off?

                LunarstarPonyL 2 Replies Last reply Reply Quote 0
                • LunarstarPonyL Offline
                  LunarstarPony @olivierlambert
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • LunarstarPonyL Offline
                    LunarstarPony @olivierlambert
                    last edited by

                    olivierlambert Turn it off doesn't really help

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

                      Can you try to copy this VDI on the same SR?

                      LunarstarPonyL 1 Reply Last reply Reply Quote 0
                      • LunarstarPonyL Offline
                        LunarstarPony @olivierlambert
                        last edited by

                        olivierlambert Like Migrate VDI to the same SR? or

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

                          xe vdi-copy in the same destination SR.

                          LunarstarPonyL 1 Reply Last reply Reply Quote 0
                          • LunarstarPonyL Offline
                            LunarstarPony @olivierlambert
                            last edited by

                            olivierlambert So xe vdi-copy {VDIUUID} ? Is this the command I should type in the console? I rarely go in there, or what would be the command I'll need to type

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

                              Use the UUID of your the current SR: https://xcp-ng.org/docs/cli_reference.html#vdi-copy

                              LunarstarPonyL 1 Reply Last reply Reply Quote 0
                              • LunarstarPonyL Offline
                                LunarstarPony @olivierlambert
                                last edited by

                                olivierlambert It also failed with the same error
                                [22:46 xcp-ng-ksu-secondary ~]# xe vdi-copy uuid=cb81808d-69c3-43a1-bc3e-c6c3b0f61a39 sr-uuid=7a50c3d0-cce3-f98f-5685-664b02ff542f
                                The VDI copy action has failed
                                <extra>: End_of_file

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

                                  So your VHD might be corrupted. You should use vhd-util to see what's going on on this VDI 🤔

                                  https://support.citrix.com/article/CTX139224

                                  LunarstarPonyL 3 Replies Last reply Reply Quote 0
                                  • LunarstarPonyL Offline
                                    LunarstarPony @olivierlambert
                                    last edited by

                                    olivierlambert Hm My Local SR doesn't seems to be in that location I'm still trying to find it

                                    1 Reply Last reply Reply Quote 0
                                    • LunarstarPonyL Offline
                                      LunarstarPony @olivierlambert
                                      last edited by

                                      olivierlambert Are there supposed to be a mount point for it? I tried to use cat /proc/mounts but didn't find anything

                                      LunarstarPonyL 1 Reply Last reply Reply Quote 0
                                      • LunarstarPonyL Offline
                                        LunarstarPony @LunarstarPony
                                        last edited by

                                        LunarstarPony There's mount point for my new remote storage and that's pretty much all

                                        1 Reply Last reply Reply Quote 0
                                        • LunarstarPonyL Offline
                                          LunarstarPony @olivierlambert
                                          last edited by

                                          olivierlambert Any Idea?

                                          LunarstarPonyL 1 Reply Last reply Reply Quote 0
                                          • LunarstarPonyL Offline
                                            LunarstarPony @LunarstarPony
                                            last edited by

                                            LunarstarPony Apparently that's not the only VDI that can't be moved as well, some does move without any issue some seems no problem at all

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