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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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'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.
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
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.