Re: Diskless Debian stretch ISCSI boot (uefi) and shutdown hanging problem
On Wed, Jul 19, 2017 at 07:40:01AM +0200, Franz Angeli wrote:
> Hi,
>
> i have one diskless server able to boot with ISCSI, uefi is configures
> to reach iscsi target and volume correctly;
>
> i installed Debian 9 with debian installer ad all works fine, at the
> end of installation process i remount root filesystem with (chroot
> /target) and edit initaramfs.conf with:
>
> IP=10.10.200.150::10.10.200.1:255.255.255.0:ti******1.mk*******.it:eno1
>
> and after i update initramfs with:
>
> update-initramfs -u
>
> system boot correctly and works fine.
>
> Problem is during shutdown, system hanging with:
>
> a stop job is running for ifup for eno1
>
> a stop job is running for Raise network interfaces
>
> and i have to reset the server...
>
> I know i can do the same with:
>
> "ISCSI_AUTO=true" on /etc/iscsi/iscsi.initramfs
>
> but i need a static IP configured as i do.
I think that this is because systemd wants to shut down your
network before it unmounts the rootfs, but it also knows the
rootfs depends on the network.
I don't have an answer, just a possible clue.
-dsr-
Reply to: