LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   having some troubles mounting a second drive (https://www.linuxquestions.org/questions/linux-hardware-18/having-some-troubles-mounting-a-second-drive-442915/)

jfall 05-08-2006 06:12 PM

having some troubles mounting a second drive
 
I installed a second hard drive in my server on the IDE2 channel. The bios and Linux see the drive fine.

First, I zeroed out the drive using: dd bs=1024k if=/dev/zero of=/dev/hdc

Then I edited the partition using: fdisk /dev/hdc -- created a new primary partition using all space and wrote the partition table.

I then created the partition as EXT3 using: mkfs.ext3 -m 0 -j /dev/hdc1

The above steps appear to have worked fine, however when I try to mount the drive it says that it's all ready mounted or the mount location is busy (which does not appear to be the case)

#mount /dev/hdc1 /backup
#mount: /dev/hdc1 already mounted or /backup busy


#mount
/dev/hda5 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda8 on /hsphere type ext3 (rw,usrquota)
/dev/hda7 on /tmp type ext3 (rw,noexec,nosuid,nodev)
/dev/hda3 on /usr type ext3 (rw)
/dev/hda2 on /var type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

#umount /dev/hdc1
umount: /dev/hdc1: not mounted

I've tried rebooting and also adding the following to the fstab to no avail:

/dev/hdc1 /backup ext3 defaults 1 1

For some reason linux wants to think that this drive is mounted although it is not. Any ideas?

Emerson 05-08-2006 08:47 PM

This error may come up if you are in /backup directory when attempting to mount.


All times are GMT -5. The time now is 05:18 PM.