LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-08-2006, 06:12 PM   #1
jfall
Member
 
Registered: Oct 2002
Location: PEI
Distribution: Slackware
Posts: 56

Rep: Reputation: 15
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?
 
Old 05-08-2006, 08:47 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubles with mounting hard-drive. Cannot even mount or access in root. eBopBob Linux - Hardware 4 08-19-2004 06:09 AM
troubles mounting zip drive ixtys Linux - Hardware 1 08-15-2004 11:35 AM
mounting troubles ahimsel08 Linux - Hardware 16 06-27-2004 08:28 AM
Troubles mounting floppy drive liv-n-letliv Linux - Hardware 4 06-23-2003 01:17 PM
Troubles mounting floppy drive liv-n-letliv Linux - Hardware 0 06-20-2003 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration