<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=7437&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / iSCSI autostart]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7437</link>
		<description><![CDATA[The most recent posts in iSCSI autostart.]]></description>
		<lastBuildDate>Thu, 02 Oct 2025 12:28:16 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: iSCSI autostart]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58344#p58344</link>
			<description><![CDATA[<p>ok, runlevel was the tip of the day.<br />I am on Devuan and like Debian-way I think I am on runlevel 2 not 5. Based on that realization the login at boot works now. (sorry for the noise)</p><p>Last thing: it tries 2 times login at boot (first time 120 sec wait (ok,I can change that with <span class="bbc">node.session.initial_login_retry_max</span>) second time login works immediately)</p><p>boot log:<br />.<br />.<br />Thu Oct&#160; 2 14:04:53 2025: Setting up iSCSI targets:<br />Thu Oct&#160; 2 14:04:53 2025: Logging in to [iface: default, target: iqn.2025-09.internal.testing.site1:11111, portal: 10.66.200.8,3260]<br />Thu Oct&#160; 2 14:05:09 2025: iscsiadm: Could not login to [iface: default, target: iqn.2025-09.internal.testing.site1:11111, portal: 10.66.99.8,3260].<br />Thu Oct&#160; 2 14:05:09 2025: iscsiadm: initiator reported error (8 - connection timed out)<br />Thu Oct&#160; 2 14:05:09 2025: iscsiadm: <br />Thu Oct&#160; 2 14:05:09 2025: Could not log into all portals<br />Thu Oct&#160; 2 14:05:09 2025: .<br />.<br />.<br />.<br />after entering runlevel 2<br />Thu Oct&#160; 2 14:05:15 2025: Setting up iSCSI targets:<br />Thu Oct&#160; 2 14:05:15 2025: Logging in to [iface: default, target: iqn.2025-09.internal.testing.site1:11111, portal: 10.66.200.8,3260]<br />Thu Oct&#160; 2 14:05:21 2025: Login to [iface: default, target: iqn.2025-09.internal.testing.site1:11111, portal: 10.66.200.8,3260] successful.<br />Thu Oct&#160; 2 14:05:21 2025: .</p><p>what am I missing ?</p><p>thank you</p><p>regards</p>]]></description>
			<author><![CDATA[dummy@example.com (deutschem)]]></author>
			<pubDate>Thu, 02 Oct 2025 12:28:16 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58344#p58344</guid>
		</item>
		<item>
			<title><![CDATA[Re: iSCSI autostart]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58341#p58341</link>
			<description><![CDATA[<p>@deutschem: I have assumed that you have 1) an iscsi server correctly set up and running, and 2) set up the client with the required configuration regarding targets and identities. Are those assumptions correct? To me it looks like the client (initiator) cannot connect to a server.</p><p>I&#039;d suggest you don&#039;t worry about the rc?.d/ links too much; they only come into play at boot and shutdown.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Thu, 02 Oct 2025 11:02:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58341#p58341</guid>
		</item>
		<item>
			<title><![CDATA[Re: iSCSI autostart]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58340#p58340</link>
			<description><![CDATA[<p>In which runlevel are you actually?</p><p>type your </p><div class="codebox"><pre><code>iscsiadm</code></pre></div><p> command and immediately after :</p><div class="codebox"><pre><code>sudo runlevel</code></pre></div><p>And show us the output.<br />Is there possibly something wrong with your iSCSI configuration or it&#039;s set-up?</p><p>Another note: iSCSI is good if you have a physically separate TCP/IP network for iSCSI. That means separate switches and cables!<br />Mixing it up with a network-protocol network gives severe headaches when there is a lot of network traffic.<br />The low-level network-params are different for block-protocols and network-protocols.<br />Using NFS is anyway the better solution, since NFS is a network-protocol. Consider that, please.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Thu, 02 Oct 2025 09:50:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58340#p58340</guid>
		</item>
		<item>
			<title><![CDATA[Re: iSCSI autostart]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58339#p58339</link>
			<description><![CDATA[<p>now it looks like:</p><p>lrwxrwxrwx 1 root root 20&#160; 2. Okt 09:36 /etc/rc3.d/S17open-iscsi -&gt; ../init.d/open-iscsi<br />lrwxrwxrwx 1 root root 20&#160; 2. Okt 09:36 /etc/rc5.d/S17open-iscsi -&gt; ../init.d/open-iscsi<br />lrwxrwxrwx 1 root root 20&#160; 2. Okt 09:57 /etc/rcS.d/S17open-iscsi -&gt; ../init.d/open-iscsi</p><p>and</p><p>lrwxrwxrwx 1 root root 16&#160; 1. Okt 10:57 /etc/rc0.d/K01iscsid -&gt; ../init.d/iscsid<br />lrwxrwxrwx 1 root root 16&#160; 1. Okt 10:57 /etc/rc1.d/K01iscsid -&gt; ../init.d/iscsid<br />lrwxrwxrwx 1 root root 16&#160; 1. Okt 18:24 /etc/rc3.d/S16iscsid -&gt; ../init.d/iscsid<br />lrwxrwxrwx 1 root root 16&#160; 1. Okt 18:16 /etc/rc5.d/S16iscsid -&gt; ../init.d/iscsid<br />lrwxrwxrwx 1 root root 16&#160; 1. Okt 10:57 /etc/rc6.d/K01iscsid -&gt; ../init.d/iscsid<br />lrwxrwxrwx 1 root root 16&#160; 2. Okt 09:22 /etc/rcS.d/S16iscsid -&gt; ../init.d/iscsid</p><p>now I get again:</p><div class="codebox"><pre><code>iscsiadm: initiator reported error (8 - connection timed out)</code></pre></div><p>To keep coming, are the symlinks all correct now to principally, if the configs are all correct too, autostart iscsi and autologin ?</p><p>thanks</p><p>regards</p>]]></description>
			<author><![CDATA[dummy@example.com (deutschem)]]></author>
			<pubDate>Thu, 02 Oct 2025 08:09:29 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58339#p58339</guid>
		</item>
		<item>
			<title><![CDATA[Re: iSCSI autostart]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58333#p58333</link>
			<description><![CDATA[<p>Hmm I think you may need to enable <span class="bbc">iscid</span> as well, as the <span class="bbc">/etc/rcS.d/K01iscsid</span> may cause it to be stopped inadvertently on boot. By enabling it, it will be started on boot even with the &quot;on demand&quot; set up, but otherwise it might get killed by init. It should really have kill links only in 0 and 6; (looks like the debian developer is less read-in on sysvinit than could be expected).</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Wed, 01 Oct 2025 22:37:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58333#p58333</guid>
		</item>
		<item>
			<title><![CDATA[Re: iSCSI autostart]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58321#p58321</link>
			<description><![CDATA[<p>ok, now it looks like:<br />lrwxrwxrwx 1 root root 16&#160; 1. Okt 10:57 /etc/rc0.d/K01iscsid -&gt; ../init.d/iscsid<br />lrwxrwxrwx 1 root root 16&#160; 1. Okt 10:57 /etc/rc1.d/K01iscsid -&gt; ../init.d/iscsid<br />lrwxrwxrwx 1 root root 16&#160; 1. Okt 18:24 /etc/rc3.d/S16iscsid -&gt; ../init.d/iscsid<br />lrwxrwxrwx 1 root root 16&#160; 1. Okt 18:16 /etc/rc5.d/S16iscsid -&gt; ../init.d/iscsid<br />lrwxrwxrwx 1 root root 16&#160; 1. Okt 10:57 /etc/rc6.d/K01iscsid -&gt; ../init.d/iscsid<br />lrwxrwxrwx 1 root root 16&#160; 1. Okt 16:05 /etc/rcS.d/K01iscsid -&gt; ../init.d/iscsid</p><p>and no iscsid error entry in boot log.</p><p>but:</p><div class="codebox"><pre><code>service iscsid status</code></pre></div><div class="codebox"><pre><code>iscsid is not running ... failed!</code></pre></div><p>regards</p>]]></description>
			<author><![CDATA[dummy@example.com (deutschem)]]></author>
			<pubDate>Wed, 01 Oct 2025 16:43:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58321#p58321</guid>
		</item>
		<item>
			<title><![CDATA[Re: iSCSI autostart]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58320#p58320</link>
			<description><![CDATA[<p>no, there should be no &quot;killscripts&quot; (/etc/rc5.d/K01iscsid -&gt; ../init.d/iscsid) in runlevel 5, because the system cannot go &quot;down&quot; to that level, only up to it (/etc/rc5.d/S01iscsid -&gt; ../init.d/iscsid for example) or down from it. &gt; RunLevel S, 4, 3, 2, 1, 0, 6.<br />Going down in runlevels activates the kill-scripts (also links!) and going up the start-scripts (links) of the target runlevel.<br />Special exceptions exist as always.<br />That&#039;s how Unix Init-SysV worked and still works.<br />Runlevel 0 = shutdown<br />Runlevel 6 = reboot<br />1,2,3,4,5 are runlevels. Default runlevel is defined in /etc/inittab.<br />Hope this helps.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Wed, 01 Oct 2025 15:59:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58320#p58320</guid>
		</item>
		<item>
			<title><![CDATA[Re: iSCSI autostart]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58319#p58319</link>
			<description><![CDATA[<p>ok, this worked.<br />but now I get</p><div class="codebox"><pre><code>iscsiadm: initiator reported error (8 - connection timed out)</code></pre></div><div class="codebox"><pre><code>ls -l /etc/rc?.d/*iscsid</code></pre></div><p> shows:<br />lrwxrwxrwx 1 root root 16&#160; 1. Okt 10:57 /etc/rc0.d/K01iscsid -&gt; ../init.d/iscsid<br />lrwxrwxrwx 1 root root 16&#160; 1. Okt 10:57 /etc/rc1.d/K01iscsid -&gt; ../init.d/iscsid<br />lrwxrwxrwx 1 root root 16&#160; 1. Okt 10:57 /etc/rc6.d/K01iscsid -&gt; ../init.d/iscsid<br />lrwxrwxrwx 1 root root 16&#160; 1. Okt 16:05 /etc/rcS.d/K01iscsid -&gt; ../init.d/iscsid</p><p>should it be in runlevel 5 ?</p><p>if yes:<br />should I do this in Devuan with <span class="bbc">update-rc</span> or <span class="bbc">sysv-rc-conf</span> ?</p><p>thank you</p><p>regards</p>]]></description>
			<author><![CDATA[dummy@example.com (deutschem)]]></author>
			<pubDate>Wed, 01 Oct 2025 14:11:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58319#p58319</guid>
		</item>
		<item>
			<title><![CDATA[Re: iSCSI autostart]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58315#p58315</link>
			<description><![CDATA[<p>Yes, you need to edit <span class="bbc">/etc/iscsid.conf</span> to add a comment hash (#) for the <span class="bbc">systemctl</span> line and uncomment the <span class="bbc">service</span> line, which as you say would need to be corrected to read:</p><div class="codebox"><pre><code>iscsid.startup = /usr/sbin/service iscsid start</code></pre></div><p>This is a set up to start <span class="bbc">iscsid</span> &quot;on demand&quot;.</p><p>Aiui, <span class="bbc">open-iscsi</span> service is a client side target administration service that depends on the connection service <span class="bbc">iscsid</span> being started either as part of the boot sequence or on demand.</p><p>When you install <span class="bbc">open-iscsi</span> the service is not enabled, and you need to enable at least <span class="bbc">open-iscsi</span> (with the conf corrected as above). If you use <span class="bbc">sysvinit</span>, the proper command for that is:</p><div class="codebox"><pre><code># update-rc.d iscsid enable
# update-rc.d open-iscsi enable</code></pre></div><p> where the first command is optional; if the conf is corrected then the connection daemon is started on demand.</p><p>Those commands make it available on the next boot. If you need it before that you&#039;ll need to start <span class="bbc">open-iscsi</span> manually.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Wed, 01 Oct 2025 12:43:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58315#p58315</guid>
		</item>
		<item>
			<title><![CDATA[iSCSI autostart]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=58312#p58312</link>
			<description><![CDATA[<p>Hello,</p><p>i want to automatically lgoin to an iSCSI target on boot.</p><p>the manual way works without problems<br />(for example: </p><div class="codebox"><pre><code>iscsiadm -m node -T iqn.2025-09.internal.testing.site1:11111 -l</code></pre></div><p>)</p><p>So ISCSI may be correct configured (yes, the option(s) node.startup is automatic)</p><p>I recognized that the iscsd deamon is not started after boot.<br />If I look into the /etc/iscsi/iscsid.conf I see</p><div class="codebox"><pre><code>iscsid.startup = /bin/systemctl start iscsid.socket iscsiuio.socket</code></pre></div><p> is uncommented, but we have no systemd ??...</p><p>Then I see </p><div class="codebox"><pre><code>iscsid.startup = /usr/bin/service start iscsid</code></pre></div><p> but service is in /usr/sbin .... and should it not look like &quot;...../service iscsid start&quot; ?</p><p>I tried all changes but on boot.log I get:</p><div class="codebox"><pre><code>iSCSI initiator daemon not started: not logging in to default targets ... failed!</code></pre></div><p>and</p><div class="codebox"><pre><code>startpar: service(s) returned failure: open-iscsi ... failed!</code></pre></div><p>If I do a </p><div class="codebox"><pre><code>service iscsid start</code></pre></div><p> and </p><div class="codebox"><pre><code>service open-iscsi start</code></pre></div><p> the login works automatically and fine.</p><p>(tests on other systemd-distros worked)<br />any help ?</p><p>regards</p>]]></description>
			<author><![CDATA[dummy@example.com (deutschem)]]></author>
			<pubDate>Wed, 01 Oct 2025 11:10:13 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=58312#p58312</guid>
		</item>
	</channel>
</rss>
