LinuxQuestions.org
Visit Jeremy's Blog.
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 09-02-2009, 03:57 PM   #1
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Rep: Reputation: 49
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, 04: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, 04:15 PM   #3
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
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 anon091; 09-02-2009 at 04:16 PM.
 
Old 09-02-2009, 04: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, 04:43 PM   #5
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
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, 06:27 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 09:44 AM   #7
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
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, 06:53 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 11:23 AM   #9
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

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

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


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

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

All times are GMT -5. The time now is 06:02 PM.

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