how do i mount a drive?

How do I mount a hard disk on a server? I've never done this before to be honest. How do I know "where it is" or what directory, ie "/backup" or such to mount to? Please explain.
How do I see all disks on the server, their full info?
I need to format it first.

I'm using IDE. This is what whm's server info shows (before mount)

Filesystem Size Used Avail Use% Mounted on
/dev/hda3 75G 3.4G 68G 5% /
/dev/hda1 99M 14M 80M 15% /boot
none 498M 0 498M 0% /dev/shm

Thanks
- newbie -

specs:
cpanel/whm
centos 3.3
SecretAgentOnlineAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SecretAgentOnlineAuthor Commented:
Ok, thats a lot of details. Can you please just post
the simple command lines for me?

By the way, this is a secondary 80GB drive too.
0
stevenlewisCommented:
do  you have a directory for it
make a dir for it
mkdir mnt/d
try mount /dev/hda3 mnt/d
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

stevenlewisCommented:
0
edkim80Commented:
try the cmd

fdisk -l

this usually shows you which drives are connected

to mount a drive type

mount -t (type of file format) /dev/hdb1 (or whatever ur device is) /any directory

so for example you could type

mount -t vfat /dev/hdb1 /mnt/edrive

make sure the directory edrive exists in /mnt and u can just cd to /mnt/edrive and ls.

Hope this helps
Ed
0
SecretAgentOnlineAuthor Commented:
ok, here are the results, please tell me what do next, thank you much

root@server [~]# fdisk -l

Disk /dev/hdc: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System

Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        13    104391   83  Linux
/dev/hda2            14       144   1052257+  82  Linux swap
/dev/hda3           145     10011  79256677+  83  Linux
0
edkim80Commented:
u want to create a filesystem on /dev/hdc so type

parted /dev/hdc mkpartfs primary ext2 1 80000

where 1 = start of partition in MB
80000 = end in MB (80000 ~ 80GB)

then u should see something like
 /dev/hdc1 under fdisk -l

then mount -t ext2 /dev/hdc1 /mnt/edrive

Regards,
Ed
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.