UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
root@ubuntu:/mnt # l
total 1
drwxr-xr-x 2 root root 1024 2005-07-05 07:44 x
root@ubuntu:/mnt # /etc/init.d/dbus-1 restart
* Stopping Hardware abstraction layer: [ ok ]
* Stopping system message bus: [ ok ]
* Starting system message bus: [ ok ]
* Starting Hardware abstraction layer: [ ok ]
root@ubuntu:/mnt # mount /dev/hda4 x
mount: /dev/hda4 already mounted or x busy
root@ubuntu:/mnt # mount
/dev/mapper/casper-snapshot on / type auto (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
/dev on /.dev type unknown (rw,bind)
none on /dev type tmpfs (rw,size=5M,mode=0755)
root@ubuntu:/mnt # fdisk /dev/hda
Command (m for help): p
Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 131 65992+ 83 Linux
/dev/hda2 * 132 262 66024 83 Linux
/dev/hda3 263 783 262584 82 Linux swap
/dev/hda4 784 155061 77756112 83 Linux
Command (m for help): q
root@ubuntu:/mnt # **PULL HAIR FROM HEAD***
PS hda1 and hda2 are ext2 and mount just fine
Last edited by tunasashimi; 07-05-2005 at 02:54 AM.
Are you sure it ain't mounted already? I know that my old Mandrake-distro mounted everything into /mnt/, but my Ubuntu-distro mounted my NTFS-disks into the /media/-folder...
Originally posted by Waerner Are you sure it ain't mounted already? I know that my old Mandrake-distro mounted everything into /mnt/, but my Ubuntu-distro mounted my NTFS-disks into the /media/-folder...
I updated to latest kernel using apt-get and am now also having this issue. Something is wrong with ubuntu/debian. I have been a linux server administrator (RH 6.2 on) for a very long time now. I have mounted a lot of drives ; ) Tried to mount drives that were busy too. This one's not...
I am trying to mount /dev/sdb to /media/windows. It mounted under redhat fine.
From the ubuntu site:
Code:
Q: How to mount Windows partitions (NTFS) on boot-up, and allow all users to read only?
1. Read General Notes
2. Read How to list partition tables?
3.
e.g. Assumed that /dev/hda1 is the location of Windows partition (NTFS)
Local mount folder: /media/windows
4.
sudo mkdir /media/windows
sudo cp /etc/fstab /etc/fstab_backup
sudo gedit /etc/fstab
5. Append the following line at the end of file
/dev/hda1 /media/windows ntfs nls=utf8,umask=0222 0 0
6. Save the edited file (sample)
7. Read How to remount /etc/fstab without rebooting?
-------
I am using SATA drives so mine are /dev/sda and /dev/sdb. It's not a mirror set.
$sudo mount -a produces:
Code:
viza@anon:/$ sudo mount -a
mount: /dev/sdb already mounted or /media/windows busy
$sudo mount produces:
Code:
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev on /.dev type unknown (rw,bind)
none on /dev type tmpfs (rw,size=5M,mode=0755)
usbfs on /proc/bus/usb type usbfs (rw)
so it's not mounted
here is fstab (only one partition so no number necessary)
If I tack on a 0 to /dev/sdb in fstab and rerun mount -a
Code:
viza@anon:/$ sudo mount -a
mount: special device /dev/sdb0 does not exist
lsof | grep windows produces:
Code:
viza@anon:/$ sudo lsof | grep windows
viza@anon:/$
So windows isn't busy.
And the good old mount command produces:
Code:
mount: /dev/sdb already mounted or /media/windows busy
Code:
viza@anon:/$ uname -a
Linux anon 2.6.11-1-686 #1 Fri Feb 11 15:59:02 UTC 2005 i686 GNU/Linux
As well Nautilus now locks entire computer up requiring a cold reboot. Good thing I am a fluxbox user ; ). The default ubuntu gnome desktop freezes computer. According to logs it's a kernel panic. As well, I needed to increase the apt-get cache size considerably. I think something's bad on this kernel build, and it's some sort of disk IO thing.
Code:
update---
started up using 2.6.10 i386 and nautilus issue cleared up
mount is still busy. No more kernel panics tho...
If anyone knows what's going on here or has seen this, I would love to hear from you. I could mount this drive under dedrat fine.
If anyone is still reading this thread: I had the same problem after installing a custom kernel and solved it by doing 'sudo apt-get remove evms'. It is apparently caused by the enterprise volume management service. This may remove some other packages, so be careful.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.