format/mount 2nd hard drive problems

I have a 250GB SATA hard drive as the primary hard drive i need to add a 120GB IDE for back up storage. centos 4.2

This is what i have done so far.. but i cant get it to work. bold are the commands.

Code:
fdisk /dev/hda
Code:
Command (m for help): p

Disk /dev/hda: 120.0 GB, 120034123776 bytes
16 heads, 63 sectors/track, 232581 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
e
Partition number (1-4): 1
First cylinder (1-232581, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-232581, default 232581):
Using default value 232581

Command (m for help): p

Disk /dev/hda: 120.0 GB, 120034123776 bytes
16 heads, 63 sectors/track, 232581 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1      232581   117220792+   5  Extended

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
Code:
[root@mike ~]# mkfs -t ext3 /dev/hda1
mke2fs 1.35 (28-Feb-2004)
/dev/hda1: Invalid argument passed to ext2 library while setting up superblock
[root@mike ~]#
If i select p (primary) i get the following error.
Code:
[root@mike ~]# mount -t ext3 /dev/hda1 /data1
mount: /dev/hda1 already mounted or /data1 busy
I would like to mount the IDE drive as /data1

Any thought why i cant do it?

 

 

 

 

Top