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
Your system thinks that /dev/hdd1 is already mounted, or /home2 is in use in
some way. Do you have a shell which has /home2 as it's PWD?
Use the command 'fuser /home2' to try to identify what's accessing it.
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@xxxxxxxxxxxx
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list