Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have hp ProLiant DL380. Currently, it has 3 disks (ultra 320 SCSI 36.4G) with total 69G hard drive. I want to add another disk (36.4G) to the RAID and make the new drive merge to the old one.
I have searched. The way to add new hard drive is:
fdisk or yast to partition new hard drive;
mkfs new hard drive
mount new hard drive to tmp_opt mount, copy my /opt to tmp directory, mount new hard drive to /opt, edit /etc/fstab
I have two questions:
1. How to add new disk to the RAID?
2. Will the new drive merged with old drive?
How about If i am not able to copy all files to tmp_opt?
I assume that by "hard raid" you mean a RAID where the SCSI disks
are attached to an actual RAID controller that does the RAIDing
using it's firmware and some sort of processor on the board?
I'm confused where you get the idea of individually mounting the
new drive from. The normal process for a hardware raid would be
that the controller BIOS is used to add the device to a RAID-group,
and then you'd most likely want to increase the LVM and file-system.
Mounting the disk separately seems very wrong if you want to increase
the size of your RAID.
I have no experience about adding new device to RAID group. How to use controller BIOS to add new device? After new device (or drive) added, should I partitioning the new drive?
OK, that's a perfectly fine method for people w/o a
RAID controller. As for the HOW in your case - that
will largely depend on the brand & model of your
controller, and whether the vendor has supplied tools
that allow you to grow the RAID from a running OS or
not. In no case should you need to partition anything
manually - that's what the controller will take care
of by adding the device to a raid-set.
I'd recommend reading the manual for your controller,
this is not really a Linux-question ... if HP (assuming
the controller is HP branded) provide software for your
controller read its documentation.
"No, that's not possible. The code to be able to expand a raid5 has been finalized March 17th, 2006 and will be included in the upcoming 2.6.17 release of the linux kernel. (2.6.17rc3-mm1 is already available and contains the code.)
I doubt webmin will include this functionality any time soon (if ever). So you would need to update your kernel (and possibly mdadm), then expand the raid and after that expand the filesystem. Both the last steps are highly critical and I wouldn't go anywhere near this unless you have a full backup of the data."
It seems not that easy. Could someone has first hand experience give me some advice? Thanks
How did webmin get into the picture? The thread is talking about a software
RAID, which has nothing to do with your situation. Did you check on controller
type and its documentation?
Even to get first hand statements from others they'll need to know
the type of your controller ...
I found HP ProLiant Essentials Foundation Pack, with HP SmartStart, which can help server management and array controller configuration. I read the documentation, but it only has the method to install PSPs(Linux ProLiant Support Pack) for Linux. After installation, I have no idea how to use it. I have no experience on software or hardward RAID array set up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.