Red Hat Bugzilla – Bug 200540
rebooting with an iSCSI volume mounted causes the shutdown to hang.
Last modified: 2007-11-30 17:11:39 EST
Description of problem: Mount and iSCSI volume and then try shutdown -r now. The
system will hang forever waiting to dismount the filesystems.
Version-Release number of selected component (if applicable): 2.6.17-1.2431.fc6.
How reproducible: Always
Steps to Reproduce:
1.Mount iSCSI volume.
2.shutdown -r now.
Actual results: First we get an error shutting down the iSCSI initiator.
Stopping iSCSI initiator service: KERNEL: assertion
(!atomic_read(&sk->sk_rmem_alloc) failed at net/netlink/af_netlink.c (145)
Later when trying to unmount the file systems, we get this error.
Unmounting file systems: iscsi cannot broadcast skb (-3)
connection1:0: iscsi detected comm error (1011)
Expected results: The system should shut down cleanly.
Additional info: The iSCSI target is a celerra.
For iscsi the mount must be in fstab with the _netdev option. This prevents
iscsi from stopping before the network and umount scripts are called. Do a man
mount for more info on _netdev. It is something like this:
/dev/sdb /mnt ext3 _netdev 0 0
The netlink error is fixed upstream and the fstab should work for the mount