Mailinglist Archive: opensuse (2572 mails)

< Previous Next >
Re: [opensuse] RAID disarray
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Thu, 01 Jan 2009 13:49:29 +0100
  • Message-id: <gjie4p$bjn$3@xxxxxxxxxxxxxxxx>
Bob Williams wrote:

On Thursday 01 January 2009 11:31:15 Per Jessen wrote:


I think it's easily dealt with by removing sdb1 from the array and
then re-adding it, but let's see the output of 'cat /proc/mdstat'.


~> cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdc1[1]
976759864 blocks super 1.0 [2/1] [_U]
bitmap: 396/466 pages [1584KB], 1024KB chunk

unused devices: <none>

This is what you need:

mdadm --manage /dev/md0 --add /dev/sdb1

With that, you're hot-adding sdb1 and your array will immediately start
re-synchronising. You can verify and follow that
with 'cat /proc/mdstat'


/Per

--
/Per Jessen, Zürich

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups