Are you sure /home2 is blank? Anything inside /home2 already?
Try to mount /dev/hdd1 elsewhere:
mkdir /home4; mount /dev/hdd1 /home4
--AM
Bill Tangren wrote:
I am having a problem mounting a file system on a hard disk that I
installed in a backup computer. The BIOS recognizes the existence of
the hard disk. I am able to use fdisk to partition the disk, and
mke2fs to put an ext3 filesystem on it. Mounting it produces an error.
I am NOT using LVM. This is what I did:
[root@aa2 ~]# fdisk /dev/hdd
The number of cylinders for this disk is set to 58168.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-58168, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-58168, default 58168):
Using default value 58168
Command (m for help): p
Disk /dev/hdd: 30.0 GB, 30020272128 bytes
16 heads, 63 sectors/track, 58168 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdd1 1 58168 29316640+ 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[root@aa2 ~]# mke2fs -j -L /home2 /dev/hdd1
mke2fs 1.35 (28-Feb-2004)
Filesystem label=/home2
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
3670016 inodes, 7329160 blocks
366458 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=8388608
224 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632,
2654208,
4096000
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 28 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[root@aa2 ~]#
/dev/hdd1 /home2 ext3
defaults 1 1
[root@aa2 ~]# mount /home2
mount: /dev/hdd1 already mounted or /home2 busy
[root@aa2 ~]# mount /dev/hdd1
mount: /dev/hdd1 already mounted or /home2 busy
[root@aa2 ~]# umount /dev/hdd1
umount: /dev/hdd1: not mounted
[root@aa2 ~]#
As you can see, there are no errors until I try to mount. I've looked
at the mount point and see no problems. Any suggestions?
Bill Tangren
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list