mdadm help - (Dapper Server)
Ainsley Pereira
ubuntu-users at pebble.org.uk
Thu Jun 1 14:48:08 UTC 2006
On Thu, Jun 01, 2006 at 09:03:04AM -0500, Steve Kratz wrote:
> I have an 8-drive software array running on a /dev/md0 software array. On
> older slackware linux servers, I always had a "raidhotadd /dev/md0
> /dev/hdX1" option to replace a failed drive. I've not been able to figure
> out the safest way to get this to happen with the mdadm tools.
>
> Anyone have any expert advice for replacing a failed drive?
You can add with:
mdadm /dev/md0 --add /dev/hdX1
(like raidhotadd)
and remove with:
mdadm /dev/md0 --fail /dev/hdX1 --remove /dev/hdX1
(marks it as failed first, then removes it, like raidsetfaulty and
raidhotremove).
Hope that helps,
Ainsley
More information about the ubuntu-users
mailing list