My cfg file has the following line: disk =3D [ ''iscsi:/dev/disk/by-path/ip-10.0.1.2:3260-iscsi-iqn.2001-05.com.equallogic:0-123456-789012345-6789012345678901-xp-lun-0,ioemu:hda:disk,w'' ] Any ideas on how to get this working again or what I need to change to do so? #matt _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Aug 25, 2009 at 9:31 PM, Matt<brimstone@the.narro.ws> wrote:> My cfg file has the following line: > > > disk =3D [ > ''iscsi:/dev/disk/by-path/ip-10.0.1.2:3260-iscsi-iqn.2001-05.com.equallogi> c:0-123456-789012345-6789012345678901-xp-lun-0,ioemu:hda:disk,w'' > ] > > > Any ideas on how to get this working again or what I need to change > to do so?Did it work before? For it to work you need (at least) /etc/xen/scripts/block-iscsi script. Is it there? If not, the easiest way to make it work is to make the iscsi LUN available on dom0 manually, then change the config file to disk = [''phy:/dev/disk/by-path/ip-10.0.1.2:3260-iscsi-iqn.2001-05.com.equallogic:0-123456-789012345-6789012345678901-xp-lun-0,hda:disk,w''] -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha wrote:> On Tue, Aug 25, 2009 at 9:31 PM, Matt<brimstone@the.narro.ws> wrote: >> My cfg file has the following line: >> >> >> disk =3D [ >> ''iscsi:/dev/disk/by-path/ip-10.0.1.2:3260-iscsi-iqn.2001-05.com.equallogi>> c:0-123456-789012345-6789012345678901-xp-lun-0,ioemu:hda:disk,w'' >> ] >> >> >> Any ideas on how to get this working again or what I need to change >> to do so? > > Did it work before?It did. the /etc/xen/scripts/block-iscsi script basically just logged into the lun, found the /dev/mapper/ device and used write_dev to pass it back up to xen. This worked fine in xen 3.2 but now is giving me problems in xen 3.3.> For it to work you need (at least) /etc/xen/scripts/block-iscsi > script. Is it there? If not, the easiest way to make it work is to > make the iscsi LUN available on dom0 manually, then change the config > file to > > disk = [''phy:/dev/disk/by-path/ip-10.0.1.2:3260-iscsi-iqn.2001-05.com.equallogic:0-123456-789012345-6789012345678901-xp-lun-0,hda:disk,w'']Yes, manually setting ''phy:/dev/mapper/...'' works great, but this requires me to have some system setup to make sure every host has every lun logged in all the time. I''m sure I''m going to hit some iscsi connection limit this way. #matt _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Aug 25, 2009 at 10:18 PM, Matt<brimstone@the.narro.ws> wrote:> Fajar A. Nugraha wrote:>> Did it work before? > > It did. the /etc/xen/scripts/block-iscsi script basically just > logged into the lun, found the /dev/mapper/ device and used > write_dev to pass it back up to xen. This worked fine in xen 3.2 but > now is giving me problems in xen 3.3.You might run into the same problem I do then :) In my case it was block-drbd script. http://www.drbd.org/users-guide-emb/s-xen-configure-domu.html says pygrub >= xen 3.3 should work, but it doesn''t. I''m using xen 3.4. Probably related to http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1438, but I''m not really sure. If I copy kernel and initrd to dom0 load it with kernel/ramdisk/extra line, it works as expected. That workaround might work for you as well. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha wrote:> On Tue, Aug 25, 2009 at 10:18 PM, Matt<brimstone@the.narro.ws> wrote: >> Fajar A. Nugraha wrote: > >>> Did it work before? >> It did. the /etc/xen/scripts/block-iscsi script basically just >> logged into the lun, found the /dev/mapper/ device and used >> write_dev to pass it back up to xen. This worked fine in xen 3.2 but >> now is giving me problems in xen 3.3. > > You might run into the same problem I do then :) In my case it was > block-drbd script. > > http://www.drbd.org/users-guide-emb/s-xen-configure-domu.html says > pygrub >= xen 3.3 should work, but it doesn''t. I''m using xen 3.4. > Probably related to > http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1438, but I''m > not really sure. > > If I copy kernel and initrd to dom0 load it with kernel/ramdisk/extra > line, it works as expected. That workaround might work for you as > well.Oh, I have that problem too with the few centos domUs I run. I have to mount the iscsi lun first, then it works fine. This current problem I''m having is with windows domUs on an ubuntu dom0, no kernel and initrd to copy out :( #matt _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users