Converting a (single-disk) RAID-0 back to a (two-disk) RAID-1
John Buttery
johnb+linuxpoweredge at academicsuperstore.com
Mon Apr 16 14:25:15 CDT 2007
* On Monday 16 April 2007 08:10, "Zembower, Kevin" <kzembowe at jhuccp.org>
wrote:
>John, The reason I knew about this was that the Dell Support Engineer
>walked me through this procedure when I had a drive fail in a 4-drive
>RAID-5 array. When I replaced the drive physically, I probably made a
>mistake and converted the whole array to a 3-drive RAID-0 with one
> drive not participating in any way. The 'omconfig' command converted
> my drives back into a 4-drive RAID-5 while it was still in use with
> no noticeable effect by my users (however, this host has very low
> load to begin with). The full conversion took about five hours for my
> 145MB 10K drives. This is a Linux system running RHEL4.
Sounds like you were in the same situation I'm in, and looked for (and
found) the same solution. You were going back to RAID-5 and I'm trying
to go back to RAID-1, but I don't think that'll make a difference.
I'm still trying to find the actual download location for this stuff;
I've found a bunch of documentation on it, and some stuff about a
web-based tool...no sign of a set of command-line tools, though.
This is the command-line I've put together that I'll run with omconfig
once I can find it and get it installed, just in case anyone wants to
comment. The example in the docs specifies the size as '800m'...can I
use 'g' instead of 'm', or do I need to do something like '132000m'?
Everything seems to be numbered from zero according to dellmgr, so
that's what I'm going with here:
omconfig storage vdisk action=reconfigure controller=0 vdisk=0 raid=r1
size=132g adisk=0:0,0:1
In 'dellmgr' under "Objects -> Logical Drives" I have one logical
drive (numbered 0). Under "Configure -> View/Add Configuration" I
have "RAID Ch-0" with one disk "ID 0" that's online (that's the
single-disk RAID-0) and a blank spot in "ID 1" which used to contain
the new disk before I removed it from the chassis.
--
John Buttery <johnb at academicsuperstore.com>
System Administrator
More information about the Linux-PowerEdge
mailing list