linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rebuilding Raid1 array
@ 2012-05-17 18:15 Wiliam Colls
  2012-05-17 19:44 ` John Robinson
  0 siblings, 1 reply; 2+ messages in thread
From: Wiliam Colls @ 2012-05-17 18:15 UTC (permalink / raw)
  To: linux RAID


We recently had one of the disks in a 2 disk RAID1 array go down. We 
successfully removed the failed unit from the array, replaced the 
physical disk, and rebooted. Once back up and running the partition 
table from the working disk was copied to the new physical disk, and 
then the appropriate partition was added back into the array, and the 
array began to resync, and now appears to be running happily.

In reviewing the process afterwards, I realised that the partition was 
never formatted (ext3). Does the resync apply the format as part of the 
process? mdstat shows the expected results:

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] 
[raid4] [raid10]
md0 : active raid1 sdc1[0] sdb1[1]
       244195904 blocks [2/2] [UU]

and there are no error messages in the system log.

Thanks for your time.

-- 
I know that you believe that you understand what you think I said, but I 
am not sure that you realise that what you heard was not what I meant.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: rebuilding Raid1 array
  2012-05-17 18:15 rebuilding Raid1 array Wiliam Colls
@ 2012-05-17 19:44 ` John Robinson
  0 siblings, 0 replies; 2+ messages in thread
From: John Robinson @ 2012-05-17 19:44 UTC (permalink / raw)
  To: Wiliam Colls; +Cc: linux RAID

On 17/05/2012 19:15, Wiliam Colls wrote:
> We recently had one of the disks in a 2 disk RAID1 array go down. We
> successfully removed the failed unit from the array, replaced the
> physical disk, and rebooted. Once back up and running the partition
> table from the working disk was copied to the new physical disk, and
> then the appropriate partition was added back into the array, and the
> array began to resync, and now appears to be running happily.
>
> In reviewing the process afterwards, I realised that the partition was
> never formatted (ext3). Does the resync apply the format as part of the
> process?

Yes, md operates below the level of the filesystem, and mirrors 
everything including the format and filesystem, so you don't need to 
format member devices before building an array or replacing them.

Cheers,

John.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-17 19:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-17 18:15 rebuilding Raid1 array Wiliam Colls
2012-05-17 19:44 ` John Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).