NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
mjw1
Sep 03, 2010Aspirant
[SOLVED] NTFS Operation Not Supported (45)
[PLEASE JUMP HERE IF YOU WANT TO GO STRAIGHT TO THE SOLUTION] I have been struggling with a few permissions related problems and would really appreciate some help: This is my setup: - User mode...
mjw1
Oct 30, 2010Aspirant
ewok wrote: So I tested the build of ntfs-3g and got the invalid argument error with cp like you mentioned in the other thread. rsync doesn't seem to error out though. cp-based backups will still fail.
Both cp and rsync worked in my tests so there must be some difference in our respective setups. It is possible to get the "invalid argument" error if you miss out step 5 in the instructions a couple of posts back. The error occurs when you execute a command that attempts to copy ACLs but you have not provided NTFS-3G with an ACL mapping file. I've also seen the same error when using any version of NTFS-3G except the absolute latest (ntfs-3g_2010.10.2AR2-1readynas-1_sparc.deb). Any earlier version still contains the bug. My suggestions would be to install this actual version rather than the one built by your build engineer at least initially so that we are certain to be running the same code.
You can also easily check the version as follows (but this doesn't immediately tell you if the Posix ACL compilation option was used):
# ntfs-3g --version
ntfs-3g 2010.10.2AR.1 integrated FUSE 28
Did you create your "UserMapping" file within the ".NTFS-3G" subdirectory and include the correct string? If not, then please try again after doing that.
Also, are you certain that the driver was compiled with the option to enable ACLs ("--enable-posix-acls" )? You can check if UserMapping has been specified and Posix ACL support is compiled in by mounting in "debug" mode using a mount command such as:
umount /USB/USB_HDD_1
ntfs-3g -o debug,user_xattr,rw,sync,noatime,allow_other /dev/sda1 /USB/USB_HDD_1 2> /tmp/ntfs-3g.err
The driver will output something similar to the following into /tmp/ntfs-3g.err:
utime_omit_ok: 0
Version 2010.10.2AR.1 integrated FUSE 28
Mounted /dev/sda1 (Read-Write, label "OneTouch4", NTFS 3.1)
Cmdline options: debug,acl,user_xattr,rw,sync,noatime,allow_other,blksize=4096
Mount options: acl,rw,sync,allow_other,allow_other,nonempty,noatime,fsname=/dev/
sda1,blkdev,blksize=4096
User mapping built, Posix ACLs in use, configuration type 7
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.8
If everything is working as expected you should see a line that says User mapping built, Posix ACLs in use, configuration type 7
Regards,
Mark
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!