Re: "failed-disk" ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Robert L. Harris <Robert.L.Harris@rdlg.net> [2003-03-20 22:25]:
> 
> 
> I'm trying to "mkraid /dev/md1" with the following:
> 
> raiddev /dev/md1
>   raid-level 1
>   nr-raid-disks 2
>   nr-spare-disks 0
>   chunk-size 16
>   persistent-superblock 1
>   device failed-disk
>   raid-disk 0
>   device /dev/sdb1
>   raid-disk 1
> 
> I'm trying to convert this machine to raid1 on root.  Don't ask about
> the md1, long story.  At any rate when I do the mkraid I get this:
> 
> root@rharris-build2:~# mkraid /dev/md1
> handling MD device /dev/md1
> analyzing super-block
> couldn't call stat() on device failed-disk -- No such file or directory
> mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
> 
> root@rharris-build2.acs:~# mkraid -V
> mkraid version 0.90.0
> 
> Thoughts?

You need to use "failed-disk" in place of "raid-disk", not anywhere
else :-)

E.g.:
--8<--
device /some/dev1
raid-disk 0

device /some/dev2
failed-fisk 1
--8<--
-- 
Wolfram Schlich; Friedhofstr. 8, D-88069 Tettnang; +49-(0)178-SCHLICH

Attachment: pgp00034.pgp
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux