Bug 159191 - [fusefs-ntfs] write on fusefs-ntfs mounted partition returns random errors EIO, ENOENT
Summary: [fusefs-ntfs] write on fusefs-ntfs mounted partition returns random errors EI...
Status: Closed Feedback Timeout
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 8.2-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-25 20:30 UTC by Mikhail.Kupchik
Modified: 2015-12-25 05:16 UTC (History)
1 user (show)

See Also:


Attachments
smime.p7s (4.67 KB, application/pkcs7-signature)
2011-07-26 16:43 UTC, Remko Lodder
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail.Kupchik 2011-07-25 20:30:12 UTC
Writing large (200MB+) files into ntfs partition managed by fuse + ntfs-3g + libublio (on umass device) yields random write errors, usually EIO or ENOENT.

Versions of the software:
1) Kernel: FreeBSD-8.2-RELEASE, i386, generic
2) NTFS-3G: 2011.4.12 external FUSE 27
3) FUSE kernel module: fusefs-kmod-0.3.9.p1.20080208_7
4) FUSE userspace libs: fusefs-libs-2.7.4
5) UBLIO library (userspace cache for block devices): libublio-20070103

How-To-Repeat: 1) Get USB flash thumbdrive, 1Gb in my case
2) Quickformat it in Windows ("format I: /FS:NTFS /Q") and unplug via tray icon as usually
3) Plug USB flash thumbdrive to FreeBSD box
4) kldload /usr/local/modules/fuse.ko
5) ntfs-3g /dev/da0s1 /mnt/usb
6) dd if=/dev/random of=/usr/rndfile.bin bs=1M count=300
7) cp /usr/rndfile.bin /mnt/usb/rndfile.bin
8) After some time, cp exits with error message
cp: /mnt/usb/rndfile.bin: No such file or directory
Comment 1 Remko Lodder 2011-07-26 16:43:10 UTC
> 


NTFS writing through a third party application. Is there a way you can confirm that our USB subsystem is to blame instead of the
various additional things that are not from us?

HPS: I added you as a CC, you might be able to assist in case this is indeed our subsystem. The user reports that there are write
problems when using third party applications and kernel modules to write to NTFS.

-- 
/"\   Best regards,				| remko@FreeBSD.org
\ /   Remko Lodder			|
X    http://www.evilcoder.org/	| Quis custodiet ipsos custodes
/ \   ASCII Ribbon Campaign	| Against HTML Mail and News




Comment 2 Remko Lodder freebsd_committer freebsd_triage 2011-07-26 16:44:50 UTC
State Changed
From-To: open->feedback

I asked for feedback 


Comment 3 Remko Lodder freebsd_committer freebsd_triage 2011-07-26 16:44:50 UTC
Responsible Changed
From-To: freebsd-i386->freebsd-usb

Assign to USB team