[lug] LVM and modifying software RAID setup

Sean Reifschneider jafo at tummy.com
Fri Nov 3 22:38:08 MST 2006


On Fri, Nov 03, 2006 at 04:27:30AM +0000, D. Stimits wrote:
>Do the modern fedora and similar systems LVM allow creating a RAID-0 
>stripe, and then later on adding more drives and turning it into a 

No, that's not handled by LVM anyway, it's handled by md.  While you can't
directly grow a live RAID-0 into a RAID-10, you *CAN* create a RAID-* with
failed devices, and later add them.  See the manual page for mdadm to see
how to do this.  So, you could create a 4 drive RAID-10, with 2 failed
devices, which would give you effectively RAID-0.  Then, later, you could
add two more devices and hot-add them to the RAID-10 set.  Of course, this
all assumes that your system will hot-detect new devices. Otherwise, a
reboot may be required.

Sean
-- 
 Hell hath no fury, like a file-system scorned.  -- Sean Reifschneider, 1998
Sean Reifschneider, Member of Technical Staff <jafo at tummy.com>
tummy.com, ltd. - Linux Consulting since 1995: Ask me about High Availability
      Back off man. I'm a scientist.   http://HackingSociety.org/




More information about the LUG mailing list