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

[Xen-API] VDI.create failure on ext local SR


  • To: xen-api@xxxxxxxxxxxxx
  • From: Dimitar Kazakov <the.kazak@xxxxxxxxx>
  • Date: Tue, 27 Mar 2012 16:07:27 +0300
  • Delivery-date: Tue, 27 Mar 2012 13:09:33 +0000
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xen.org>

Hi,
Have problem with creating VDI on local SR type=ext
xe vdi-create sr-uuid=ba4e9e1a-bc42-0dc9-af0e-5db2905666ab name-label=test sharable=false type=user virtual-size=100MiB
Error code: SR_BACKEND_FAILURE_78
Error parameters: , VDI Creation failed [opterr=error 127],

xapi: [20120325T14:50:58.472Z| info|hyperion|60835 UNIX /var/lib/xcp/xapi|VDI.create R:e2cdeb6b186d|audit] ('trackid=51bd7a4a8b299b312f6f958f5d370a1c' 'LOCAL_SUPERUSER' 'root' 'ALLOWED' 'ERROR:SR_BACKEND_FAILURE_78: [ ; VDI Creation failed [opterr=error 127];  ]' 'API' 'VDI.create' (('name_label' 'test' '' '') ('name_description' '<value/>' '' '') ('SR' 'Local storage' 'ba4e9e1a-bc42-0dc9-af0e-5db2905666ab' 'OpaqueRef:676707ab-b93a-6e91-8824-dce326928452')))

There is no such problem when create VDI on Local SR type=lvhd. Both tests are made with sr created on the same physical partition
xe sr-create host-uuid=5fbdc200-4165-f850-3e7a-2ab1d00a2221 content-type=user type=ext device-config:device=/dev/sda3 shared=false name-label="Local storage" name-description="Local storage" sm-config:allocation=thin
and
xe sr-create host-uuid=5fbdc200-4165-f850-3e7a-2ab1d00a2221 content-type=user type=lvhd device-config:device=/dev/sda3 shared=false name-label="Local storage" name-description="Local storage" sm-config:allocation=thin

There is no problem creating VDI on lvhd local SR, but when try same operation on ext local SR it always failed.  Ext partition is mounted properly and accessible RW through /run/sr-mount/{sr uuid} mount point. 

Xen version 4.1.2 (Debian 4.1.2-2.1)
XCP-XAPI toolstack 1.3.2-4 (Kronos)

Anyone managed to work around this problem ?

Regards,
Dimitar Kazakov

Attachment: the_kazak.vcf
Description: Vcard

_______________________________________________
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®.