All of lore.kernel.org
 help / color / mirror / Atom feed
* Another RAID level migration question
@ 2007-08-09 21:46 Bill Davidsen
  2007-08-10  1:55 ` Neil Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Bill Davidsen @ 2007-08-09 21:46 UTC (permalink / raw)
  To: Linux RAID

I have an array on two drives which was set up as a RAID-0, because I 
needed the space and performance. Now I have another identical drive, 
ideally I would like to get to RAID-5, but I don't think that is going 
to fly, so how about RAID-4? I could create with a missing parity drive, 
then add the drive and see if it will rebuild.

I hope to test this using loop devices, but time is fairly short right now.

-- 
bill davidsen <davidsen@tmr.com>
  CTO TMR Associates, Inc
  Doing interesting things with small computers since 1979


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

* Re: Another RAID level migration question
  2007-08-09 21:46 Another RAID level migration question Bill Davidsen
@ 2007-08-10  1:55 ` Neil Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2007-08-10  1:55 UTC (permalink / raw)
  To: Bill Davidsen; +Cc: Linux RAID

On Thursday August 9, davidsen@tmr.com wrote:
> I have an array on two drives which was set up as a RAID-0, because I 
> needed the space and performance. Now I have another identical drive, 
> ideally I would like to get to RAID-5, but I don't think that is going 
> to fly, so how about RAID-4? I could create with a missing parity drive, 
> then add the drive and see if it will rebuild.
> 
> I hope to test this using loop devices, but time is fairly short right now.

Providing the two drives are exactly the same size (which rounded down
to a multiple of 64K), this  will work.  The parity drive is the last
in the list so
   mdadm -C /dev/mdX -l4 -n3 -c WHATEVER /dev/sda1 /dev/sdb1 missing

is the sort of thing you want.

NeilBrown

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

end of thread, other threads:[~2007-08-10  1:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-09 21:46 Another RAID level migration question Bill Davidsen
2007-08-10  1:55 ` Neil Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.