On Monday 22 May 2006 14:32, Peter Simon wrote:
> Hi,
>
> at the list I read the that some guys have this setup working:
> Access though iSCSI in dom0 to the target, starting domU directly form
> iSCSI-LUN as vbd.
>
I have iSCSI vbd based domUs working in SuSE10.1, xen-3.0.2 and
open-iscsi-0.5.545-9 against an IET server.
> Accessing the iSCSI-LUN via dom0 works like a charme but my hole box
> crashes, when domU starts and tries to mount the filesystems.
>
> I'm testing with xen-3.0.2, open-iscsi 1.0-485 and a NetApp-Filer as
> target.
>
> The config looks like:
>
> disk = [ 'phy:sdb1,sda1,w' ]
>
> where sdb1 is the iSCSI-LUN in dom0.
>
Is sdb partitioned? iSCSI attaches each LUN as a single block device that the
dom0 needs to partition or to use whole.
I would have thought you'd want
disk = [ 'phy:sdb,sda1,w' ]
unless you had partitioned the disk /dev/sdb on the dom0.
I have the config like this
disk = [ 'phy:disk/by_id/scsi-0049003c...,hda1,w' ,
'phy:disk/by-id/scsi-0049005a...,hda2,w' ]
where /dev/disk/by-id/scsi-0049003c... would represent /dev/sdc for the domU
root space and /dev/disk/by-id/scsi-0049005a... would represent /dev/sdd for
the domU swap space and are individual disks as seen by the dom0. I'm using
the /dev/disk/by-id names for each disk as these are unique names as seen by
all iSCSI initiators and allow me to migrate live domUs between physical
dom0s.
Regards
Matthew
--
Matthew Wild Tel.: +44 (0)1235 445173
M.Wild@xxxxxxxx URL http://www.ukssdc.ac.uk/
UK Solar System Data Centre and
World Data Centre - Solar-Terrestrial Physics, Chilton
Rutherford Appleton Laboratory, Chilton, Didcot, Oxon, OX11 0QX
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|