From: Dmitry Y. <dmi...@ya...> - 2005-09-28 16:50:47
|
Right. Applied r420. Thanks! On Tue, 2005-09-27 at 14:35 +0800, Wang Zhenyu wrote: > On 2005.09.25 13:42:35 +0000, Dmitry Yusupov wrote: > > Right. You have to have /etc/initiatorname.iscsi. It is a requirement > > for iscsiadm. You don't need iscsid.conf. Just go ahead and start > > discovery. > > How about just exit if no initiatorname config file exist? > Otherwise daemon will still fail, and we only get to know that from the log. > > -zhen > > --- > --- usr/iscsid.c.orig 2005-09-27 14:31:56.000000000 +0800 > +++ usr/iscsid.c 2005-09-27 14:28:55.000000000 +0800 > @@ -226,6 +226,13 @@ > } > } > > + /* make sure we have initiatorname config file first */ > + if (access(initiatorname_file, R_OK)) { > + fprintf(stderr, "Error: initiatorname file doesn't exist!"); > + fprintf(stderr, " default [%s]\n", INITIATOR_NAME_FILE); > + usage(0); > + } > + > /* initialize logger */ > log_init(program_name, DEFAULT_AREA_SIZE); > --- > > > > > > On Mon, 2005-09-26 at 13:27 -0600, jshankar wrote: > > > Hi Dmitry, > > > > > > > > > It seems there is no make install script. Also i am getting configuration > > > error > > > while running iscsiadm. Is there a need to install initiatorname.iscsi and > > > iscsid.conf( i didn't find one). > > > > > > Please email your comments. > > > > > > Thanks > > > Jay > > > > > > > > > >===== Original Message From Dmitry Yusupov <dmi...@ya...> ===== > > > >it is in the same tarball. look at kernel directory. Or take it from SVN > > > >repository. > > > > > > > >On Mon, 2005-09-26 at 10:36 -0600, jshankar wrote: > > > >> Hi , > > > >> > > > >> I was trying to compile the open-iscsi-0.4-408 on linux-2.6.11. Its looking > > > >> for the backward-compile-2.6.11.patch patch. Please send me the link where > > > i > > > >> can download this patch. > > > >> > > > >> Thanks > > > >> Jay > > > >> > > > >> > > > >> > > > >> > > > >> ------------------------------------------------------- > > > >> SF.Net email is sponsored by: > > > >> Tame your development challenges with Apache's Geronimo App Server. > > > Download > > > >> it for free - -and be entered to win a 42" plasma tv or your very own > > > >> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > > >> _______________________________________________ > > > >> linux-iscsi-devel mailing list > > > >> lin...@li... > > > >> https://lists.sourceforge.net/lists/listinfo/linux-iscsi-devel > > > > > > > > > > > > > > > >------------------------------------------------------- > > > >SF.Net email is sponsored by: > > > >Tame your development challenges with Apache's Geronimo App Server. Download > > > >it for free - -and be entered to win a 42" plasma tv or your very own > > > >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > > >_______________________________________________ > > > >linux-iscsi-devel mailing list > > > >lin...@li... > > > >https://lists.sourceforge.net/lists/listinfo/linux-iscsi-devel > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > > _______________________________________________ > > linux-iscsi-devel mailing list > > lin...@li... > > https://lists.sourceforge.net/lists/listinfo/linux-iscsi-devel > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > linux-iscsi-devel mailing list > lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-iscsi-devel |