Red Hat Bugzilla – Bug 56326
Cannot from /dev/md2 to /dev/md1
Last modified: 2015-01-04 17:01:35 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Description of problem:
I created 3 raid partitions - md0, md1, md2. I remove md1 and try to swap
md2 to md1. It doesn't work.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create 3 'raid 1' partitions: md0, md1, md2
2. Remove /dev/md1 from /etc/raidtab
3. Change /dev/md2 to /dev/md1 in /etc/raidtab
4. Reboot the machine
Actual Results: I see the message:
Starting RAID devices: md0 md1
Could this be a zero-length partition ?
fsck.ext2: Attempt to read block from filesystem resulted in short read
while trying to open /dev/md1
The partition that composes original /dev/md2 are no AUTORAID detection.
Even though, it seems kernel starting the raid before it gets to the
script ( rc.sysinit ).
After the error I described above, when it jumps me to the prompt and I do
a 'cat /proc/mdtstat', I see md0 and md2. I run 'raidstop /dev/md2' and
then 'raidstart /dev/md1', look at 'cat /proc/mdstat' and md2 is there