On Sun, Feb 17, 2013 at 12:41 PM, Wakko Warner <wa...@animx.eu.org> wrote: > Ritesh Raj Sarraf wrote: >> Hello Wakko >> >> On Sun, Feb 17, 2013 at 8:13 AM, Wakko Warner <wa...@animx.eu.org> wrote: >> > I have a test system that boots over iSCSI. If iscsid is killed and the >> > kernel decides to sync the scsi caches, the iSCSI connection fails. >> >> How is iscsid being killed here? >> >> I still can't see whey the connection would fail. > > I tested it on one of my systems and it works. iscsid is killed during > shutdown by sendsigs. I don't know why either, but once iscsid is dead, the > kernel will sync the scsi cache and then the iscsi driver cannot connect > anymore.
The unavailability of the iscsid daemon is not a big problem. If you lose a session, then we are in trouble. > >> > I change the init script to drop a link to the PID file for iscsid to the >> > /run/sendsigs.omit.d and it shuts down properly now. >> > >> > I've attached the patch, it's only adds 2 lines. >> > >> >> I looked but have no clue at what it does. > > It places a link to the pid file so that send sigs will not kill it. > I could add this patch. But I would still doubt if that fixes the real problem. -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention." -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org