Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm new to RAID. Creating a new RAID1 array from blank, newly-partitioned 100GB disks with

sudo mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/xvdf1 /dev/xvdg1

...looks to be taking about an hour to rebuild. My questions are:

  1. are there any shortcuts that can be taken on this initial "resync", since there's not (AFAIK) any data I need copied between the empty disks

  2. can I blithely format /dev/md0 and treat it like a normal disk while it's in the middle of its initial sync, as long as I'm okay with it being in a "degraded" state for a bit?

share|improve this question

2 Answers 2

up vote 3 down vote accepted
mdadm --create --assume-clean ...

See the mdadm manpage for drawbacks.

share|improve this answer

I don't know about a shortcut, but you can start to use it immediately, with a reduced performance as only drawback.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.