Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-24-2009, 05:16 AM   #1
LQ Newbie
Registered: Oct 2009
Posts: 28

Rep: Reputation: 15
adding extra hard disk over rhel5

Hi guys..!!
I am trying to add a new hard disk over RHEL5. i tried to create a new partition table and my disk is getting detected as sdb1 (as i numbered it as 1).. but mounting over a new directory is not getting succesful.. any help or troubleshoot...

thanks in advance..
Old 12-24-2009, 07:07 AM   #2
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
Here's a basic Step by Step:
# fdisk /dev/sda
Press “m” to get the help menu
Press “p” to print existing partition table
Press “n” to create new partition
Press “w” to save the partition created
To re-probe the partitions that you created. If you don’t run this command, the kernel won’t be able to see the partition.
# partprobe
This command is to format the partition with ext3 file system.
# mkfs.ext3 /dev/sdaX
Mount the partition into a mount point to begin using it. You have to make that directory first of course.
# mount /dev/sdaX /mnt/data
Finally, you might want to make it permanent by adding the line in fstab.
# vi /etc/fstab
/dev/sdaX  /mnt/data  ext3  defaults 0 0

Last edited by ongte; 12-24-2009 at 07:13 AM.
Old 12-24-2009, 07:34 AM   #3
LQ Newbie
Registered: Oct 2009
Posts: 28

Original Poster
Rep: Reputation: 15
thanks for the reply.. le'me try this.. thanks once again


disk, hard

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
Adding second hard disk with windows to boot with grub on first hard disk rushadrenaline Linux - Hardware 3 07-08-2009 05:39 AM
Install 2 RHEL5 Linux onto 1 Hard disk mamijaya Linux - Newbie 3 05-16-2008 05:46 AM
Add an extra hard disk to an existing one without data loss and use them as single??? nics Linux - Hardware 4 04-27-2007 04:57 PM
extra hard disk space ic_torres Linux - Hardware 7 11-03-2005 08:56 PM > Forums > Linux Forums > Linux - Newbie

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

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