Re: interaction with udev

2008-04-02 Thread Rudy Gevaert
Hi Mike, Mike Christie wrote: > Rudy Gevaert wrote: >> Hello, >> >> >> So it seems that running 2.6.18 (stock Debian kernel) with open-iscsi >> 2.0.730-1etch1 doesn't give me any problems regarding the start and >> stopping. (Although one iscsid process is still running when I stop it >> with

Re: interaction with udev

2008-04-01 Thread Mike Christie
Rudy Gevaert wrote: > Hello, > > > So it seems that running 2.6.18 (stock Debian kernel) with open-iscsi > 2.0.730-1etch1 doesn't give me any problems regarding the start and > stopping. (Although one iscsid process is still running when I stop it > with the init script.) That is a bug in i

Re: interaction with udev

2008-04-01 Thread Mike Christie
Rudy Gevaert wrote: > Hi Mike, > > Mike Christie wrote: >> Rudy Gevaert wrote: >>> Hi Mike >>> >>> Mike Christie wrote: >>> What is the version of your kernel? >>> 2.6.18-6-xen-amd64 >>> >> Make sure you are using the kernel modules from the open-iscsi.org >> release, start up iscsi, then

Re: interaction with udev

2008-04-01 Thread Rudy Gevaert
Konrad Rzeszutek wrote: > Get a multipath udev file. They are using mechanism to wait for the device > to settle before acting on it. That might give you some ideas on how to > remove the race conditions. Unfortunate my setup only has the following rules: clyj43j:/etc/udev/rules.d# cat z60_k

Re: interaction with udev

2008-04-01 Thread Konrad Rzeszutek
> jlyj43j:/etc/udev/rules.d# cat z99_netapp_persistant.rules > # This file contains the rules needed to create persistent device names. > > # we are only interested in add actions for block devices > SUBSYSTEM!="block", GOTO="no_volume_id" > ACTION!="add",

Re: interaction with udev

2008-04-01 Thread Rudy Gevaert
Hello, So it seems that running 2.6.18 (stock Debian kernel) with open-iscsi 2.0.730-1etch1 doesn't give me any problems regarding the start and stopping. (Although one iscsid process is still running when I stop it with the init script.) Doing echo - - - > /sys/class/scsi_host/hostX/scan

Re: interaction with udev

2008-04-01 Thread Rudy Gevaert
Mike Christie wrote: > Rudy Gevaert wrote: >> Hi Mike >> >> Mike Christie wrote: >> >>> What is the version of your kernel? >> >> 2.6.18-6-xen-amd64 >> > > Make sure you are using the kernel modules from the open-iscsi.org > release, start up iscsi, then run: As extra info: jlyj43j:~# modinf

Re: interaction with udev

2008-04-01 Thread Rudy Gevaert
Hi Mike, Mike Christie wrote: > Rudy Gevaert wrote: >> Hi Mike >> >> Mike Christie wrote: >> >>> What is the version of your kernel? >> >> 2.6.18-6-xen-amd64 >> > > Make sure you are using the kernel modules from the open-iscsi.org > release, start up iscsi, then run: I'm not sure I understan

Re: interaction with udev

2008-03-31 Thread Mike Christie
Rudy Gevaert wrote: > Hi Mike > > Mike Christie wrote: > >> What is the version of your kernel? > > > 2.6.18-6-xen-amd64 > Make sure you are using the kernel modules from the open-iscsi.org release, start up iscsi, then run: iscsiadm -m session -P 3 iscsiadm -m node -U all -d 8 iscsiadm

Re: interaction with udev

2008-03-31 Thread Rudy Gevaert
Hi Mike Mike Christie wrote: > > What is the version of your kernel? 2.6.18-6-xen-amd64 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur Direction ICT, Infrastr

Re: interaction with udev

2008-03-31 Thread Rudy Gevaert
Don Williams wrote: > Can you try the 2.0-865 build and compile it? > > I use that version with debian without any issues. Hi Don, I'm using that version already Rudy -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED]

Re: interaction with udev

2008-03-31 Thread Mike Christie
Rudy Gevaert wrote: > Konrad Rzeszutek wrote: >> On Mon, Mar 31, 2008 at 02:42:24PM +0200, Rudy Gevaert wrote: >>> Hello, >>> >>> I have installed 2.0.865 on a Debian Etch system. >>> I can use my targets withyout any problem. >>> >>> However when I stop open-iscsi my devices (/dev/sdb e.g.) aren'

Re: interaction with udev

2008-03-31 Thread Mike Christie
Rudy Gevaert wrote: > Andrew Moise wrote: >> On Mon, Mar 31, 2008 at 10:01 AM, Rudy Gevaert <[EMAIL PROTECTED]> wrote: >>> I'm stopping with init script of debian: >>> >>> jlyj43j:~# /etc/init.d/open-iscsi stop >>> Disconnecting iSCSI targets:. >>> Stopping iSCSI initiator service:. >>> >>> I

RE: interaction with udev

2008-03-31 Thread Don Williams
Subject: Re: interaction with udev Andrew Moise wrote: > On Mon, Mar 31, 2008 at 10:01 AM, Rudy Gevaert <[EMAIL PROTECTED]> wrote: >> I'm stopping with init script of debian: >> >> jlyj43j:~# /etc/init.d/open-iscsi stop >> Disconnecting iSCSI targets:

Re: interaction with udev

2008-03-31 Thread Rudy Gevaert
Konrad Rzeszutek wrote: > On Mon, Mar 31, 2008 at 02:42:24PM +0200, Rudy Gevaert wrote: >> Hello, >> >> I have installed 2.0.865 on a Debian Etch system. >> I can use my targets withyout any problem. >> >> However when I stop open-iscsi my devices (/dev/sdb e.g.) aren't removed >> from the system

Re: interaction with udev

2008-03-31 Thread Andrew Moise
On Mon, Mar 31, 2008 at 10:49 AM, Rudy Gevaert <[EMAIL PROTECTED]> wrote: > I backported the version in lenny. That because rescan isn't available > in the older release. I upgraded from the version in Etch. Ah, okay. Sounds like it might be a bug in the Debian package then. Can you run '

Re: interaction with udev

2008-03-31 Thread Rudy Gevaert
Andrew Moise wrote: > On Mon, Mar 31, 2008 at 10:01 AM, Rudy Gevaert <[EMAIL PROTECTED]> wrote: >> I'm stopping with init script of debian: >> >> jlyj43j:~# /etc/init.d/open-iscsi stop >> Disconnecting iSCSI targets:. >> Stopping iSCSI initiator service:. >> >> Iscsid is still running: >> >>

Re: interaction with udev

2008-03-31 Thread Andrew Moise
On Mon, Mar 31, 2008 at 10:01 AM, Rudy Gevaert <[EMAIL PROTECTED]> wrote: > I'm stopping with init script of debian: > > jlyj43j:~# /etc/init.d/open-iscsi stop > Disconnecting iSCSI targets:. > Stopping iSCSI initiator service:. > > Iscsid is still running: > > jlyj43j:~# ps aux | grep iscsi

Re: interaction with udev

2008-03-31 Thread Konrad Rzeszutek
On Mon, Mar 31, 2008 at 02:42:24PM +0200, Rudy Gevaert wrote: > > Hello, > > I have installed 2.0.865 on a Debian Etch system. > I can use my targets withyout any problem. > > However when I stop open-iscsi my devices (/dev/sdb e.g.) aren't removed > from the system. I can still access them w

Re: interaction with udev

2008-03-31 Thread Rudy Gevaert
Andrew Moise wrote: > On Mon, Mar 31, 2008 at 8:42 AM, Rudy Gevaert <[EMAIL PROTECTED]> wrote: >> I have installed 2.0.865 on a Debian Etch system. >> I can use my targets withyout any problem. >> >> However when I stop open-iscsi my devices (/dev/sdb e.g.) aren't removed >> from the system.

RE: interaction with udev

2008-03-31 Thread Don Williams
Sent: Monday, March 31, 2008 9:28 AM To: open-iscsi@googlegroups.com Subject: Re: interaction with udev Hi Don, Don Williams wrote: > Hello Rudy, > > > > If you run ps -ax | grep iscsid after you stop open-iscsi I suspect > you'll find that the daemon is still running.

Re: interaction with udev

2008-03-31 Thread Andrew Moise
On Mon, Mar 31, 2008 at 8:42 AM, Rudy Gevaert <[EMAIL PROTECTED]> wrote: > I have installed 2.0.865 on a Debian Etch system. > I can use my targets withyout any problem. > > However when I stop open-iscsi my devices (/dev/sdb e.g.) aren't removed > from the system. I can still access them wit

Re: interaction with udev

2008-03-31 Thread Rudy Gevaert
Hi Don, Don Williams wrote: > Hello Rudy, > > > > If you run ps -ax | grep iscsid after you stop open-iscsi I suspect > you'll find that the daemon is still running. In deed. > > > [EMAIL PROTECTED]:~# ps ax | grep iscsid > > 5651 ?Ss 0:07 /sbin/iscsid > > 5652 ?

RE: interaction with udev

2008-03-31 Thread Don Williams
si@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rudy Gevaert Sent: Monday, March 31, 2008 8:42 AM To: open-iscsi@googlegroups.com Subject: interaction with udev Hello, I have installed 2.0.865 on a Debian Etch system. I can use my targets withyout any problem. However w

interaction with udev

2008-03-31 Thread Rudy Gevaert
Hello, I have installed 2.0.865 on a Debian Etch system. I can use my targets withyout any problem. However when I stop open-iscsi my devices (/dev/sdb e.g.) aren't removed from the system. I can still access them without any problems. I can remove them with scsiadd -r But then restartin