Bug 58238

Summary: raidstart can't start when raid-disk 0 is non present
Product: [Retired] Red Hat Linux Reporter: Carlos Morgado <chbm>
Component: raidtoolsAssignee: Dave Jones <davej>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: pfrields, volker
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-25 07:08:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carlos Morgado 2002-01-11 15:59:38 UTC
raiddev /dev/md1
        raid-level      1
        nr-raid-disks   2
        nr-spare-disks  0
        chunk-size      4
        persistent-superblock 1
        device          /dev/hdc6
        raid-disk       0
        device          /dev/hda6
        raid-disk       1

If I disconnect /dev/hdc raidstart complains /dev/hdc6 is not accessible and
won't start the raid device.

I if make raidtab look like
raiddev /dev/md1
        raid-level      1
        nr-raid-disks   2
        nr-spare-disks  0
        chunk-size      4
        persistent-superblock 1
        device          /dev/hda6
        raid-disk       0
        device          /dev/hdc6
        raid-disk       1
and disconnect /dev/hdc it does starts /dev/md1 in degraded mode. Note I just
changed the order of the devices in raidtab.
raidstart just stops reading raidtab when the first listed fails and marks the
md unavailable.

RH7.2 w/ updates - raidtools-0.90-24