xfs
[Top] [All Lists]

Re: EXPANSION PARTITION PROBLEM

To: rvfrancisco@xxxxxxxxxx
Subject: Re: EXPANSION PARTITION PROBLEM
From: "Simon Matter" <simon.matter@xxxxxxxxxxxxxxxx>
Date: Thu, 28 Aug 2003 08:19:24 +0200 (CEST)
Cc: linux-xfs@xxxxxxxxxxx
Importance: Normal
In-reply-to: <1356.192.168.0.54.1062027684.squirrel@xxxxxxxxxxxxxxx>
References: <1356.192.168.0.54.1062027684.squirrel@xxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: SquirrelMail/1.4.1
>
>
> GOOD DAY!,
>
> I just want to know is there any way to expand a RAID5 partition 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 my raid5 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 expand my partion in Raid5
> to expand the capacity? Is there packages needed to repartion my Hardisk?
> or is their any particular command do i need to run?
> Thanks....

Did you read the reply I sent yesterday. The problem is that we can't know
how your RAID controller expands an RAID5 array.

If the old device looks like this:

+-----------------------+
+-----------------------+

and after growing it looks like this:

+--------------------------------------+
+--------------------------------------+

then you can use fdisk in expert mode to change the size of your drive in
the partition table and change the partition in this table. Then use
xfs_grows to grow the filesystem on the growed partition.
I don't know how to change the partition table because I have to read the
fdisk docs before I do it.

Simon

>
> Regards,
> Rodel Francisco
> System Administrator
>
>
>
>
>
>
>
>
>


-- 
Simon Matter              Tel:  +41 61 695 57 35
Fr.Sauter AG / CIT        Fax:  +41 61 695 53 30
Im Surinam 55
CH-4016 Basel             [mailto:simon.matter@xxxxxxxxxxxxxxxx]


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