Menu

#127 xen problem with xvd* devices

closed-fixed
5
2019-09-09
2011-11-09
Anonymous
No

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

Discussion

  • Steven Shiau

    Steven Shiau - 2011-11-13

    I am not familiar with Xen, could you please describe more about "How about allowing xvd devices?" ?
    Thanks.

    Steven.

     
  • Steven Shiau

    Steven Shiau - 2011-11-13
    • assigned_to: nobody --> steven_shiau
     
  • Anonymous

    Anonymous - 2012-09-21

    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.

     
  • Steven Shiau

    Steven Shiau - 2012-09-29

    Got it.
    In the future we will support more types of devices, for sure.

    Steven.

     
  • Bob Ryan

    Bob Ryan - 2013-01-16

    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"

     
  • Steven Shiau

    Steven Shiau - 2013-01-22
    • status: open --> closed-fixed
     
  • Steven Shiau

    Steven Shiau - 2013-01-22

    Thanks.
    This issue has been fixed in Clonezilla live 2.1.0-11.
    If any problem, feel free to reopen it.
    Thanks.

    Steven.

     
  • Edw

    Edw - 2013-08-22

    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?

     
  • Steven Shiau

    Steven Shiau - 2013-08-23

    Please report the error messages so it would be easier for us to reproduce the problem.
    Thanks.

    Steven.

     
  • Emanuel de Pontes Araújo

    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.

     
    😄
    1
  • Steven Shiau

    Steven Shiau - 2019-09-09

    No problem. It's nice to knew that works well for you.

    Steven

     

Log in to post a comment.

MongoDB Logo MongoDB