<?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=4297&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Devuan as iSCSI originator - umount issues on shutdown]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4297</link>
		<description><![CDATA[The most recent posts in Devuan as iSCSI originator - umount issues on shutdown.]]></description>
		<lastBuildDate>Sun, 20 Apr 2025 14:00:40 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Devuan as iSCSI originator - umount issues on shutdown]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55367#p55367</link>
			<description><![CDATA[<p>you&#039;re welcome.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sun, 20 Apr 2025 14:00:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55367#p55367</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan as iSCSI originator - umount issues on shutdown]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55365#p55365</link>
			<description><![CDATA[<p>@ralph.ronnquist thanks, but iam a computer-type-do-first-read-later fail to find the proper setting, maybe i am just needing a bigger monitor;</p><p>@altoid,@all, thanks, it might be system-d related, but since i am not in the know of what it does (someone else stated here on this forum that i might be even not interested in getting to know how thinbgs function, an apparently old fproblem (of mine?) - devuan has function beautifully over the last past couple of years, sometimes better, sometimes worse, than previous favorites (still using ubuntu since it tend to function in more use-cases)</p><p>the real problem that provoked this &quot;hijacking&quot; of thread (but OP actually asked for a comment so ithought it might be just fine) is actually related to permission rights on NAS , which has not been cleared, and i tend to encounter on several distros, and i am not sure if am doing it just wrong or the problem rather lies with linux and the various file-manager it uses rather than with NAS software or vendor itself.</p><p>so pardon me if this went lenghty,<br />might just well open another thread for the underlying problem, <br />don&#039;t know if there will be a work-around for open-iscsi;</p><p>but with the debian instructions it fucntioned well on linux mint;<br />just made a portion (iscsi-lun) of 350 GB and copied the relevant ISO on it, and linux would now automount on booting the LUN as a separate partition and reading&#160; from it with various programs tend to use (mkusb, balena-etcher, rpi-imager) throws off no error warning.</p><p>no very elegant solution, but the permission denied issue really got me annoyed; since it wont happend on macos or windows; but lately, it seems also on windows (server) there is similar issue encountered, so it make me think the issue could be with the NAS itself or maybe some sort of samba version thing problem, but it happen also with AFP, so it a bit noisy, sorry.</p>]]></description>
			<author><![CDATA[dummy@example.com (kapqa)]]></author>
			<pubDate>Sun, 20 Apr 2025 13:57:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55365#p55365</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan as iSCSI originator - umount issues on shutdown]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55362#p55362</link>
			<description><![CDATA[<p>It&#039;&#039;s possibel to</p><div class="codebox"><pre><code>apt-get install systemctl</code></pre></div><p>Not sure whether this works for iscsi.</p>]]></description>
			<author><![CDATA[dummy@example.com (delgado)]]></author>
			<pubDate>Sun, 20 Apr 2025 12:55:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55362#p55362</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan as iSCSI originator - umount issues on shutdown]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55361#p55361</link>
			<description><![CDATA[<p>Please read and edit your <span class="bbc">/etc/iscsi/iscsid.conf</span></p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sun, 20 Apr 2025 12:50:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55361#p55361</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan as iSCSI originator - umount issues on shutdown]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55360#p55360</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>kapqa wrote:</cite><blockquote><div><p>thanks ...</p></div></blockquote></div><p>You&#039;re welcome.</p><div class="quotebox"><cite>kapqa wrote:</cite><blockquote><div><p>... seems connected with this &quot;systemd&quot; thing,</p></div></blockquote></div><p>Yes, <em>your</em> post is. <br />What I meant to say was that it is not connected to the OP by @Fjalar. </p><p>That said, let&#039;s see if we can make some sense out of what seems to be going on.</p><div class="quotebox"><cite>kapqa wrote:</cite><blockquote><div><p>... this package has been function since &quot;etch&quot;.</p></div></blockquote></div><p><span class="bbc">etch</span> is a <a href="https://www.debian.org/releases/etch/" rel="nofollow">Debian</a> release from April 2007 and Devuan did not exist at that time.<br />Devuan <span class="bbc">Jesse</span> was released May 2017, roughly ten years later.</p><p><span class="bbc">$ uname -a</span> tells us your system runs Devuan Daedalus.<br /><span class="bbc">apt list | grep -i installed | grep -i open-iscsi</span> tells us the <span class="bbc">open-iscsi</span> package installed is <span class="bbc">open-iscsi_2.1.8-1_amd64</span>.</p><p>Yet for some reason, attempting to run the application gets you a classic <span class="bbc">systemd</span> error in a system that <em>by definition</em> <span class="bbu">does not</span> use the <span class="bbc">systemd</span> package for init.</p><p>In an attempt to get to the bottom of the problem, I decided to see if I could reproduce the problem:</p><p><span class="bbu">Installation</span></p><div class="codebox"><pre class="vscroll"><code># apt install open-iscsi
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libisns0 libopeniscsiusr
Recommended packages:
  finalrd
The following NEW packages will be installed:
  libisns0 libopeniscsiusr open-iscsi
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 464 kB of archives.
After this operation, 2152 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://deb.devuan.org/merged daedalus/main amd64 libisns0 amd64 0.101-0.2+b1 [92.0 kB]
Get:2 http://deb.devuan.org/merged daedalus/main amd64 libopeniscsiusr amd64 2.1.8-1 [59.7 kB]
Get:3 http://deb.devuan.org/merged daedalus/main amd64 open-iscsi amd64 2.1.8-1 [312 kB]
Fetched 464 kB in 2s (187 kB/s)    
Preconfiguring packages ...
Selecting previously unselected package libisns0:amd64.
(Reading database ... 188375 files and directories currently installed.)
Preparing to unpack .../libisns0_0.101-0.2+b1_amd64.deb ...
Unpacking libisns0:amd64 (0.101-0.2+b1) ...
Selecting previously unselected package libopeniscsiusr.
Preparing to unpack .../libopeniscsiusr_2.1.8-1_amd64.deb ...
Unpacking libopeniscsiusr (2.1.8-1) ...
Selecting previously unselected package open-iscsi.
Preparing to unpack .../open-iscsi_2.1.8-1_amd64.deb ...
Unpacking open-iscsi (2.1.8-1) ...
Setting up libopeniscsiusr (2.1.8-1) ...
Setting up libisns0:amd64 (0.101-0.2+b1) ...
Setting up open-iscsi (2.1.8-1) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for initramfs-tools (0.142+deb12u1) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-33-amd64
live-boot: core filesystems dm-verity devices utils udev blockdev iscsi dns.
#</code></pre></div><p>The package installed properly.</p><p><span class="bbu">Attempt to run the application using your same parameters</span>:</p><div class="codebox"><pre><code>$ iscsiadm --mode discovery --type sendtargets --portal 192.168.178.100
sh: 1: /bin/systemctl: not found                                            # &lt;---- same error
iscsiadm: can not connect to iSCSI daemon (111)!
iscsiadm: Could not make /etc/iscsi/send_targets: Permission denied         # &lt;---- this neeeds root
iscsiadm: Could not add new discovery record.</code></pre></div><p>Same error.</p><p><span class="bbu">Try as <span class="bbc">root</span>, again using your same parameters:</span></p><div class="codebox"><pre><code># iscsiadm --mode discovery --type sendtargets --portal 192.168.178.100
sh: 1: /bin/systemctl: not found                                            # &lt;---- same error
iscsiadm: can not connect to iSCSI daemon (111)!
iscsiadm: Could not scan /sys/class/iscsi_transport.
sh: 1: /bin/systemctl: not found                                            # &lt;---- same error
iscsiadm: can not connect to iSCSI daemon (111)!
iscsiadm: Cannot perform discovery. Initiatorname required.
iscsiadm: Could not perform SendTargets discovery: could not connect to iscsid
# </code></pre></div><p>Same error.</p><p>---</p><p>From what I see, it seems that this is a problem with the <span class="bbc">open-iscsi_2.1.8-1_amd64</span> package.<br />It requies a Devuan bug report to the maintainers.</p><p>See <a href="https://bugs.devuan.org/Reporting.html" rel="nofollow">here</a> on how to do that.</p><p><span class="bbu">Note</span>: Being a topic <span class="bbu">not</span> related to the original post, please continue anything related to this issue on <span class="bbu">another</span>, new thread.&#160; </p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 20 Apr 2025 12:34:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55360#p55360</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan as iSCSI originator - umount issues on shutdown]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55359#p55359</link>
			<description><![CDATA[<p>hello ,<br />thanks for the help, it seems connected with this &quot;systemd&quot; thing, which i find odd, if this package has been function since &quot;etch&quot;.</p><p>tried now with 3 distro, and two of them failed to achieve task (devuan (system-d-free), max-linux(ships with system-d &quot;disabled&quot;, but present for better &quot;compatibiliy&quot;) (on linux mint the task is achieved).</p><p>maybe there is another package that can fulfill the task?</p><div class="codebox"><pre><code>iscsiadm --mode discovery --type sendtargets --portal 192.168.178.100
sh: 1: /bin/systemctl: not found
iscsiadm: can not connect to iSCSI daemon (111)!
iscsiadm: Could not make dir /etc/iscsi/send_targets/192.168.0.100,3260 err 13
iscsiadm: Could not open /etc/iscsi/send_targets/192.168.0.100,3260: Permission denied
iscsiadm: Could not add new discovery record.
rich@devuan:~$ sudo iscsiadm --mode discovery --type sendtargets --portal 192.168.178.100
[sudo] password for rich: 
sh: 1: /bin/systemctl: not found
iscsiadm: can not connect to iSCSI daemon (111)!
iscsiadm: Could not scan /sys/class/iscsi_transport.
sh: 1: /bin/systemctl: not found
iscsiadm: can not connect to iSCSI daemon (111)!
iscsiadm: Cannot perform discovery. Initiatorname
 required.
iscsiadm: Could not perform SendTargets discovery: could not connect to iscsid</code></pre></div><div class="codebox"><pre><code>uname -a
Linux devuan 6.1.0-33-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.133-1 (2025-04-10) x86_64 GNU/Linux</code></pre></div><div class="codebox"><pre><code>apt list | grep -i installed | grep -i open-iscsi

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

open-iscsi/stable,now 2.1.8-1 amd64 [installed]</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (kapqa)]]></author>
			<pubDate>Sun, 20 Apr 2025 11:18:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55359#p55359</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan as iSCSI originator - umount issues on shutdown]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55358#p55358</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>RedGreen925 wrote:</cite><blockquote><div><p>... nothing with the systemd gets installed ...</p></div></blockquote></div><p>Indeed.<br />As it should be.</p><p>This provided that the package installed (like the printout you posted shows) actually <span class="bbu">comes from the Devuan repository</span>. </p><p>Like I pointed out, the problem* posted by kapqa (not related to the original post) would seem to indicate that the package installed may not be from the Devuan repository.&#160; &#160; * printout points to a typical error in Linux systems using <span class="bbc">systemd</span>.</p><p>That said, note that the link posted leads to a Debian <span class="bbc">open-iscsi</span> wiki page.&#160; </p><p>@kapqa<br />You may want to consider opening a separate thread with your problem and start by posting the terminal printout from this:</p><div class="codebox"><pre><code>$ uname -a</code></pre></div><div class="codebox"><pre><code>$ cat /etc/apt/sources.list</code></pre></div><div class="codebox"><pre><code>$ apt list | grep -i installed | grep -i open-iscsi</code></pre></div><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sun, 20 Apr 2025 08:29:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55358#p55358</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan as iSCSI originator - umount issues on shutdown]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55357#p55357</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>* unless there has been some error in the processing / sanitising for use in Devuan for which a bug report should be filed with the Devuan maintainers.</p></div></blockquote></div><p>No nothing with the systemd gets installed when getting the package on your machine. Who knows afterwards I have nothing to test it with.</p><div class="codebox"><pre class="vscroll"><code>root@9600k:~# apt install open-iscsi
Installing:                     
  open-iscsi

Installing dependencies:
  libisns0t64  libopeniscsiusr

Summary:
  Upgrading: 0, Installing: 3, Removing: 0, Not Upgrading: 3
  Download size: 475 kB
  Space needed: 2,183 kB / 17.9 GB available

Continue? [Y/n] y
Get:1 http://ca.deb.devuan.org/merged excalibur/main amd64 libopeniscsiusr amd64 2.1.11-1 [61.1 kB]
Get:2 http://ca.deb.devuan.org/merged excalibur/main amd64 libisns0t64 amd64 0.101-1+b1 [93.5 kB]
Get:3 http://ca.deb.devuan.org/merged excalibur/main amd64 open-iscsi amd64 2.1.11-1 [320 kB]
Fetched 475 kB in 5s (88.6 kB/s)    
Preconfiguring packages ...
Selecting previously unselected package libopeniscsiusr.
(Reading database ... 192304 files and directories currently installed.)
Preparing to unpack .../libopeniscsiusr_2.1.11-1_amd64.deb ...
Unpacking libopeniscsiusr (2.1.11-1) ...
Selecting previously unselected package libisns0t64:amd64.
Preparing to unpack .../libisns0t64_0.101-1+b1_amd64.deb ...
Unpacking libisns0t64:amd64 (0.101-1+b1) ...
Selecting previously unselected package open-iscsi.
Preparing to unpack .../open-iscsi_2.1.11-1_amd64.deb ...
Unpacking open-iscsi (2.1.11-1) ...
Setting up libisns0t64:amd64 (0.101-1+b1) ...
Setting up libopeniscsiusr (2.1.11-1) ...
Setting up open-iscsi (2.1.11-1) ...
Processing triggers for libc-bin (2.41-7) ...
Processing triggers for man-db (2.13.0-1) ...
Processing triggers for initramfs-tools (0.147) ...
update-initramfs: Generating /boot/initrd.img-6.12.22-amd64</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (RedGreen925)]]></author>
			<pubDate>Sun, 20 Apr 2025 02:43:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55357#p55357</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan as iSCSI originator - umount issues on shutdown]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55355#p55355</link>
			<description><![CDATA[<p>Hello:</p><div class="quotebox"><cite>kapqa wrote:</cite><blockquote><div><p>... using &quot;open-iscsi&quot; there is error with devuan<br /><a href="https://wiki.debian.org/SAN/iSCSI/open-iscsi" rel="nofollow">https://wiki.debian.org/SAN/iSCSI/open-iscsi</a></p><div class="codebox"><pre><code>systemctl not found</code></pre></div></div></blockquote></div><p>The printout points to a typical error in Linux systems using <span class="bbc">systemd</span>.<br />Devuan is not one of them.</p><p>From the web:</p><div class="quotebox"><blockquote><div><p>If systemctl is not found on your system, it usually means the systemd service manager is not installed or configured correctly.<br />This can happen if the system is not fully updated or if you&#039;ve removed systemd accidentally.<br />To fix this, you&#039;ll need to install or reinstall systemd.</p></div></blockquote></div><p><span class="bbc">systemd</span> has been <span class="bbu">intentionally</span> removed from Devuan, no failed update or accident to speak of there.&#160; 8^° </p><p>The installed <span class="bbc">open-iscsi</span> application is looking for <span class="bbc">systemctl</span> (part of the <span class="bbc">systemd</span> package) but cannot find it, hence the error printout.</p><p>At the risk of stating the obvious, this <span class="bbu">should not</span> happen* if the installed <a href="https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&amp;q=open-iscsi&amp;x=submit" rel="nofollow">open-iscsi</a> package is the one present in the Devuan repositories.</p><p>* unless there has been some error in the processing / sanitising for use in Devuan for which a bug report should be filed with the Devuan maintainers.</p><p>HTH.</p><p>Best,</p><p>A.</p>]]></description>
			<author><![CDATA[dummy@example.com (Altoid)]]></author>
			<pubDate>Sat, 19 Apr 2025 12:53:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55355#p55355</guid>
		</item>
		<item>
			<title><![CDATA[Re: Devuan as iSCSI originator - umount issues on shutdown]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=55354#p55354</link>
			<description><![CDATA[<p>hello ,</p><p>i have usecase other way around</p><p>create SCSI - Lun on NAS and then mount it on Devuan, since there is most often &quot;permission denied&quot; when i try to access Iso files directly on&#160; NAS via smb or afp (got to figure how to set access rights correctly, but it seems wide issue on NAS).</p><p>however when using &quot;open-iscsi&quot; there is error with devuan</p><p><a href="https://wiki.debian.org/SAN/iSCSI/open-iscsi" rel="nofollow">https://wiki.debian.org/SAN/iSCSI/open-iscsi</a></p><p>[color]</p><div class="codebox"><pre><code>systemctl not found</code></pre></div><p>[/color]</p><p>got any idea on how get this to function ion Devuan?</p><p>Thanks.</p>]]></description>
			<author><![CDATA[dummy@example.com (kapqa)]]></author>
			<pubDate>Sat, 19 Apr 2025 12:21:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=55354#p55354</guid>
		</item>
		<item>
			<title><![CDATA[Devuan as iSCSI originator - umount issues on shutdown]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=29433#p29433</link>
			<description><![CDATA[<p>Good evening all,</p><p>I realize this is probably not a genuine Devuan issue, it probably applies to older Debian as well.</p><p>I have set up my Beowulf box as iSCSI originator using open-iscsi (target is a Synology box) and so far it is working well. The only trouble is that the iSCSI &quot;drive&quot; does no unmount in time on shutdown and reboot, making it practically impossible to reboot the machine (need to hard-reset it). The drive in question is mounted with these options in fstab:</p><div class="codebox"><pre><code>LABEL=ISCSI     /home   ext4    defaults,auto,_netdev   0       0</code></pre></div><p>The messages I&#039;m getting are:</p><div class="codebox"><pre><code>acpid: exiting
[ 1852.014742]   connection2:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4295352890, 
last ping 4295354170, now 4295355456</code></pre></div><p>Can anyone comment on this? I suspect&#160; the order of stopping the network connections, iSCSI daemons and unmounting is the problem. Debian Buster is always unmounting the drive and shutting down properly.</p>]]></description>
			<author><![CDATA[dummy@example.com (Fjalar)]]></author>
			<pubDate>Wed, 28 Apr 2021 23:31:20 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=29433#p29433</guid>
		</item>
	</channel>
</rss>
