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
> 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
State Changed From-To: open->feedback I asked for feedback
Responsible Changed From-To: freebsd-i386->freebsd-usb Assign to USB team