xapi seems to broken after a Power Failure
-
@olivierlambert Oh I got it working! Thanks a lot!
-
@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?
-
@LunarstarPony If it will still remain as a thick provisioned disk is there a way to change it to thin and reclaim space?
-
Yes it will be instantly thin on destination.
-
@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
-
@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 -
Well, it's like the file couldn't be read correctly or corrupted. Can you try while the VM is off?
-
This post is deleted! -
@olivierlambert Turn it off doesn't really help
-
Can you try to copy this VDI on the same SR?
-
@olivierlambert Like Migrate VDI to the same SR? or
-
xe vdi-copy
in the same destination SR. -
@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
-
Use the UUID of your the current SR: https://xcp-ng.org/docs/cli_reference.html#vdi-copy
-
@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 -
So your VHD might be corrupted. You should use
vhd-util
to see what's going on on this VDI -
@olivierlambert Hm My Local SR doesn't seems to be in that location I'm still trying to find it
-
@olivierlambert Are there supposed to be a mount point for it? I tried to use cat /proc/mounts but didn't find anything
-
@LunarstarPony There's mount point for my new remote storage and that's pretty much all
-
@olivierlambert Any Idea?