Bug 781866 - Can't unmount NTFS volumes due to unknown write activity
Summary: Can't unmount NTFS volumes due to unknown write activity
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: ntfs-3g
Version: 16
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-15 19:17 UTC by James
Modified: 2012-01-19 16:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-19 16:11:05 UTC
Type: ---


Attachments (Terms of Use)

Description James 2012-01-15 19:17:53 UTC
This is on a system containing one drive with multiple partitions: Two for Win7 and two for Linux. After mounting one of the NTFS volume through the XFCE file manager, it is not possible to unmount the volume. Attempts to do so through the GUI gives a message indicating there are still active writes pending. Using umount also gives a similar error messages regarding pending writes. 

* A few seconds after mounting, I notice a large amount of disk activity(based on the hardware LED) and the file manager becomes very unresponsive.
* Using windows, it *appears* that no changes have been made to the NTFS volume
* When mounting a FAT32 external drive, none of this happens. Performance is consistently fast and the drive can be unmounted at any time.

Comment 1 Jean-Pierre André 2012-01-17 20:30:52 UTC
> Attempts to do so through the GUI gives a message indicating
> there are still active writes pending. Using umount also
> gives a similar error messages regarding pending writes. 

What error message ?
The usual reason is that the process calling mount(8) has open files when mounting. The corresponding file descriptors are inherited by the fuse process, which do not know about them and cannot close them.

> A few seconds after mounting, I notice a large amount of disk
> activity(based on the hardware LED) and the file manager becomes
> very unresponsive.

This is for computing available disk space. This may be significant if the partition is big and is formatted with small clusters (4K recommended).

> When mounting a FAT32 external drive, none of this happens.
> Performance is consistently fast and the drive can be unmounted
> at any time.

The FAT file system is plugged within the kernel, hence it has no process inheriting open file descriptors. Computing free space depends on the number of clusters.

Comment 2 James 2012-01-19 16:11:05 UTC
Not a bug with ntfs-3g. After several tries lsof was able to show 'tumblerd' was accessing the disk.


Note You need to log in before you can comment on or make changes to this bug.