Bug 977312

Summary: mdadm Software Raid 1 hangs on FC path loss
Product: Red Hat Enterprise Linux 6 Reporter: Ralf Wagner <ralf_wagner1>
Component: mdadmAssignee: Doug Ledford <dledford>
Status: CLOSED NOTABUG QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4   
Target Milestone: rc   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-24 17:16:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ralf Wagner 2013-06-24 09:51:45 UTC
Description of problem:

I wanted to try out mdadm Software Raid 1 and assigned two FC LUNs to a test Server and did a standard Setup. After successfull setup i deassigned one of the two LUNs to simulate a desaster szenario. The software raid became unusable.


Version-Release number of selected component (if applicable):

mdadm-3.2.5-4.el6_4.1.i686

How reproducible:


Steps to Reproduce:
1. Assign two fc luns fc-lun1 fc-lun2 
2. create software raid 1: mdadm --create  --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/mapper/fc-lun1 /dev/mapper/fc-lun2 
3. mkfs.ext4  /dev/md0 + mount /dev/md0 /mnt/test
4. deassign one of the luns from step1

Actual results:

- mdadm --detail /dev/md0 ---> does not terminate
- cat /proc/mdstat ---> does not terminate
- /mnt/test is not writable

Expected results:

- raid status info with the commands
mdadm --detail /dev/md0 or
cat /proc/mdstat
- writeble /mnt/test filesystem


Additional info:
words cannot describe my disappointment

Comment 1 Ralf Wagner 2013-06-24 09:58:59 UTC
i will recheck my multipath setup, maybe multipath tries to hide the path loss ....

Comment 3 Ralf Wagner 2013-06-24 10:26:11 UTC
OK, sorry guys this was my fault (wrong multipath.conf), very embarrassing. Ticket can be closed.

Comment 4 Doug Ledford 2013-06-24 17:16:25 UTC
OK, closing out.  Glad to hear it works for you ;-)