Date: Sun, 17 Jan 2021 23:02:34 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: =?UTF-8?Q?BERTRAND_Jo=c3=abl?= <joel.bertrand@systella.fr>, freebsd-hackers@freebsd.org Subject: Re: Mounting swap device on iscsi target Message-ID: <6a015119-1bd9-20a7-54ce-8ca9cbaadc23@grosbein.net> In-Reply-To: <fe95f085-b516-f431-9bfd-6c4f9b63e900@systella.fr> References: <fe95f085-b516-f431-9bfd-6c4f9b63e900@systella.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
17.01.2021 17:19, BERTRAND Joël wrote: > I'm trying to mount iSCSI swap device during boot process. Of course, I > have checked that configuration doesn't contains errors. > > On running system, if I start /etc/rc.d/iscsictl start, device is > mounted without error. But not during boot, I obtains : > > Jan 17 10:48:17 pythagore iscsid[1009]: cannot open or create pidfile > "/var/run/iscsid.pid": Operation not supported > Jan 17 10:48:17 pythagore root[1010]: /etc/rc: WARNING: failed to start > iscsid > Jan 17 10:48:28 pythagore root[1014]: /etc/rc: WARNING: failed to start > iscsictl > Jan 17 10:49:20 pythagore kernel: WARNING: 192.168.10.128 > (iqn.2020-02.fr.systella.legendre.istgt:pythagore): timed out waiting > for iscsid(8) for 61 seconds; reconnecting > Jan 17 10:50:23 pythagore kernel: WARNING: 192.168.10.128 > (iqn.2020-02.fr.systella.legendre.istgt:pythagore): timed out waiting > for iscsid(8) for 61 seconds; reconnecting > > This workstation doesn't have any hard disk : > > root@pythagore:/var/log # df -h > Filesystem Size Used Avail Capacity Mounted on > 192.168.10.128:/srv/pythagore 523G 221G 276G 44% / > devfs 1.0K 1.0K 0B 100% /dev > procfs 4.0K 4.0K 0B 100% /proc > fdescfs 1.0K 1.0K 0B 100% /dev/fd > 192.168.10.128:/home 3.6T 2.4T 1.0T 71% /home For diskless system, you better create in-memory tmpfs for /var/run directory or for /var as a whole. Refer to rc.conf(5) manual page for "varmfs" setting.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a015119-1bd9-20a7-54ce-8ca9cbaadc23>