You are not logged in.

#1 2012-01-02 15:40:04

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

[SOLVED] rsync doesnt work on nfs shares

Ok, i have a nfs4 set up and i can copy files, delete files and move files around just fine from my desktop to my nas.

But as soon as i want to use rsync to sync directories it fails with this message:

rsync: chown "/mnt/nas/Audio/Rips/flac/Anthrax" failed: Invalid argument (22)

the user i am copying with is the very same on both systems:

[carnager@archnas ~]$ id
uid=1000(carnager) gid=100(users)

[carnager@freebox ~]$ id
uid=1000(carnager) gid=100(users)

One thing that i noticed is this:
When i do a "ls -l" on the mounted nas directory i get an output like this:

[carnager@freebox ~]$ ls -l /mnt/nas/ | tail -1
drwxr-xr-x 8 4294967294 4294967294  4096 Dec 31 18:03 Video

where it normally should show my username and group.


Any ideas?

Last edited by Rasi (2012-01-02 16:10:26)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#2 2012-01-02 15:48:33

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] rsync doesnt work on nfs shares

The wiki has the answer - at least for those funky numbers. Hope it solves your rsync issue.

Offline

#3 2012-01-02 15:57:30

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [SOLVED] rsync doesnt work on nfs shares

tomk wrote:

The wiki has the answer - at least for those funky numbers. Hope it solves your rsync issue.

ok, then i probably know my problem, but not how to solve it:

[carnager@freebox ~]$ sudo /etc/rc.d/nfs-common start
:: Mounting pipefs filesystem                                            [DONE] 
:: Starting rpc.idmapd daemon                                            [FAIL] 

He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#4 2012-01-02 16:07:50

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] rsync doesnt work on nfs shares

Run rpc.idmapd verbosely in the foreground and check the output for errors - man rpc.idmapd for more details.

Offline

#5 2012-01-02 16:10:14

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: [SOLVED] rsync doesnt work on nfs shares

tomk wrote:

Run rpc.idmapd verbosely in the foreground and check the output for errors - man rpc.idmapd for more details.

success! idmapd was still running and needed to be killed. now it works!

thanks


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

Board footer

Powered by FluxBB