xen problem with xvd* devices
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
I use clonezilla under xen to backup windows hvm domain.
It has worked in the past but I just tried using xen 4.1.2 and clonzilla-live 1.2.10-14 and it will not work.
my xen disk line is
disk = [ 'phy:/dev/xvg0/nfdlts-c,hda,w',
'file:/extra/isoimages/clonzilla.iso,hdc:cdrom,r' ]
I suspect it's because clonzilla sees the the xen block device and uses the xen drivers which produces the xvd devices.
How about allowing xvd devices?
I suspect no other changes will be required.
John McMonagle
johnm@advocap.org
I am not familiar with Xen, could you please describe more about "How about allowing xvd devices?" ?
Thanks.
Steven.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Steve,
Been a while since this has been updated, but we're running into this issue, too. Xen is a virtualization platform, and it does both full virtualization and para-virtualization. In full virtualization mode, you can load PV drivers that accelerate performance for things like network cards and HDDs. When you load those PV drivers in Linux, Linux sees the attached disk drives as xvd* devices - xvda, xvdb, xdvc, etc. XVD stands for Xen Virtual Disk. I'm assuming Clonezilla has some rules to say "only accept hd*, sd*, etc. - it would be nice if xvd* could get added to that list.
Got it.
In the future we will support more types of devices, for sure.
Steven.
I'm not setup to test right now but I believe something like this might resolve the issue-
--- ocs-onthefly 2012-12-05 03:07:26.000000000 -0800
+++ /home/bryan/ocs-onthefly 2013-01-16 13:56:31.714498350 -0800
@@ -45,6 +45,12 @@
[hsv]d[a-z][0-9]*)
recode=5
;;
+ xvd[a-z])
+ recode=3
+ ;;
+ xvd[a-z][0-9]*)
+ recode=5
+ ;;
*)
echo "\"$input_src\" $msg_is_unknown_HD... $msg_program_stop!"
echo -n "$msg_press_enter_to_continue"
Thanks.
This issue has been fixed in Clonezilla live 2.1.0-11.
If any problem, feel free to reopen it.
Thanks.
Steven.
While it may have been fixed, it doesn't work today with 2.1.0-26 or 2.1.2-20. Does anyone have 2.1.0-11 available for download, or can it get fixed again?
Please report the error messages so it would be easier for us to reproduce the problem.
Thanks.
Steven.
I don't know if I'm in the righ place or if you will read this, but a have to thank you, because you added the suport to the xvd, it really helped me. I really appreciated.
No problem. It's nice to knew that works well for you.
Steven