Solved

installing a new HDD

Posted on 2003-12-02
9
240 Views
Last Modified: 2010-04-21
i have installed a new HDD on my linux redhat 9 machine.. but it has detected it as a new hardware on reboot. plus what do i need to do to make it available to the system

mount it rite.. well i need help.. Thanks in advance
and do i need to format it or something like for file system .. etc.. like we do in windows
0
Comment
Question by:lomaree
9 Comments
 
LVL 1

Author Comment

by:lomaree
ID: 9864452
or maybe if i do fdisk /dev/hdb and then partition it rite.. rite
0
 
LVL 40

Expert Comment

by:jlevie
ID: 9864542
To add a disk to an existing system you need to first use fdisk to set up one or more partitions. Then it's necessary to use mke2fs to make a file system on the new partition(s). Once those tasks have been completed you can modify /etc/fstab to mount the new file system at boot.
0
 
LVL 1

Author Comment

by:lomaree
ID: 9864778
yeah i got that one correct , i have also formatted the newly partitioned hdd using

mkfs -t ext2 -j /dev/hdb1

but now i can't seems to mount the file system . what do i do .
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
ID: 9866753
If you have a valid file system on the partition you need a mount point for it (e.q., 'mkdir /new-disk') and you should then be able to mount it with 'mount /dev/hdb1 /new-disk'. To have it mounted at boot an entry in /etc/fstab is needed, something like:

/dev/hdb1                /new-disk           ext3    defaults        1 2
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 9878496
mkdir /mnt/drive2
mount -t ext2 /dev/hdb1 /mnt/drive2

Should do the trick:)...obviously as root!
0
 
LVL 40

Expert Comment

by:jlevie
ID: 10179671
I believe I provided the answer to this question.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10328447
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by jlevie
Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

khkremer
EE Cleanup Volunteer
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
open source backup solution 1 42
Bash script - Exit out of choice loop 2 53
rsyslog raw message 4 35
Certificate Request CentOS/Apache 1 16
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question