NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

plingis30000's avatar
plingis30000
Aspirant
Sep 05, 2011

Rsync not completing - just .xls-files is problem...

Hi!
I am trying to use Rsync to backup the NV+ to a USB-drive. For some reason there seems to be problem by backing up .xls-files. I get these type of messages in the log:

rsync: set_acl: sys_acl_set_file(dokument/MAGNUS/FRITID/linda-magnus-ekonomi/hus/månadsvis överföringar/Fastighets-kostnader2010.xls, ACL_TYPE_ACCESS): Operation not supported (45)
rsync: set_acl: sys_acl_set_file(dokument/MAGNUS/FRITID/linda-magnus-ekonomi/hus/månadsvis överföringar/Fastighets-kostnader2011.xls, ACL_TYPE_ACCESS): Operation not supported (45)
rsync: set_acl: sys_acl_set_file(dokument/MAGNUS/FRITID/ppm/valda-fonder-ändring-2010-04-28.xls, ACL_TYPE_ACCESS): Operation not supported (45)

I have not come to "the end" of the backup job because of this... Does anyone know why I´m getting this messages and how can I resolve them?

Best,
Magnus

18 Replies

Replies have been turned off for this discussion
  • Yes. All you are doing is to save a UserMapping file in your usb drive so that the new ntfs driver software knows how to map between Linux and windows users.
  • mjw wrote:
    Yes. All you are doing is to save a UserMapping file in your usb drive so that the new ntfs driver software knows how to map between Linux and windows users.


    Ok, thank you. Do you think this problem:
    viewtopic.php?f=4&t=57164&p=322707#p322707
    has to do with that Mapping file too?

    Best,
    Magnus
  • mjw wrote:
    Yes. All you are doing is to save a UserMapping file in your usb drive so that the new ntfs driver software knows how to map between Linux and windows users.


    Hi!

    I generated the ".NTFS-3G" directory and placed the "code" in the file "UserMapping" and it was still problem to go all the way to finish the job.. A bit up in the logs there were some ".doc-files" that has to been removed/renamed and after that the job was finished. I was very happy... It seems that "Microsoft Office"-files causing this problem...?

    How to go futher on do you think?

    Best,
    Magnus
  • So, I'm a bit confused - does you backup now finish 100% successfully or are there errors in the logs?
    If there are still errors, please can you post any error or warning messages you saw in the log?
  • Also, please ssh into your readynas and run this command:
    ntfs-3g -help

    My readynas prints out the following:

    tera:~# ntfs-3g -help

    ntfs-3g 2010.10.2AR.1 integrated FUSE 28 - Third Generation NTFS Driver
    Configuration type 7, XATTRS are on, POSIX ACLS are on

    Copyright (C) 2005-2007 Yura Pakhuchiy
    Copyright (C) 2006-2009 Szabolcs Szakacsits
    Copyright (C) 2007-2010 Jean-Pierre Andre
    Copyright (C) 2009 Erik Larsson

    Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

    Options: ro (read-only mount), remove_hiberfile, uid=, gid=,
    umask=, fmask=, dmask=, streams_interface=.
    Please see the details in the manual (type: man ntfs-3g).

    Example: ntfs-3g /dev/sda1 /mnt/windows

    Ntfs-3g news, support and information: http://ntfs-3g.org
  • mjw wrote:
    So, I'm a bit confused - does you backup now finish 100% successfully or are there errors in the logs?
    If there are still errors, please can you post any error or warning messages you saw in the log?


    I had errors in the logs but deleted them... I tried to regenerate an error by moving the .NTFS-3G directory and saved a word-file on the NAS and then reboot the NAS but now it goes allt the way and finished by 100 %. When there are no errors in the log I think its hard to start searching?

    But there are som major problems:
    viewtopic.php?f=124&t=57211
    and I think that all these stuff has to do with each other.

    Best,
    Magnus
  • My suggestion would be to put the UserMapping file back to the correct location, clear the backup logs, reboot, then run a completely fresh backup but use a different destination folder on your USB drive. That way, all your files will be copied once. Then post any errors that appear in the log after this backup completes. Or if there are no errors, then even better - perhaps your problem is solved.

    Also I should ask - do you have more than one user that has saved the same MS Office / excel file? The reason I ask is that I have found that when ms office files are saved first by one user then a second time by a different user, then an ACL is saved. You can actually see the ACL information for a file using the Linux getfacl command. Anyway, on the readynas backup jobs run using either the cp -p command or the rsync -Ava command. Both commands attempt to copy (preserve) file attributes such as ACLs. This always caused errors when copying to a ntfs USB drive in prior versions of Raidiator (<= 4.1.6) because the ntfs driver did not support acls. This should now be fine in 4.1.8 as long as netgear has enabled acl functionality (I'd be surprised if it's not enabled). You probably just need a UserMapping file for this to all start working. Also you should notice that without a UserMapping file all files in your backup end up losing file ownership info and show up as root/root if you do ls -l; but once you create the appropriate UserMapping file all your file ownership and your ACLs will be correctly backed up as well as the content of each file.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More