From: Huibin QIAN Subject: XAPI "xe vm-import" problem Date: Tue, 29 Dec 2009 11:37:46 +0800 Message-ID: <001101ca8838$49bf9980$d738a60a@china.huawei.com> References: <001001ca82f3$73f94420$d738a60a@china.huawei.com> <81A73678E76EA642801C8F2E4823AD2143B8C19411@LONPMAILBOX01.citrite.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0929572078==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dave Scott , xen-devel@lists.xensource.com Cc: w00152566@notesmail.huawei.com, cqj@huawei.com, y00138552@notesmail.huawei.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0929572078== Content-type: multipart/alternative; boundary="Boundary_(ID_311OOpta2Pu7XkY6l5L0VA)" This is a multi-part message in MIME format. --Boundary_(ID_311OOpta2Pu7XkY6l5L0VA) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Hi Dave I am using the xapi to manage a non-XCP host. When I used the "xe vm-import" command to import a vm from a .xva file, a error occured. It seems that the "/usr/sbin/vhd-util" failed. The "vhd-util" file was copied directly from a XCP host. below is the Error log and SMlog. Could you give me some indications? # xe vm-import filename=/root/ddk sr-uuid=9ac79c2a-bd4e-29f3-50f0-5a542daecc08 Error: Broken pipe (calling write ) the SMlog: [1308] 2009-12-28 14:13:18.678631 ['/usr/sbin/vhd-util', 'scan', '-f', '-c', '-m', 'VHD-*', '-l', 'VG_XenStorage- 9ac79c2a-bd4e-29f3-50f0-5a542daecc08'] [1308] 2009-12-28 14:13:18.684416 FAILED: (errno 22) stdout: 'scan failed: -22 Cheers, Jay --Boundary_(ID_311OOpta2Pu7XkY6l5L0VA) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: 7BIT
Hi Dave
 
I am using the xapi to manage a non-XCP host. When I used the "xe vm-import" command to import a vm from a .xva file, a error
 
 occured. It seems that the  "/usr/sbin/vhd-util" failed. The "vhd-util" file was copied directly from a XCP host. below is
 
the Error log and SMlog. Could you give me some indications?
 
# xe vm-import filename=/root/ddk sr-uuid=9ac79c2a-bd4e-29f3-50f0-5a542daecc08
Error: Broken pipe (calling write )
 
the SMlog:
 
[1308] 2009-12-28 14:13:18.678631       ['/usr/sbin/vhd-util', 'scan', '-f', '-c', '-m', 'VHD-*', '-l', 'VG_XenStorage-
 
9ac79c2a-bd4e-29f3-50f0-5a542daecc08']
[1308] 2009-12-28 14:13:18.684416       FAILED: (errno 22) stdout: 'scan failed: -22
 

Cheers,
Jay
--Boundary_(ID_311OOpta2Pu7XkY6l5L0VA)-- --===============0929572078== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0929572078==--