Re: invalud argument when replacing disk of raid 5 set

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

 



Dan Egli <dan@eglifamily.dnsalias.net> wrote:
> Juri Haberland wrote:

> | What commands do you exactly type and what error messages do you
> | exactly get?
> |
> This is from memory because I"m at home and the machine is at the
> office. But it should be close enough.
> 
> # raidstart /dev/md0
> raidstart: Invalid Argument
> 
> if I let the system auto-start it during boot, it looks like this:
> 
> Starting Raid Devices: /dev/md0
> raidstart: Invalid Argument
> /dev/md0 is not a RAID0 or LINEAR set

I think you should use mdadm:

mdadm --assemble /dev/md0 /dev/hdc1 /dev/hdd1 --run
mdadm --manage /dev/md0 --add /dev/hdb1

Cheers,
Juri

-- 
Juri Haberland  <juri@koschikode.com> 

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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