Re: invalud argument when replacing disk of raid 5 set
From: Dan Egli <hidden>
Date: 2003-11-08 16:39:10
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Juri Haberland wrote: | Dan Egli [off-list ref] wrote: | | |>I have a machine with a 3 disk raid 5 set. One of the disks has |>developed bad sectors in the parity block (I'm assuming it is in the |>block because badblocks /dev/hdb shows bad areas, badblocks /dev/md0 |>does not), which causes it to randomly get kicked out of the set. I got |>a drive to replace it with today. It's not the exact same model, but |>it's the same physical dimentions (C/H/S & capasity are identical). It's |>just a little faster than the others, with a little more cache on the |>drive. But when I repalce the bad drive with the good drive, I get |>invalid arguments when trying to bring up the array. I don't get it. |>There is a perfectly valid linux partition on the drive, /dev/hdb1 which |>meeds the same specs as /dev/hdc1 and /dev/hdd1, but replacing hdb with |>a drive showing no bad blocks won't work. | | | What commands do you exactly type and what error messages do you | exactly get? | | Juri | 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD4DBQE/rRwutwT22Jak4/4RAv1QAJdyw4dR732+FuonhE9EM+VudpZKAKCSMa7/ ljORujPwHAoD6127OmNbcQ== =qA9k -----END PGP SIGNATURE-----