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
|