FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Fri Jun 18, 2021 20:57



Post new topic Reply to topic  [ 6 posts ] 
NTFS-3G problem: ntfs_attr_pread returned less bytes... 
Author Message

Joined: Mon Mar 12, 2007 05:06
Posts: 6
Post NTFS-3G problem: ntfs_attr_pread returned less bytes...
First of all, thanks for ntfs-3g! :-)

I'm using NTFS-3G on FreeBSD 6.2 to access my Windows partitions. Mounting goes ok, despite

Code:
Failed to open /proc/filesystems: No such file or directory
modprobe: not found
Failed to open /proc/filesystems: No such file or directory


but after browing a while, I see this error in /var/log/messages

Code:
ntfs_attr_pread returned less bytes than requested.


and Konqueror (which I'm using to browse the hd) hangs. Top /ps show ntfs-3g using quite a lot of processor time, but I have no clue what it is doing.


Mon Mar 12, 2007 05:13
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post NTFS-3G problem: ntfs_attr_pread returned less bytes...
Hi. Do you use ntfs-3g from here?
http://www.freshports.org/sysutils/fusefs-ntfs


Mon Mar 12, 2007 10:41
Profile

Joined: Mon Mar 12, 2007 05:06
Posts: 6
Post 
Yes, everything on my system is build from ports (some packages are just fetched, not build, such as KDE, and Xorg, since they take a lot of time to build).


Mon Mar 12, 2007 17:13
Profile

Joined: Mon Mar 12, 2007 05:06
Posts: 6
Post 
Looked a bit deeper in this, but I think I narrowed it down to an underlying NTFS-corruption issue.

The drive suffered/filesystem some damage a while ago when Windows BSOD at an unfortunate moment. chkdsk recovered the damage, but apparently not as well as it should :-(


Wed Mar 14, 2007 14:13
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post 
Yes, it looked either a FreeBSD porting issue or NTFS corruption. But since this "ntfs_attr_pread returned less bytes" problem haven't been reported by Linux, FreeBSD, etc users thus it indeed seems more like another Windows NTFS bug. This is not so surprising, we regularly meet with them, e.g.

http://support.microsoft.com/kb/925308/
http://support.microsoft.com/kb/831374/
http://support.microsoft.com/kb/873437/

One day I plan to collect and document all these Microsoft NTFS bugs.

Unfortunately it's also true that chkdsk isn't very good. Sometimes it can even remove completely valid files, so it's strongly recommended to make a full backup before running it!!


Wed Mar 14, 2007 14:42
Profile

Joined: Mon Mar 12, 2007 05:06
Posts: 6
Post 
Thanx for the reply! Darn those Windows Bugs, but at least I can now use ntfs-3g to check dirs for corrupt files ;-) I'm still utterly confused as to why chkdsk misses those issues, but then again, I never really understand MS as it comes to their software...

As for backing up... It is a 250GB drive, so difficult to backup to convential media and it isn't important enough use professional backup equipment.


Wed Mar 14, 2007 15:48
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.