Bug 200540 - rebooting with an iSCSI volume mounted causes the shutdown to hang.
Summary: rebooting with an iSCSI volume mounted causes the shutdown to hang.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Mike Christie
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-28 15:16 UTC by Barry Donahue
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-06-20 17:46:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Barry Donahue 2006-07-28 15:16:17 UTC
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.
3.
  
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.

Comment 1 Mike Christie 2006-08-30 03:38:54 UTC
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

Comment 2 Mike Christie 2007-06-20 17:46:50 UTC
The netlink error is fixed upstream and the fstab should work for the mount
problem. Closing.


Note You need to log in before you can comment on or make changes to this bug.