xfs
[Top] [All Lists]

Re: PARTITION PROBLEM

To: rvfrancisco@xxxxxxxxxx, linux-xfs@xxxxxxxxxxx
Subject: Re: PARTITION PROBLEM
From: Michael Loftis <mloftis@xxxxxxxxx>
Date: Fri, 22 Aug 2003 00:31:38 -0600
In-reply-to: <1664.192.168.0.54.1061533424.squirrel@xxxxxxxxxxxxxxx>
References: <1664.192.168.0.54.1061533424.squirrel@xxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
This is tricky.  Yes and no.

The RAID5 is hidden by the hardware. your DISK expanded to 102G, but your partitions and possibly your partition table say only 68G. *IF AND ONLY IF (IFF)* the partition you want to expand is not adjacent to (cylinder wise) other partitions (IE it is at the end of the disk) you *should* be able to change the size of the partition, then use xfs_growfs to make it fit the new partition size.

Backup your data first. It should work OK, but I am in NO way taking responsibility if it screws up. ;)

#include <stddisclaim.h>



--On Friday, August 22, 2003 2:23 PM +0800 rvfrancisco@xxxxxxxxxx wrote:

Hello,

I just want to know is there any way to repartitioning a RAID5 without
losing my data? I'm using Adaptec 2120s SCSI Raid controller, Redhat 7.3
O/S, Kernel 2.4.18-18.7.xsmp. My problem is I started raid 5 with 3 SCSI
Disk and 1 Hot Spare. Now I need to add 1 SCSI disk to Raid5, I Already
add the SCSI disk using hardware Raid5. Before its Partion size is 68G.
then after rebuilding it become 102G. But in my problem is when I check my
partition in Redhat it is still 68G. How can I repartition Raid5 to expand
the capacity? Is there packages needed to repartion my Hardisk? Thanks....

Regards,
Rodel Francisco
System Administrator







<Prev in Thread] Current Thread [Next in Thread>