Reconstructing RAID-0 to RAID-10 using omconfig

Harald_Jensas at Dell.com Harald_Jensas at Dell.com
Sun Jun 10 09:11:48 CDT 2007


> -----Original Message-----
> From: Fernando Braga [mailto:fermbraga at gmail.com]
> Sent: 09 June 2007 15:07
> To: Jensas, Harald
> Cc: johnb+linuxpoweredge at academicsuperstore.com; linux-poweredge-Lists
> Subject: Re: Reconstructing RAID-0 to RAID-10 using omconfig
> 
> On 6/9/07, Harald_Jensas at dell.com <Harald_Jensas at dell.com> wrote:
> > I would sooo opt for the command you suggested yourself in the
> beginning, mind changing the size parameter:
> >
> > omconfig storage vdisk action=reconfigure controller=0 vdisk=0
> raid=r10 size=264g adisk=0:0,0:1,0:2,0:3
> >
> (snip)
> > This will, change the RAID Volume from your RADI 0 to a RAID 10 live.
> No downtime, except a reboot once it is done to get Linux to recognize
> the new drive size once you are done.
> 
> I guess you could do it without a reboot. Just fdisk it and create a
> new partition. After that, do a partprobe -s on the disk, and linux
> kernel will recognize the new partition. You now can use that
> immediately.
> 
> Kind regards,
> 
> --
> Fernando M. Braga
> +55 82 8802-9559

The problem is that fdisk does not know that the disk became larger and thus will not allow you to create a new, or extend the existing, partition.

AFAIK you will have to dynamically remove and add the drive back to the OS before fdisk will see the new size of the disk. And if you do that to a disk with mounted filesystems who knows what will happen...

Have a look at step 5 of this article for more details.
http://www.dell.com/content/topics/global.aspx/power/en/ps1q03_michael



Best regards
Harald Jensås



More information about the Linux-PowerEdge mailing list