You are not logged in.

#1 2018-09-22 17:01:47

philipW
Member
Registered: 2017-03-21
Posts: 145

Logging in to iscsi target causes system to freeze at shutdown

I have a Debian iscsi server which is use to mount storage in vm's. Iscsi is working fine for my other vm's but if i login to an target with my Arch vm it causes the system to freeze at shutdown.
When i login everything seems fine and i can mount the filesystem. but when i reboot it hangs on this message:

connection1:0: ping timeout of 5 secs expired, recv timeout 5, last rx 4295004928, last ping 42950064, now 4295008000

I have added node.startup = automatic to my " /etc/iscsi/iscsid.conf" and to "/etc/iscsi/nodes/iqn.2018-08.192.168.100.2:bigdisk/192.168.100.2,3260,1/default"
Does anyone know what caused this?

Offline

#2 2018-09-22 18:04:25

demaio
Member
From: Germany
Registered: 2012-09-02
Posts: 101
Website

Re: Logging in to iscsi target causes system to freeze at shutdown

Some time ago I had the same problem but I can't remember the details from debugging this. The last trace I followed was that I supposed the network is brought down before logging out of the iscsi target. Hence I made sure that the device was unmounted and logged out of the target before starting the shutdown... more a workaround than a solution but I didn't have time to investigate further.

Offline

#3 2018-09-23 15:03:39

edacval
Member
From: .LT
Registered: 2008-10-23
Posts: 91

Re: Logging in to iscsi target causes system to freeze at shutdown

Append _netdev to mount options in /etc/fstab

Offline

Board footer

Powered by FluxBB