[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EXPANSION PARTITION PROBLEM
>
> GOOD DAY!,
Rodel,
Don't use so many capital letters, this makes your mail look like spam!
>
> 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?
How did the RAID adapter enlarge the partition? In fact partition is not
the right name because it has enlarged the block device on which you
partitions are stored. If it simplay appended more blocks at the end of
the device, you have to modify your partition table to respect the new
physical size. Then you have to grow the partition where you XFS
filesystems sits on. And then, you can grow the XFS filesystem with
xfs_growfs. You can do the first two steps with fdisk, but maybe there is
an easier way. I'm sure there is someone on this list who can tell you
exactly how to do it with fdisk, sfdisk or whatever.
Simon
> Thanks....
>
> 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@ch.sauter-bc.com]