ntfs-3g can't read certain files, which windows can
I allready experienced this phenomenon on two servers.
Certain Files ntfs-3g can't read, it just prints out a "permission denied" message in syslog:
Dec 8 00:12:45 xenmaster ntfs-3g: ntfs_attr_pread error reading '/Users/FolderRedirections/ba/Desktop/pdf4/language/de-DE/de-DE.plg_editors-xtd_pdf.ini' at offset 0: 773 <> -1: Keine Berechtigung
The "Keine berechtigung" translates to "no permission" or "permission denied".
It definetely is not a permission issue.
I mounted the filesystem as root and access it as root.
- When I access the Files in Windows I don't have any problems. And now comes the interesting part. When I copy the files to an other places and back again (overwriting the original file) ntfs-3g at once is able to read them!
- chkdsk doesn't reveal any errors
- as far as i noticed, the files usually are in the same directories or subdirectories, but not necessarly all of the files in a directory and it's subdirectories are affected.
- The system used is debian squeeze. I tried it out with following ntfs-3g versions, with the same result:
2010.3.6-1 and 2011.10.9AR.1-1
- About the system setup: windows is run in a xen virtual machine. the partitions affected so far were inside an LV (logical volume of LVM2). To access the files usually a snapshot of the LV is done (windows still running), but when switching of the virtual machine and access the fs directly it results in the same problem.
- The windows versions with which the problem appeared so far were windows sb server 2008 and 2011
- It happened on two different machines, so most propably it's not a hardware failure (specially since windows didn't had any problems accessing the files)
- we are backuping on this way severall 100 000 files, on one server the error appeared with 2 files and on the other server with may be some docents all in the same directory or its subdirectory, and 3 files in an other directory. Other files of the same directories can be accessed without any problems.
any more informations you'd need?
ps. sorry if that gets a double post, but my post didn't appear in the forum after posting it the first time and waiting for several minutes...