[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] vm import error



Hi Anatoliy,

I tried to import a previously saved VM
with the command
"#xe vm-import filename = /
var/run/sr-mount/c0da11ed-72d8-1a58-aa94-127035fa28d7/infr-samba-2013-01-02_01-04-01.xva
sr-uuid = c0da11ed-72d8-1a58-aa94-127035fa28d7 force=true"

from your command line, it seems like you are storing your xva exports on the same directory where the ext3 SR is configured.

You should put your xva on another storage that is not a SR.

c0da11ed-72d8-1a58-aa94-127035a28d7 - ext3 local sr

the size of imported file 123G

but failed with message "Fatal error: exception Unix.Unix_error(13,
"tcsetattr", "")"
and hung task
uuid ( RO)                : be568259-c9cd-be13-7da5-8ed2a222e898
           name-label ( RO): VM import
     name-description ( RO):
               status ( RO): pending
             progress ( RO): 0.720

is there any chance to recover VM?

You should clean up your SR by removing everything that does not belong to XCP, then run a sr-scan, and try to import your xva again.

In case you have some doubt on the state of your xva exported vm, there is a tool somewhere to check if the xva is corrupted or not, something called xva_verify.exe, there is probably a equivalent binary for linux.

Cheers,

Denis




--
Denis Cardon
Tranquil IT Systems
Les Espaces Jules Verne, bâtiment A
12 avenue Jules Verne
44230 Saint Sébastien sur Loire
tel : +33 (0) 2.40.97.57.55
http://www.tranquil-it-systems.fr


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.