[dm-devel] xen on multipath

Arthur Bergman sky at nanisky.com
Sun Jan 30 22:23:07 UTC 2005


Very cool, the 2.6.10-udm1 patch applies cleanly on the xen modified 
linux tree.

xenone-sky:~# uname -a
Linux xenone-sky 2.6.10-xenU #1 Sun Jan 30 11:29:00 GMT 2005 i686 
GNU/Linux
xenone-sky:~# mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)

xenone:/etc/xen# uname -a
Linux xenone 2.6.10-xen0xen0multipath #4 Sun Jan 30 14:38:14 GMT 2005 
i686 GNU/Linux
xenone:/etc/xen# xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      123    0  r----    114.5
sky                4      127    1  -b---      6.5    9604
xenone:/etc/xen# xm vbd-list 4
(vbd (idx 0) (vdev 769) (device 64769) (mode w) (dev hda1) (uname 
phy:xen-a/xen-sky) (node xen-a/xen-sky) (index 0))
xenone:/etc/xen# lvscan
   ACTIVE            '/dev/xen-a/xen-sky' [10.00 GB] inherit
xenone:/etc/xen# pvscan
   PV /dev/No   VG xen-a   lvm2 [20.00 GB / 10.00 GB free]
xenone:/etc# multipath -S -v 3 3600507680183001b0800000000000029
create: 3600507680183001b0800000000000029
[size=20 GB][features="0"][hwhandler="0"]
\_ round-robin 0 [first]
   \_ 0:0:0:0 sda  8:0     [ready ]
   \_ 0:0:2:0 sdc  8:32    [ready ]
   \_ 1:0:2:0 sdg  8:96    [ready ]
   \_ 1:0:3:0 sdh  8:112   [ready ]
\_ round-robin 0
   \_ 0:0:1:0 sdb  8:16    [ready ]
   \_ 0:0:3:0 sdd  8:48    [ready ]
   \_ 1:0:0:0 sde  8:64    [ready ]
   \_ 1:0:1:0 sdf  8:80    [ready ]


Woooo.... so the linux inside xen as no idea it is being multipathed, 
the hypervisor does all the good work.

Now going to try and migrate a xen node from one multipath hypervisor 
to another, and after that, try and get the xen box itself boot of the 
SAN :-)

Keep up the good work.

Cheers
Arthur

-----
CTO @ Fotango Ltd
+447834716919
http://www.fotango.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20050130/5205fb7e/attachment.sig>


More information about the dm-devel mailing list