LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-02-2009, 04:57 PM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Rep: Reputation: 46
How to add a new array through CLI


Hi guys. Eventually I'm going to have to add a new external array to a RHEL server. I'm good with installing the controller card into the server physically, booting it and dropping into the BIOS to RAID5 the array, but once Linux starts to boot, i'm clueless. Any tips or good articles out there I should read?
 
Old 09-02-2009, 05:14 PM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
Does the new array show in the drive list when you issue:

fdisk -l


Regards,

Fordeck
 
Old 09-02-2009, 05:15 PM   #3
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
I don't actually have the array yet, it's in the mail! I'm just trying to prepare. someone told me that the server might not come up right when I do this, so trying to do some background before I blow up a server :-( something about adding new drives to linux, he couldn't really explain. not sure if it has to do with the partition table or whatever its called in linux.

Last edited by rjo98; 09-02-2009 at 05:16 PM.
 
Old 09-02-2009, 05:34 PM   #4
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
If I remember correctly once you've added the controller and drives, using the controllers firmware to setup your array. You should be able to see the array as a single drive using 'fdisk -l' once booted. You should then be able to setup that drive using fdisk, and then put a file system on it using mkfs. Then create a mount point to mount it to. Depending on your particular hardware/system your mileage may vary.


Regards,

Fordeck
 
Old 09-02-2009, 05:43 PM   #5
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
Thanks for the advice. Guess I'm just extra paranoid because of the server i have to add it into, its kinda important.
 
Old 09-02-2009, 07:27 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Its prob simpler to boot the system off the install DVD and add it in from there.
You'll be able to test the functionality without booting from the normal boot disk.
I take it you've checked the RH HW compatibility KB? !!
 
Old 09-03-2009, 10:44 AM   #7
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
It's the exact same array, just with bigger drives, that's currently in the system now, so I think it should be good.

I'm not following how I would run the install CD to install a new array, won't that mess up my existing server which i'm adding this new array into?
 
Old 09-03-2009, 07:53 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
When the DVD boots up, you get a text prompt, enter

linux rescue

you then mount your normal system so you can read/write to it, but the OS you're actually running is the one in RAM from the DVD, not the one on the HDD.
Very handy way to test stuff without messing up your HDD. When you're happy, you can add the fstab entry to your HDD.
 
Old 09-04-2009, 12:23 PM   #9
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
OH, that does sound like a handy feature!!

I've actually never added storage to an existing server, better figure out fstab...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Add together everything in an array genderbender Programming 11 06-08-2009 08:32 AM
Bash Variable Array, Trying to add another value into the array helptonewbie Linux - Newbie 6 03-03-2009 12:18 AM
Script to add user and password without using CLI Lalita Drolia Linux - Newbie 11 06-07-2007 02:26 PM
How do I add/remove/manage services from the CLI? neocookie Fedora 3 11-24-2005 11:01 AM
RH9, How to add another IP Address in CLI praefex Linux - Networking 3 11-19-2003 12:59 PM


All times are GMT -5. The time now is 02:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration