FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Sat Jan 16, 2021 05:08



Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2  Next
[solved] fusermount: mount failed: Device or resource busy 
Author Message

Joined: Sat Mar 03, 2007 19:01
Posts: 4
Post [solved] fusermount: mount failed: Device or resource busy
When trying to mount an ntfs filesystem with ntfs-3g, I get this:
Code:
moyix@willow:~$ ntfs-3g /dev/sda1 /mnt/windows/
fusermount: mount failed: Device or resource busy
FUSE mount point creation error: No such file or directory
Unmounting /dev/sda1 ()

I checked the forum archives and found that this is often related to having old/mismatched versions of fuse and ntfs-3g. However, it looks like I have the appropriate versions of everything:
Code:
moyix@willow:~$ dmesg | grep fuse
fuse init (API version 7.8)
fuse distribution version: 2.6.3
moyix@willow:~$ ntfs-3g --version

ntfs-3g 1.0 - Third Generation NTFS Driver

Copyright (C) 2005-2006 Yura Pakhuchiy
Copyright (C) 2006-2007 Szabolcs Szakacsits

Usage:    ntfs-3g device mount_point [-o options]

Options:  ro, force, locale, uid, gid, umask, fmask, dmask,
          show_sys_files, no_def_opts, streams_interface.
          Please see the details in the manual.

Ntfs-3g news, support and information:  http://www.ntfs-3g.org

moyix@willow:~$ uname -r
2.6.20-1-686


Any thoughts? If this doesn't work out, I guess I could always go back to the old, "deficient" version of fuse, since that at least allows the filesystem to be mounted.


Sat Mar 03, 2007 19:10
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post fusermount: mount failed: Device or resource busy
What distro do you use? Did you install from source or binary packages
(version)? What is the FUSE user space version (you included only the
kernel part)? What are the outputs of the below commands?

mount
cat /proc/mounts
ldd `which ntfs-3g`
lsof /dev/sda1


Sat Mar 03, 2007 19:30
Profile

Joined: Sat Mar 03, 2007 19:01
Posts: 4
Post 
Distro: debian unstable
ntfs-3g installed from debian packages in experimental:
Code:
moyix@willow:~$ dpkg -l ntfs-3g
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                     Version                  Description
+++-========================-========================-================================================================
ii  ntfs-3g                  1.0-1                    read-write NTFS driver for FUSE


Fuse was installed by building a debian package from the fuse 2.6.3 packages and installing; I also installed the fuse kernel module from that same tarball by running ./configure --enable-kernel-module and then running make ; make install from the "kernel" subdirectory.

FUSE user-space versions:
Code:
ii  fuse-utils               2.6.3-1                  Filesystem in USErspace (utilities)
ii  libfuse-dev              2.6.3-1                  Filesystem in USErspace (development files)
ii  libfuse2                 2.6.3-1                  Filesystem in USErspace library


Output of the commands you requested:
Code:
moyix@willow:~$ mount
/dev/sda2 on / type reiserfs (rw,notail)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sdb1 on /storage type vfat (rw,noexec,nosuid,nodev,uid=1000,gid=1005,umask=002)
none on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sdc1 on /media/USB DISK type vfat (rw,noexec,nosuid,nodev,quiet,shortname=mixed,uid=1000,gid=1000,umask=077)
moyix@willow:~$ cat /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw 0 0
none /proc proc rw 0 0
udev /dev tmpfs rw 0 0
/dev/sda2 / reiserfs rw 0 0
/dev/sda2 /dev/.static/dev reiserfs rw 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
/dev/sdb1 /storage vfat rw,nosuid,nodev,noexec,uid=1000,gid=1005,fmask=0002,dmask=0002,codepage=cp437,iocharset=iso8859-1 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/dev/sdc1 /media/USB\040DISK vfat rw,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0077,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,quiet 0 0
moyix@willow:~$ ldd `which ntfs-3g`
        libntfs-3g.so.0 => /usr/lib/libntfs-3g.so.0 (0xb7f84000)
        libfuse.so.2 => /usr/lib/libfuse.so.2 (0xb7f71000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7f67000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f55000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7e24000)
        /lib/ld-linux.so.2 (0x80000000)
moyix@willow:~$ ls -l /usr/lib/libntfs-3g.so.0 /usr/lib/libfuse.so.2
lrwxrwxrwx 1 root root 16 2007-03-03 11:41 /usr/lib/libfuse.so.2 -> libfuse.so.2.6.3
lrwxrwxrwx 1 root root 19 2007-03-03 10:15 /usr/lib/libntfs-3g.so.0 -> libntfs-3g.so.0.0.0
moyix@willow:~$ sudo lsof /dev/sda1
moyix@willow:~$


Thanks for your quick reply!


Sat Mar 03, 2007 20:03
Profile

Joined: Sat Mar 03, 2007 19:01
Posts: 4
Post 
Aha!

It looks like installing the ntfs-3g from experimental does *not* pull in the appropriate version of libntfs-3g. I installed that, and everything works now.

So, the list of things to check is:
  • Version of ntfs-3g
  • Version of libntfs-3g
  • Version of fuse kernel module
  • Version of fuse user-space libraries


Thanks for your help!


Sat Mar 03, 2007 20:11
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post fusermount: mount failed: Device or resource busy
Brilliant! Thanks for figuring out this mystery :-)

Old libntfs-3g indeed exclusively locked the device before calling into
FUSE. But now FUSE does the exclusive locking and the library doesn't.
Howewer if wrong versions are used then people can have this problem.

It happened a few times and it went away by reinstalling everything. It
really seems to be a dependency problem. Would you please submit a bug
report for Debian? Thanks again.


Sat Mar 03, 2007 20:36
Profile

Joined: Sat Mar 03, 2007 19:01
Posts: 4
Post 
Filed as bug 413264.


Sat Mar 03, 2007 21:42
Profile

Joined: Sun Mar 25, 2007 22:00
Posts: 2
Post 
Hello, every one!

I use UHU Linux.
I have got same problem, but i dont understand dhis part.
"It looks like installing the ntfs-3g from experimental does *not* pull in the appropriate version of libntfs-3g. I installed that, and everything works now."
Anybady can help to me?
Me too get this:
root:~# mount /dev/hda1 /mnt/windows -t ntfs-3g -o force
WARNING: Dirty volume mount was forced by the 'force' mount option.
fusermount: mount failed: Device or resource busy
FUSE mount point creation error: Nem létező fájl vagy könyvtár
Unmounting /dev/hda1 ()

My outputs is same for dis command:
mount
cat /proc/mounts
ldd `which ntfs-3g`
lsof /dev/sda1
Sorry, for my bad english.


Sun Mar 25, 2007 22:31
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post 
gefi wrote:
I have got same problem, but i dont understand dhis part.
"It looks like installing the ntfs-3g from experimental does *not* pull in the
appropriate version of libntfs-3g. I installed that, and everything works now."

It means that the ntfs-3g Debian package (what UHU probably uses) has a
dependency problem because when you upgrade ntfs-3g then it doesn't
upgarde the ntfs-3g library, which means you have a messed up installation
with having the new ntfs-3g binary and the old ntfs-3g library.


So, check your ntfs-3g and libntfs-3g versions and upgrade both to the same,
latest stable ntfs-3g version.


Mon Mar 26, 2007 00:09
Profile

Joined: Sun Mar 25, 2007 22:00
Posts: 2
Post 
Hello szaka!
I install a new version(v 1.328), now everything is ok.
Thank you for help! :D


Fri Apr 06, 2007 21:49
Profile

Joined: Sun Jun 10, 2007 22:00
Posts: 18
Post Can't mount NTFS partition anymore
I'm new to Linux in general and Ubuntu, specifically, but I was really impressed when I found out I could use ntfs-3g to mount my NTFS partitions.

I'm triple-booting Ubuntu (Feisty), Windows XP, and Windows Vista -- and am trying to move away from Vista to Linux.

So, I installed ntfs-3g, ran ntfs-config, and mounted an NTFS partition. But I mistakenly picked read/write when I really wanted read-only. So, I unmounted the ntfs partition and ran ntfs-config again -- but this time, the volume does not show up in the list.

So, I logged into the forums here, and found out how to mount the volume manually, using the following: mount -t ntfs-3g /dev/sda5 /media/DataVol

But, I got the following errors:
Code:
fusermount: mount failed: Device or resource busy
FUSE mount point creation failed
Unmounting /dev/sda5 (DataVol)


So, I checked the forums again and found this thread which indicated that ntfs-3g version 1.328 fixed it. But, I'm running v1.328 and getting the same errors as with the earlier versions.
Code:
dpkg -l ntfs-3g:   ii  ntfs-3g        1.328-1   
dpkg -l fuse-utils: ii  fuse-utils     2.6.3-1ubuntu2 Filesystem in USErspace (utilities)  read-write NTFS driver for FUSE
dpkg -l libfuse2:  ii  libfuse2       2.6.3-1ubuntu2 Filesystem in USErspace library


Following is the result of the ldd command:
Code:
ldd `which ntfs-3g`
        linux-gate.so.1 =>  (0xffffe000)
        libntfs-3g.so.0 => /usr/lib/libntfs-3g.so.0 (0xb7f65000)
        libfuse.so.2 => /usr/lib/libfuse.so.2 (0xb7f52000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7f48000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f31000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7df0000)
        /lib/ld-linux.so.2 (0xb7f9a000)


Following is the result of the cat /proc/mounts/:
Code:
cat /proc/mounts:
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
/dev/disk/by-uuid/fb4ca788-36a4-41c4-853e-3cf837455f7f / ext3 rw,data=ordered 0 0
/dev/disk/by-uuid/fb4ca788-36a4-41c4-853e-3cf837455f7f /dev/.static/dev ext3 rw,data=ordered 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /lib/modules/2.6.20-16-generic/volatile tmpfs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
usbfs /dev/bus/usb/.usbfs usbfs rw 0 0
udev /proc/bus/usb tmpfs rw 0 0
usbfs /proc/bus/usb/.usbfs usbfs rw 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
/dev/disk/by-uuid/4bc98404-88e1-4248-97a0-29e34ca47701 /home ext3 rw,data=ordered 0 0
/dev/disk/by-uuid/6C73-2597 /share vfat rw,gid=46,fmask=0007,dmask=0007,codepage=cp437,iocharset=iso8859-1,utf8 0 0
/dev/sda5 /media/DataVol fuseblk rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0


Also, the following is my /etc/fstab/:
Code:
# /etc/fstab: static file system information.
#
#  -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

proc /proc proc defaults 0 0
# Entry for /dev/hdc1 :
UUID=fb4ca788-36a4-41c4-853e-3cf837455f7f / ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/hdc3 :
UUID=4bc98404-88e1-4248-97a0-29e34ca47701 /home ext3 defaults 0 2
# Entry for /dev/hdc4 :
UUID=6C73-2597 /share vfat defaults,utf8,umask=007,gid=46 0 1
# Entry for /dev/hdc2 :
UUID=a060ef20-2dad-41eb-a33d-220f146b0b45 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdb /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda5 /media/DataVol ntfs-3g defaults,locale=en_US.UTF-8 0 0

I've tried removing ntfs-3g and reinstalling, and get the same results.

Now what?


Sun Jun 10, 2007 22:30
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post [solved] fusermount: mount failed: Device or resource busy
Your partition is already mounted read-write, indicated by this line in
/proc/mounts:

/dev/sda5 /media/DataVol fuseblk rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other 0 0


Sun Jun 10, 2007 22:51
Profile

Joined: Sun Jun 10, 2007 22:00
Posts: 18
Post 
Yeah, I can see that, but I want it to be mounted read-only, instead.

That's what I was trying to fix when I unmounted it and ran the mount command to mount it read-only, and that's when I got the set of errors listed in the first code block.

What I want to know how to do is the following:
1) Get the device mounted read-only (unmounting and remounting fails)
2) Get ntfs-config to include the device in its selection list again.

Can anyone help?


Mon Jun 11, 2007 19:40
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post 
The ntfs-3g documentation describes (enter 'man ntfs-3g' from the command line) that one must use the 'ro' mount option for read-only mounts. This is not ntfs-3g specific, all filesystems work the same way.

Please submit the ntfs-config bug reports to http://flomertens.free.fr/ntfs-config/


Tue Jun 12, 2007 14:24
Profile

Joined: Thu Aug 23, 2007 18:26
Posts: 2
Post 
Hello, since a windowscrash some time ago I decided to go for linux fulltime (instead of just playing around). I then had 1 hard disk for linux, and 3 for windows. the ntfs partitions have been successfully mounted in fstab for a few weeks after which they stopped working. I am guessing it is the same trouble as described in this thread, but I'm not entirely sure.

I'm using Fedora 7.

It gives me the following error
Code:
[root@MainFrame /]# ntfs-3g /dev/sdb1 /mnt/ntfs/music-videos/
fuse: mount failed: Device or resource busy
FUSE mount point creation failed
Unmounting /dev/sdb1 (Music & Videos)


This is the information you requested from Moyix, so I'll give it too :)
Code:
[root@MainFrame /]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sdc1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/mapper/VolGroup00-LogVol02 on /home type ext3 (rw)
/dev/mapper/VolGroup00-LogVol03 on /home/download type ext3 (rw)
/dev/sda5 on /mnt/ntfs/documents-images type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sda6 on /mnt/ntfs/projects type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sda7 on /mnt/ntfs/downloads-unsorted type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sdb1 on /mnt/ntfs/music-videos type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sdd5 on /mnt/ntfs/games-programs type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sdd6 on /mnt/ntfs/projects2 type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sdd7 on /mnt/ntfs/downloads type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/scd0 on /media/G71-MN30004 type iso9660 (ro,nosuid,nodev,uhelper=hal,uid=500)
[root@MainFrame /]#
[root@MainFrame /]#
[root@MainFrame /]#
[root@MainFrame /]# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,data=ordered 0 0
/dev /dev tmpfs rw 0 0
/proc /proc proc rw 0 0
/sys /sys sysfs rw 0 0
none /selinux selinuxfs rw 0 0
/proc/bus/usb /proc/bus/usb usbfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/sdc1 /boot ext3 rw,data=ordered 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/VolGroup00/LogVol02 /home ext3 rw,data=ordered 0 0
/dev/VolGroup00/LogVol03 /home/download ext3 rw,data=ordered 0 0
/dev/sda5 /mnt/ntfs/documents-images fuseblk rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other 0 0
/dev/sda6 /mnt/ntfs/projects fuseblk rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other 0 0
/dev/sda7 /mnt/ntfs/downloads-unsorted fuseblk rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other 0 0
/dev/sdb1 /mnt/ntfs/music-videos fuseblk rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other 0 0
/dev/sdd5 /mnt/ntfs/games-programs fuseblk rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other 0 0
/dev/sdd6 /mnt/ntfs/projects2 fuseblk rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other 0 0
/dev/sdd7 /mnt/ntfs/downloads fuseblk rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
/etc/auto.misc /misc autofs rw,fd=6,pgrp=2290,timeout=300,minproto=5,maxproto=5,indirect 0 0
-hosts /net autofs rw,fd=11,pgrp=2290,timeout=300,minproto=5,maxproto=5,indirect 0 0
/dev/scd0 /media/G71-MN30004 iso9660 ro,nosuid,nodev 0 0
[root@MainFrame /]#
[root@MainFrame /]#
[root@MainFrame /]#
[root@MainFrame /]# ldd `which ntfs-3g`
        libntfs-3g.so.5 => /lib64/libntfs-3g.so.5 (0x00002aaaaaad0000)
        libfuse.so.2 => /lib64/libfuse.so.2 (0x00000037cd400000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00000037ce600000)
        librt.so.1 => /lib64/librt.so.1 (0x00000037d6c00000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00000037cee00000)
        libc.so.6 => /lib64/libc.so.6 (0x00000037cde00000)
        /lib64/ld-linux-x86-64.so.2 (0x00000037ccc00000)
[root@MainFrame /]#
[root@MainFrame /]#
[root@MainFrame /]#
[root@MainFrame /]# ls -l /lib64/libntfs-3g.so.5 /lib64/libfuse.so.2
lrwxrwxrwx 1 root root 16 2007-07-25 22:54 /lib64/libfuse.so.2 -> libfuse.so.2.7.0
lrwxrwxrwx 1 root root 19 2007-08-23 18:18 /lib64/libntfs-3g.so.5 -> libntfs-3g.so.5.0.0


I thought at first, after reading this thread, that I had to have a libfuses version of 2.6.0 or higher, but I do have that already.
Since I am only just switching to heavier use of Linux, I'm still rather newbies to some things. I did not clearly understand what exactly I can do about this problem.

What can be the problem here?


Thu Aug 23, 2007 18:56
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post 
According to your logs, the mount fails because they are already mounted.


Thu Aug 23, 2007 20:59
Profile

Joined: Thu Aug 23, 2007 18:26
Posts: 2
Post 
Whoops... I feel like a fool now. I thought that was weird at first, as I could not reach the mounted partitions even while they actually were mounted according to the system, not even after reboots.

I don't know what I have done different before taking the log, but I did not try reaching the partitions afterwards. I think I only retried a few basic steps like reinstalling ntfs-3g, which didn't help the first time I did that.

No wonder I could not really find a problem in the log with my lack of experience, it basically was telling me everything was working fine :P

Thanks for the fast and clear explaination of my silly problem :)


Thu Aug 23, 2007 23:05
Profile

Joined: Sat Sep 01, 2007 07:27
Posts: 1
Post same issue
First of all, I'm sorry for my bad english.
Second, thanks to everybody who's helping in some way all of us with trouble.
Third, I'm having the same issue as everybody here:

arthur@arthur-desktop:/media/Sata$ sudo mount -a
fusermount: mount failed: Device or resource busy
FUSE mount point creation failed
Unmounting /dev/sda5 (Sata)

I read all the articles, so let's go. My version is the recent one (v 1.328),
Also, I have 2 HD's NTFS on my computer. In one (hda1), the ntfs-3g works fine, and I can read and write, no problem. The problem is with the other one (sda5).
I'm also sending the results of the commands you asked. It's funny that in the first one (mount), he says that sda5 is rw (which it's not, really) and in the other command he says it's ro.
Can someone please help? Am I doing something stupid? I'm not experienced with Linux at all. My distro is Ubuntu 7.04. Thanks a lot.

arthur@arthur-desktop:/media/Sata$ mount
/dev/hdb1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.20-16-generic/volatile type tmpfs (rw)
/dev/hda1 on /media/windows type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sda2 on /media/sata2 type vfat (rw,iocharset=utf8,umask=000)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sda5 on /media/Sata type ntfs (rw,nosuid,nodev,umask=222,utf8)

arthur@arthur-desktop:/media/Sata$ cat /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
/dev/disk/by-uuid/d5a6ff2e-6e6d-40d2-ad66-74e003be2917 / ext3 rw,data=ordered 0 0
/dev/disk/by-uuid/d5a6ff2e-6e6d-40d2-ad66-74e003be2917 /dev/.static/dev ext3 rw,data=ordered 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /lib/modules/2.6.20-16-generic/volatile tmpfs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
usbfs /dev/bus/usb/.usbfs usbfs rw 0 0
udev /proc/bus/usb tmpfs rw 0 0
usbfs /proc/bus/usb/.usbfs usbfs rw 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
/dev/hda1 /media/windows fuseblk rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other 0 0
/dev/sda2 /media/sata2 vfat rw,fmask=0000,dmask=0000,codepage=cp437,iocharset=utf8 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
/dev/sda5 /media/Sata ntfs ro,nosuid,nodev,uid=0,gid=0,umask=0222,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0

arthur@arthur-desktop:/media/Sata$ lsof /dev/sda5
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
bash 5612 arthur cwd DIR 8,5 8192 5 /media/Sata
lsof 7010 arthur cwd DIR 8,5 8192 5 /media/Sata
lsof 7011 arthur cwd DIR 8,5 8192 5 /media/Sata
arthur@arthur-desktop:/media/Sata$


Sat Sep 01, 2007 07:40
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post [solved] fusermount: mount failed: Device or resource busy
/dev/sda5 is already mounted by the read-only NTFS driver.

Use either ntfs-config: http://flomertens.free.fr/ntfs-config/

or change the /dev/sda5 line in the /etc/fstab file to this one:

/dev/sda5 /mnt/Sata ntfs-3g defaults 0 0

then reboot. Make also sure that the above line is the last one
in the /etc/fstab file.


Sat Sep 01, 2007 13:19
Profile

Joined: Thu Sep 20, 2007 19:22
Posts: 5
Post 
Well another similar problem with ntfs-3g here:

Code:
fuse: mount failed: Device or resource busy
FUSE mount point creation failed
Unmounting /dev/sdb2 (WXP)


I have two ntfs partitions. Since some update (only) one of them fails to mount with the busy resource error. The other one still mounts fine.
I'm running Ubuntu.

My fstab is here:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda2       /               ext3    defaults,errors=remount-ro 0       1
/dev/sda5       none            swap    sw              0       0
/dev/scd0        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/scd1        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/sdb2       /media/C        ntfs-3g    auto,gid=1001,umask=0002,show_sys_files,locale=cs_CZ.utf8 0       0
/dev/sda1       /media/D        ntfs-3g    auto,gid=1001,umask=0002,show_sys_files,locale=cs_CZ.utf8 0       0

Both sda1 (the mountable) and sdb2 (the busy one) have the same config and I never had any problems mounting either of them until now.

Here is the info on mounted partitions, fuse & ntfs-3g version, ...
Code:
ondra@alca:~$ mount
/dev/sda2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.22-11-generic/volatile type tmpfs (rw)
/dev/sda1 on /media/D type fuseblk (rw,nosuid,nodev,noatime,allow_other,default_permissions,blksize=512)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
ondra@alca:~$
ondra@alca:~$
ondra@alca:~$ cat /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
/dev/disk/by-uuid/52e96265-96a7-4141-b836-c3f0aa4386b0 / ext3 rw,data=ordered 0 0
/dev/disk/by-uuid/52e96265-96a7-4141-b836-c3f0aa4386b0 /dev/.static/dev ext3 rw,data=ordered 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /lib/modules/2.6.22-11-generic/volatile tmpfs rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
/dev/sda1 /media/D fuseblk rw,nosuid,nodev,noatime,user_id=0,group_id=0,default_permissions,allow_other 0 0
securityfs /sys/kernel/security securityfs rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec 0 0
ondra@alca:~$
ondra@alca:~$
ondra@alca:~$
ondra@alca:~$ ldd `which ntfs-3g`
        linux-gate.so.1 =>  (0xffffe000)
        libntfs-3g.so.5 => /lib/libntfs-3g.so.5 (0xb7f17000)
        libfuse.so.2 => /lib/libfuse.so.2 (0xb7efd000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7ef8000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7eef000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ed7000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d8d000)
        /lib/ld-linux.so.2 (0x80000000)
ondra@alca:~$
ondra@alca:~$
ondra@alca:~$ ls -l /lib/libntfs-3g.so.5 /lib/libfuse.so.2
lrwxrwxrwx 1 root root 16 2007-09-19 09:41 /lib/libfuse.so.2 -> libfuse.so.2.7.0
lrwxrwxrwx 1 root root 19 2007-09-20 09:16 /lib/libntfs-3g.so.5 -> libntfs-3g.so.5.0.0


Is there anything I might have overlooked?


Thu Sep 20, 2007 21:02
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post 
What are the outputs of the below?

lsof /dev/sdb2
fdisk -l
ls -l /dev/mapper


Thu Sep 20, 2007 21:38
Profile

Joined: Thu Sep 20, 2007 19:22
Posts: 5
Post 
The lsof exited with a return code of one, yet this does not seem to mean a real error using the -V(erbose) parameter.

Code:
ondra@alca:~$ lsof /dev/sdb2
ondra@alca:~$ echo $?
1
ondra@alca:~$ sudo lsof -V /dev/sdb2
lsof: no file use located: /dev/sdb2
ondra@alca:~$
ondra@alca:~$ fdisk -l
ondra@alca:~$ echo $?
0
ondra@alca:~$
ondra@alca:~$ ls -l /dev/mapper/
celkem 0
crw-rw---- 1 root root  10, 63 2007-09-20 20:45 control
brw-rw---- 1 root disk 254,  0 2007-09-20 18:46 sdb2
brw-rw---- 1 root disk 254,  1 2007-09-20 18:46 sdb5
ondra@alca:~$


Thu Sep 20, 2007 21:51
Profile

Joined: Thu Sep 20, 2007 19:22
Posts: 5
Post 
The sdb5 from the listing is another (unused) ntfs partition that refuses to mount, too.


Thu Sep 20, 2007 21:55
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post 
The device mapper locked the partitions. Try /dev/mapper/sdb2 and dmraid -ay and then check the /dev/mapper directory again what you could mount.


Thu Sep 20, 2007 22:34
Profile

Joined: Thu Sep 20, 2007 19:22
Posts: 5
Post 
Well, sudo dmraid -ay replies "No RAID disks" but the /dev/mapper/sdb2 is mountable. Is there a way to mount the original /dev/sdb device?

I just tried the fdisk -l under root (didn't realize that I should since it didn't complain at least a little). Do I post its output here or is it irrelevant now?


Thu Sep 20, 2007 23:54
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post [solved] fusermount: mount failed: Device or resource busy
On Fri, 21 Sep 2007, cargill wrote:

Quote:
Well, sudo dmraid -ay replies "No RAID disks" but the /dev/mapper/sdb2 is
mountable. Is there a way to mount the original /dev/sdb device?

Your distribution made your /dev/sdb2 to be /dev/mapper/sdb2. If you don't
like it then please submit a bug report to your distribution. We absolutely
can't do anything about this issue, it's completely out of the ntfs-3g
development scope. Your problem seems to be a distribution or kernel bug to
me.

Quote:
I just tried the fdisk -l under root (didn't realize that I should since
it didn't complain at least a little).

Please submit a bug report to your distribution for fdisk too.

Quote:
Do I post its output here or is it irrelevant now?

Irrelevant until your distribution breaks the device mapping again. This is
really a file system and file system driver independent problem, what no
file system developer can solve, only your distribution if they would make
the devices consistently available.


Fri Sep 21, 2007 04:41
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.