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 the init

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 understand what you are

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:~# modinfo libiscsi filename:

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 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
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

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 run: I'm not sure I

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 iscsid

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 host channel target

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 ?SLs

RE: interaction with udev

2008-03-31 Thread Don Williams
: 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. In deed. [EMAIL

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. I can still

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 without

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 iscsid root

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 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:. Stopping iSCSI initiator service:. Iscsid is still

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:. Iscsid is still running:

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't removed from the