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

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

Postby plingis30000 » Mon Sep 05, 2011 6:13 am

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
plingis30000
ReadyNAS User
 
Posts: 65
Joined: Mon Mar 23, 2009 4:40 am

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

Postby WhoCares? » Mon Sep 05, 2011 6:16 am

What's the file system type of the USB disk?

-Stefan
Follow me on Twitter or visit my web site
If you like my add-ons (Image downloads so far), please consider a --> donation. and get your entry in the "Hall of Fame".
(Current download to donation ratio: 0,19% [405:1])
User avatar
WhoCares?
ReadyNAS Add-ons Expert
 
Posts: 2919
Joined: Tue Jan 15, 2008 6:34 am
Location: At my desk ;)
ReadyNAS: Pro

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

Postby plingis30000 » Mon Sep 05, 2011 6:32 am

WhoCares? wrote:What's the file system type of the USB disk?

-Stefan


Thanks Stefan!
I´m running the USB with another job right now so I can not check the file system now. But how do I find it?

Best,
Magnus
plingis30000
ReadyNAS User
 
Posts: 65
Joined: Mon Mar 23, 2009 4:40 am

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

Postby WhoCares? » Mon Sep 05, 2011 6:52 am

Either by looking at the USB disk information in Frontview or by connecting the drive to a PC and have a look using some sort of disk partitoning software.

-Stefan
Follow me on Twitter or visit my web site
If you like my add-ons (Image downloads so far), please consider a --> donation. and get your entry in the "Hall of Fame".
(Current download to donation ratio: 0,19% [405:1])
User avatar
WhoCares?
ReadyNAS Add-ons Expert
 
Posts: 2919
Joined: Tue Jan 15, 2008 6:34 am
Location: At my desk ;)
ReadyNAS: Pro

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

Postby plingis30000 » Mon Sep 05, 2011 12:44 pm

Ok I see... It´s NTFS as I can see...

1 Seagate Desktop [Partition 1] 221 GB 931 GB NTFS 480
plingis30000
ReadyNAS User
 
Posts: 65
Joined: Mon Mar 23, 2009 4:40 am

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

Postby WhoCares? » Mon Sep 05, 2011 1:29 pm

Then there's your problem. While the ReadyNASis able to write to NTFS partitions it doesn't - due to limitations in the driver used - support all of NTFS's features, most prominently ACLs. To get that support and also speed up your backups to USB drives I'd recommend reformatting the drive using the ext3 or ext4 format. Be aware however that neither of these can be read on a Windows machine natively. You'd need a Linux or a Mac system to be able to read from those drives without buying a special file system driver.

-Stefan
Follow me on Twitter or visit my web site
If you like my add-ons (Image downloads so far), please consider a --> donation. and get your entry in the "Hall of Fame".
(Current download to donation ratio: 0,19% [405:1])
User avatar
WhoCares?
ReadyNAS Add-ons Expert
 
Posts: 2919
Joined: Tue Jan 15, 2008 6:34 am
Location: At my desk ;)
ReadyNAS: Pro

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

Postby plingis30000 » Tue Sep 06, 2011 1:38 am

WhoCares? wrote:Then there's your problem. While the ReadyNASis able to write to NTFS partitions it doesn't - due to limitations in the driver used - support all of NTFS's features, most prominently ACLs. To get that support and also speed up your backups to USB drives I'd recommend reformatting the drive using the ext3 or ext4 format. Be aware however that neither of these can be read on a Windows machine natively. You'd need a Linux or a Mac system to be able to read from those drives without buying a special file system driver.

-Stefan


Ok, I understand. I tried to copy the .xls-files in another name and delete the original and finally the backup-job finished so I have to decide if I want to read the files from a PC or not in the future... Maybe I will by a Mac in the future and then reformat the drive to extX...

Thanks a lot for this help Stefan!

Best,
Magnus
plingis30000
ReadyNAS User
 
Posts: 65
Joined: Mon Mar 23, 2009 4:40 am

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

Postby mjw » Sat Sep 10, 2011 12:07 pm

I had the same problem as you a year back running RAIDiator 4.1.6. The solution was to
1) Install a newer version of the NTFS-3G driver (kindly provided by "WhoCares?"). The good news is that the latest version of RAIDiator now includes an updated NTFS-3G driver so this step should not be needed any more (caveat: I haven't upgraded to try this myself yet)
2) With the NTFS drive connected to your PC, create a folder on your NTFS drive called ".NTFS-3G"
3) Create a file in the .NTFS-3G folder called "UserMapping"
4) Put exactly this text into the UserMapping file and save
Code: Select all
::S-1-5-21-3141592653-589793238-462643383-10000

5) Safely disconnect the USB drive from the PC (should be an icon in the icon tray to do this)
6) Connect your NTFS USB drive to your readynas and switch on the USB drive
7) Reboot your readynas

After that backups should work with no issues. Even file ownership will copy across correctly.

RAIDiator 4.1.8 includes NTFS-3G 2011.1.15 which supports ACLs.
mjw
ReadyNAS Expert
 
Posts: 220
Joined: Tue Nov 29, 2005 9:05 pm
ReadyNAS: X6

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

Postby plingis30000 » Tue Sep 20, 2011 2:28 am

Ok, does it work for you with no problems after that?

Best,
Magnus

mjw wrote:I had the same problem as you a year back running RAIDiator 4.1.6. The solution was to
1) Install a newer version of the NTFS-3G driver (kindly provided by "WhoCares?"). The good news is that the latest version of RAIDiator now includes an updated NTFS-3G driver so this step should not be needed any more (caveat: I haven't upgraded to try this myself yet)
2) With the NTFS drive connected to your PC, create a folder on your NTFS drive called ".NTFS-3G"
3) Create a file in the .NTFS-3G folder called "UserMapping"
4) Put exactly this text into the UserMapping file and save
Code: Select all
::S-1-5-21-3141592653-589793238-462643383-10000

5) Safely disconnect the USB drive from the PC (should be an icon in the icon tray to do this)
6) Connect your NTFS USB drive to your readynas and switch on the USB drive
7) Reboot your readynas

After that backups should work with no issues. Even file ownership will copy across correctly.

RAIDiator 4.1.8 includes NTFS-3G 2011.1.15 which supports ACLs.
plingis30000
ReadyNAS User
 
Posts: 65
Joined: Mon Mar 23, 2009 4:40 am

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

Postby mjw » Tue Sep 20, 2011 5:05 am

Why not just try this out for yourself?
mjw
ReadyNAS Expert
 
Posts: 220
Joined: Tue Nov 29, 2005 9:05 pm
ReadyNAS: X6

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

Postby plingis30000 » Tue Sep 20, 2011 6:40 am

mjw wrote:Why not just try this out for yourself?


Is it safe?
plingis30000
ReadyNAS User
 
Posts: 65
Joined: Mon Mar 23, 2009 4:40 am

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

Postby mjw » Tue Sep 20, 2011 9:47 am

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
ReadyNAS Expert
 
Posts: 220
Joined: Tue Nov 29, 2005 9:05 pm
ReadyNAS: X6

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

Postby plingis30000 » Tue Sep 20, 2011 10:50 am

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
plingis30000
ReadyNAS User
 
Posts: 65
Joined: Mon Mar 23, 2009 4:40 am

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

Postby plingis30000 » Wed Sep 21, 2011 3:46 am

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
plingis30000
ReadyNAS User
 
Posts: 65
Joined: Mon Mar 23, 2009 4:40 am

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

Postby mjw » Wed Sep 21, 2011 5:00 am

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?
Last edited by mjw on Wed Sep 21, 2011 5:08 am, edited 1 time in total.
mjw
ReadyNAS Expert
 
Posts: 220
Joined: Tue Nov 29, 2005 9:05 pm
ReadyNAS: X6

Next

Return to Rsync



Who is online

Users browsing this forum: No registered users and 1 guest