LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-02-2009, 01:42 PM   #1
yang_wayne
Member
 
Registered: Jan 2009
Posts: 40

Rep: Reputation: 15
How to add another disk to hard RAID 5 in SLES 9


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?


Thanks,

Lisa
 
Old 02-02-2009, 04:13 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi,

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?



Cheers,
Tink
 
Old 02-02-2009, 08:38 PM   #3
yang_wayne
Member
 
Registered: Jan 2009
Posts: 40

Original Poster
Rep: Reputation: 15
Yes. And I don't understand why after mount, should copy /opt to tmp_opt
 
Old 02-02-2009, 09:05 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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.
 
Old 02-03-2009, 08:48 AM   #5
yang_wayne
Member
 
Registered: Jan 2009
Posts: 40

Original Poster
Rep: Reputation: 15
I read this article about how to add new drive:
http://www.linuxquestions.org/questi...-drive-109305/

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?

So what is the steps for the whold process?

Thanks for the help.
 
Old 02-03-2009, 10:14 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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.


Cheers,
Tink
 
Old 02-03-2009, 12:32 PM   #7
yang_wayne
Member
 
Registered: Jan 2009
Posts: 40

Original Poster
Rep: Reputation: 15
Read something about this:
https://www.linuxquestions.org/quest...ackage-443406/

"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
 
Old 02-03-2009, 01:33 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
*sigh*

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 ...



Cheers,
Tink
 
Old 02-06-2009, 09:48 AM   #9
yang_wayne
Member
 
Registered: Jan 2009
Posts: 40

Original Poster
Rep: Reputation: 15
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.

Please help me. Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add hard drive to SLES 9 yang_wayne Linux - Hardware 5 02-02-2009 02:26 PM
How do I add RAID 1 to existing system on SLES 10 twn2 SUSE / openSUSE 0 01-12-2008 12:08 PM
How could add new Hard Disk in Raid umar79 Linux - General 4 11-06-2007 12:47 AM
Add a second hard disk manoj142 Linux - Hardware 3 10-25-2005 12:48 PM
hard to add second HD for raid 0 after linux is installed? bwalsh Linux - Hardware 1 08-27-2004 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration