Red Hat Bugzilla – Bug 212267
lvm'd multipath'd iscsi luns don't shutdown properly
Last modified: 2010-01-11 21:27:27 EST
Description of problem:
When a NetApp LUN is mounted via iscsi, and then device-mapper-multipath maps
it to /dev/dm-#, and then lvm2 uses it as a physical device and subsequently
in a logical volume and volume group, it seems to complicate the
standard "shutdown -rf" reboot process.
I've taken a few snapshots of the console while my machine reboots in order to
catch the errors. But I'll do my best to retype them below.
Luckily, it doesn't HANG, but I do wonder how good it is on the
data/filesystem of this LUN.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Mount up a Netapp LUN over iSCSI using multipath-dm
2. Add it to a LVM
3. shutdown -rf
Stopping multipathd daemon: device-mapper: waitevent ioctl failed: Interrupted
Searching for iscsi-based multipath maps
Found 1 maps
Flushing iscsi-based multipath map, mpath60
mpath60: map in use (I imagine because of LVM)
Stopping iscsid: [OK]
iscsi-sfnet:host1: Session dropped
iscsi-sfnet:host2: Session dropped
iscsi-sfnet:host3: Session dropped
iscsi-sfnet:host4: Session dropped
Removing iscsi driver: ERROR: Module iscsi_sfnet is in use [FAILED]
(i may have missed something important here)
scsi4 (0:9): rejecting I/O to dead device
device-mapper: dm-multipath: Failing path 8:32.
scsi3 (0:9): rejecting I/O to dead device
device-mapper: dm-multipath: Failing path 8:16.
Buffer I/O error on device dm-1, logical blcok 13098993
Buffer I/O error on device dm-1, logical blcok 13098994
Buffer I/O error on device dm-1, logical blcok 13098995
A good clean shutdown, w/o all the warnings.
I haven't tested this scenario W/O lvm2 being involved.
sorry about the duplicate of 212265.. i kept getting this error after
Invalid Product Name
The product name '' is invalid or does not exist.
*** This bug has been marked as a duplicate of 212266 ***