You are not logged in.

#1 2011-02-17 14:14:13

trc
Member
From: Beaver Dam, WI
Registered: 2010-01-14
Posts: 85
Website

netfs failure on shutdown, can't unmount NTFS device

I get a failure on shutdown from the netfs daemon say thats my NTFS device cannot be unmounted because it is still busy. I have my device added to mount on boot in fstab using the normal options

I have used the fuser and lsof utilities to find the problem as was recommended but have been unable to come up with anything as there are dozens of different processes that apparently run on the device.

The reason I have my NTFS mounted on boot is because I share the Music/Downloads/Videos folders from windows with Arch using symbolic links.

Google hasn't revealed anything useful sad

Below are a copy of my /etc/fstab and the daemons I have running from /etc/rc.conf

# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
devpts                 /dev/pts      devpts    defaults            0      0
shm                    /dev/shm      tmpfs     nodev,nosuid        0      0
/dev/sda5              /boot         ext2      defaults            0      1
/dev/sda6              /             ext4      defaults            0      1
/dev/sda7              swap          swap      defaults            0      0
/dev/sda3              /mnt/windows  ntfs-3g   defaults            0      0
DAEMONS=(syslog-ng dbus netfs @preload @acpid @wicd @cpufreq @crond @tor @polipo kdm)

I don't actually have any network filesystems yet, but when I do I don't want this problem to continue obviously. For the time being until I have everything set up I have the netfs disabled.

Last edited by trc (2011-02-17 14:28:45)


~trc

Offline

#2 2011-02-17 15:43:56

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: netfs failure on shutdown, can't unmount NTFS device

netfs handles network file systems only - ntfs is not a network file system. Read the netfs script for the list of file system types processed by the script.

If you don't have any network file systems, you shoud not be running netfs.

Are there any ntfs-related errors when netfs is disabled?

Offline

#3 2011-02-17 15:53:47

jollysnowman
Member
From: Austin, TX
Registered: 2010-12-08
Posts: 35

Re: netfs failure on shutdown, can't unmount NTFS device

I don't have this error, but I do know that disabling the netfs daemon prevents my ntfs drive from mounting at boot (I tried it). There's also this post: https://bbs.archlinux.org/viewtopic.php?id=72525 that tells us what the netfs init script.

Offline

#4 2011-02-17 16:32:55

trc
Member
From: Beaver Dam, WI
Registered: 2010-01-14
Posts: 85
Website

Re: netfs failure on shutdown, can't unmount NTFS device

tomk wrote:

netfs handles network file systems only - ntfs is not a network file system. Read the netfs script for the list of file system types processed by the script.

If you don't have any network file systems, you shoud not be running netfs.

Are there any ntfs-related errors when netfs is disabled?

There are no errors with it disabled, I just don't want this to still be a problem when I add network file systems, as I will still be automounting my NTFS drive.


~trc

Offline

#5 2011-02-17 20:28:23

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: netfs failure on shutdown, can't unmount NTFS device

Yeah - I get it now. fstab says ntfs-3g, but the filesystem type when mounted is actually fuseblk, which is one of the types included in netfs. There is an open bug that you can vote for - or even submit a patch for. smile

Offline

#6 2011-02-18 16:34:08

trc
Member
From: Beaver Dam, WI
Registered: 2010-01-14
Posts: 85
Website

Re: netfs failure on shutdown, can't unmount NTFS device

thanks for the link, and I have voted on it

Would you say this is an issue where I can more or less ignore the warning?


~trc

Offline

#7 2011-02-18 19:01:51

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: netfs failure on shutdown, can't unmount NTFS device

That's up to you - important thing is you now know the cause, so you can make an informed decision.

Offline

Board footer

Powered by FluxBB