Quick Linux / RAID Questions

Two quick questions...

1) We have a RAID5 array with 3 18GB SCSI disks.  The disk is not sold anymore, unfortunately.  As long as it matches the type of SCSI controller (U160, etc), are there any other potential issues which could prevent the RAID controller or Linux from being able to add a new and/or larger disk from a different manufacturer to the RAID array?

2) I have read that basically the two things you need to expand a RAID array partition is first, to fdisk the drive, delete the partition, and recreate with the same starting cylinder, but extending it to the full length.  And second, to use resize2fs to actually expand the partition.  Is this correct, and all that is needed?

Obviously a full set of backups would be ready before any steps were taken.

Thanks in advance.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
1.  You can use any SCSI disk as long as it's the same size or larger to replace a failed disk or to go from a 3 disk to a 4 disk or more container.  If you used a slower disk, all the drives would operate slower.

2.  Sorry - can't help here.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hi Wraezor,
2. I seriously doubt you can do this. The reason being is that RAID 5 splits the data across all disks evenly with one holding parity information. Therefore when you break the RAID 5 and recreate it with an additional disk the extra capacity does not just get added to the end of the logical drive so you cannot simply expand the partition.
WraezorAuthor Commented:
To clarify...grblades...

It is hardware RAID.  Correct me if I'm wrong, but if it's done in hardware, doesn't that mean that the OS doesn't actually know anything about the RAID and accesses it as a regular disk?    In which case, I wouldn't be breaking my RAID, as my controller seems to support expansion of arrays.  I'm not worried about that though, I just don't know how the OS will handle it.
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

WraezorAuthor Commented:
Thanks leew...I'll give you 40pts for that, whenever pt 2 is answered.
If it is hardware RAID and the controller supports extending the array then the OS will just see a larger disk. I haven't used reiserfs so cannot say what the procedure is to expand the partition. The procedure you mention though sounds as though it should work.
Just looked up the procedure and you are correct.

After resizing the partition you need to unmount it before you can perform the resize. Therefore if it is your boot partition you are resizing you will need to boot off a floppy or CD in order to perform the resize.
WraezorAuthor Commented:
Thanks grblades.

Has anyone actually done a hardware RAID5 expansion using this method and can verify that it works in Linux?
I don't personally know of anyone who has done it. If you have a spare machine lying around you could install Linux on it and not assign all the hard disk and then test the procedure for expanding the partition.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.