Bug 58238 - raidstart can't start when raid-disk 0 is non present
raidstart can't start when raid-disk 0 is non present
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: raidtools (Show other bugs)
7.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-01-11 10:59 EST by Carlos Morgado
Modified: 2015-01-04 17:01 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-11-25 02:08:56 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Carlos Morgado 2002-01-11 10:59:38 EST
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

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