On 29/05/12 16:22, George Shuklin wrote:
Package: xcp-xapi
Version: 1.3.2-6
Severity: normal
Tags: upstream

/usr/lib/xcp/bin/xe-edit-bootloader failing with following message:

/usr/lib/xcp/bin/xe-edit-bootloader -u 19f66083-e776-70d1-1808-3712688ad138
Creating dom0 VBD: 0fdb952e-92ff-4b53-dd49-8d54b2268787
Plugging VBD:
Waiting for 
/dev/sm/backend/4c15ea03-5d70-938e-8265-d5424c0fda5e/963afb9a-9ceb-410f-8554-8be9fb70e7e0:
 . done
Mounting filesystem:  failed
Partitions in the VDI are:

brw------- 1 root root 252, 0 May 29 19:13 
/dev/sm/backend/4c15ea03-5d70-938e-8265-d5424c0fda5e/963afb9a-9ceb-410f-8554-8be9fb70e7e0

You can use the -p option to specify a partition number to mount.
Unplugging VBD: . done
root@lab-xh3:~# /usr/lib/xcp/bin/xe-edit-bootloader -u 
19f66083-e776-70d1-1808-3712688ad138  -p 1
Creating dom0 VBD: 445a1179-a947-b884-8cbe-06ea1515ee38
Plugging VBD:
Waiting for 
/dev/sm/backend/4c15ea03-5d70-938e-8265-d5424c0fda5e/963afb9a-9ceb-410f-8554-8be9fb70e7e01:
 .....Device 
/dev/sm/backend/4c15ea03-5d70-938e-8265-d5424c0fda5e/963afb9a-9ceb-410f-8554-8be9fb70e7e01
 not found.


Reason is that older model creates /dev/xvd* devices (see message history for bug 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674088 ) and xe-edit-bootloader 
just add partition number to device (/dev/xvdb ->  /dev/xvdb1). With new sm 
model this is not true: script must call kpartx to probe partition table of 
attached VDI.

Thanks for reporting this (and everything else ;) ). I'll file a bug with upstream xapi.

Mike




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to