Re: NFSV4 readlink_stat

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Thu, 24 Nov 2011 20:12:46 -0500 (EST)
Dan the Man wrote:
> Ok on centos box i have tried to reduce file size as much as possible
> only
> going after an image directory with the error.
> 
> Centos:
> cappy:/data/nfstest# ls
> about.gif index_10.gif index_22.gif
> index_34.gif index_46.gif links_09.gif links_21.gif show_08.gif
> show_20.gif show_32.gif show_44.gif show_56.gif
> CONTACT.gif index_11.gif index_23.gif
> index_35.gif index_47.gif links_10.gif links_22.gif show_09.gif
> show_21.gif show_33.gif show_45.gif show_57.gif
> FLASH SINGLE USE CAMERA JRA-FLORIDA.jpg index_12.gif index_24.gif
> index_36.gif index_48.gif links_11.gif links_23.gif show_10.gif
> show_22.gif show_34.gif show_46.gif show_58.gif
> index_01.gif index_13.gif index_25.gif
> index_37.gif index_49.gif links_12.gif links_24.gif show_11.gif
> show_23.gif show_35.gif show_47.gif show_59.gif
> index_02.gif index_14.gif index_26.gif
> index_38.gif links_01.gif links_13.gif links_25.gif show_12.gif
> show_24.gif show_36.gif show_48.gif show_60.gif
> index_03.gif index_15.gif index_27.gif
> index_39.gif links_02.gif links_14.gif show_01.gif show_13.gif
> show_25.gif show_37.gif show_49.gif Thumbs.db
> index_04.gif index_16.gif index_28.gif
> index_40.gif links_03.gif links_15.gif show_02.gif show_14.gif
> show_26.gif show_38.gif show_50.gif _vti_cnf
> index_05.gif index_17.gif index_29.gif
> index_41.gif links_04.gif links_16.gif show_03.gif show_15.gif
> show_27.gif show_39.gif show_51.gif
> index_06.gif index_18.gif index_30.gif
> index_42.gif links_05.gif links_17.gif show_04.gif show_16.gif
> show_28.gif show_40.gif show_52.gif
> index_07.gif index_19.gif index_31.gif
> index_43.gif links_06.gif links_18.gif show_05.gif show_17.gif
> show_29.gif show_41.gif show_53.gif
> index_08.gif index_20.gif index_32.gif
> index_44.gif links_07.gif links_19.gif show_06.gif show_18.gif
> show_30.gif show_42.gif show_54.gif
> index_09.gif index_21.gif index_33.gif
> index_45.gif links_08.gif links_20.gif show_07.gif show_19.gif
> show_31.gif show_43.gif show_55.gif
> cappy:/data/nfstest# rsync -Walv --progress --delete --force
> --bwlimit=20480
> /asterisk/clients/vuser/ecouhen_at_hotmail.com/website/onetimecamera.com.old/images_/
> /data/nfstest/
> sending incremental file list
> rsync:
> readlink_stat("/asterisk/clients/vuser/ecouhen_at_hotmail.com/website/onetimecamera.com.old/images_/\#267ָ\#364\#267\#373.gif")
> failed: Invalid argument (22)

Ok, I looked at the packet trace in wireshark and it is a Lookup that is failing with EINVAL.
I think this is happening because the name is not UTF8. In NFSv4, all file names are required
to be in UTF8 and the server is required to return NFS4ERR_INVAL (EINVAL) if a name isn't
in UTF8.

Now, I'll admit I know diddly about UTF8, so the code I wrote to check for UTF8
compliance might be broken.

Does anyone know if the above name, which is:
\267\326\270\364\267\373.gif
(or b7 d6 b8 f4 b7 fb .gif if you prefer hex to octal)
is valid UTF8?

I'm tempted to add a sysctl that disables this check, since the server doesn't really
care if the name is UTF8 and who knows if the client cares?

rick
ps: I hope you didn't mind me putting the freebsd-current cc back. I'm hoping
    someone who knows UTF8 can check the name.
> rsync:
> readlink_stat("/asterisk/clients/vuser/ecouhen_at_hotmail.com/website/onetimecamera.com.old/images_/_vti_cnf/\#267ָ\#364\#267\#373.gif")
> failed: Invalid argument (22)
> IO error encountered -- skipping file deletion
> 
> sent 4558 bytes received 13 bytes 9142.00 bytes/sec
> total size is 459007 speedup is 100.42
> rsync error: some files/attrs were not transferred (see previous
> errors)
> (code 23) at main.c(1039) [sender=3.0.6]
> cappy:/data/nfstest# uname -a
> Linux cappy.sunsaturn.com 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27
> 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
> cappy:/data/nfstest#
> cappy:/data/nfstest# cat /etc/redhat-release
> CentOS Linux release 6.0 (Final)
> cappy:/data/nfstest#
> 
> Freebsd server name asterisk NFSV4:
> 
> tcpdump -i sk0 -s 0 -w nfs.txt host 192.168.0.2
> tcpdump -r nfs.txt > nfs2.txt
> # uname -a
> FreeBSD asterisk.sunsaturn.com 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE
> #0:
> Sat Nov 19 21:52:28 CST 2011
> droot_at_asterisk.sunsaturn.com:/usr/obj/usr/src/sys/MYKERNEL amd64
> 
> 
> Can view either file here:
> 
> http://www.sunsaturn.com/nfsv4/nfs.txt (raw dump)
> http://www.sunsaturn.com/nfsv4/nfs2.txt (-r dump)
> 
> 
> 
> Dan.
> 
> 
> --
> Dan The Man
> CTO/ Senior System Administrator
> Websites, Domains and Everything else
> http://www.SunSaturn.com
> Email: Dan_at_SunSaturn.com
> 
> On Sun, 20 Nov 2011, Rick Macklem wrote:
> 
> > Dan the Man wrote:
> >> Hey Rick,
> >>
> >> I should note I ran client from latest centos release box that has
> >> a
> >> freebsd 9.0 mount, so I am not sure applying a client patch would
> >> do
> >> anything in this case. When I had mounted a nfsv3 mount from
> >> freebsd
> >> box
> >> to centos box, then it was fine, so was hoping this was a nfs
> >> server
> >> patch. I'll run some tests on monday though against freebsd client
> >> and
> >> freebsd server for that rsync...
> >>
> > For the centos nfsv4 client to FreeBSD server case, all you can do
> > is
> > capture a packet trace.
> >  tcpdump -s 0 -w xxx host <client-host>
> > run on the server during the rsync should do the trick. I don't mind
> > looking at "xxx" if you email it as an attachment or if too big,
> > leave
> > it somewhere I can download it from.
> >
> > If you want to look at it yourself, you need wireshark, since it
> > understands
> > NFS packets.
> >
> > Other than that, you could try a newer Linux kernel from
> > kernels.org, if that
> > is practical for you. (From what I've seen, Redhat/Fedora track
> > changes to
> > the NFSv4 client more closely than the other distros.)
> >
> > rick
> >>
> >> Dan.
> >>
> >>
> >> --
> >> Dan The Man
> >> CTO/ Senior System Administrator
> >> Websites, Domains and Everything else
> >> http://www.SunSaturn.com
> >> Email: Dan_at_SunSaturn.com
> >>
> >> On Wed, 16 Nov 2011, Dan The Man wrote:
> >>
> >>>
> >>>
> >>> Hi Rick,
> >>>
> >>> Busy this week, but I'll have time to do that for you on Monday.
> >>>
> >>>
> >>> Dan.
> >>>
> >>>
> >>> --
> >>> Dan The Man
> >>> CTO/ Senior System Administrator
> >>> Websites, Domains and Everything else
> >>> http://www.SunSaturn.com
> >>> Email: Dan_at_SunSaturn.com
> >>>
> >>> On Mon, 14 Nov 2011, Rick Macklem wrote:
> >>>
> >>>> Dan The Man wrote:
> >>>>> Just want to include some errors from rsync trying to copy files
> >>>>> using
> >>>>> NFSV4. These files copy fine using NFSV3....
> >>>>>
> >>>>>
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/A-E/A/Ace
> >>>>> of
> >>>>> Base/The Bridge/Ace of Base-My D\#351j\#340 Vu-09-The
> >>>>> Bridge.wma")
> >>>>> failed:
> >>>>> Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/A-E/B/Bj\#366rn
> >>>>> Skifs") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/A-E/B/Bjork/Bj\#366rk - Dancer in the Dark - My Favorite
> >>>>> Things.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/A-E/B/Bjork/Bj\#366rk - Amphibian.mp3") failed: Invalid
> >>>>> argument
> >>>>> (22)
> >>>>> IO error encountered -- skipping file deletion
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/A-E/C/Celine
> >>>>> Dion/C\#351line Dion - I Drove All Night (Album Version).mp3")
> >>>>> failed:
> >>>>> Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/A-E/E/The
> >>>>> Eagles/The
> >>>>> Eagles Greatest Hits, Vol. 2/05 The Sad Caf\#351.wma") failed:
> >>>>> Invalid
> >>>>> argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/G/Georges
> >>>>> Delerue/Georges Delerue - Le M\#351pris, Camille - Jean-Luc
> >>>>> Godard.mp3")
> >>>>> failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/O\#264 Riada Sa Gaiety") failed: Invalid
> >>>>> argument
> >>>>> (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Athen Rye/Athenrye - Amhr\#341n Na
> >>>>> Bhfiann.mp3")
> >>>>> failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Chieftans/Chieftains & Sin\#351ad
> >>>>> O'Connor
> >>>>> -
> >>>>> Factory girl.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Chieftans/The Chieftains & Sin\#351ad
> >>>>> O'Connor
> >>>>> -
> >>>>> The Foggy Dew.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Christy Moore/Christy Moore -
> >>>>> Compa\#361eros -
> >>>>> 06.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Clancy Brothers/Clancy Brothers & Tommy
> >>>>> Makem
> >>>>> - 12
> >>>>> - Cru\#354sc\#354n L\#340n.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Loreena McKennitt/Loreena McKennitt -
> >>>>> The
> >>>>> Mask
> >>>>> and
> >>>>> Mirror - 07. C\#351 H\#351 Mise Le Ulaingt - The Two Trees.mp3")
> >>>>> failed:
> >>>>> Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Planxty/Planxty - Raggletaggle Gypsy;
> >>>>> Tabhair
> >>>>> Dom
> >>>>> Do L\#343mh - 01.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Planxty/Planxty - The Rambling
> >>>>> Si\#372ler
> >>>>> -
> >>>>> 05.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Quilty/Quilty - Mist Covered Mountain
> >>>>> Siobh\#341n
> >>>>> O\#264donnels - Jig Reel.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Quilty/Quilty - I\#264m Here Because
> >>>>> I\#264m
> >>>>> Here.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Seamus Kennedy/Seamus Kennedy - Or\#363!
> >>>>> S\#351 Do
> >>>>> Bheatha 'Bhaile & The Rights Of Man (Instrumental).mp3") failed:
> >>>>> Invalid
> >>>>> argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Seamus Kennedy/Seamus Kennedy - The
> >>>>> Bodhr\#341n
> >>>>> (Comedy).mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Sinead O'Connor/Sinead O'Connor - The
> >>>>> Black
> >>>>> Album
> >>>>> ( 8 CD Set )/Cd 2/06_Mna Na H\#351ireann.mp3") failed: Invalid
> >>>>> argument
> >>>>> (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Sinead O'Connor/Sinead O'Connor - The
> >>>>> Black
> >>>>> Album
> >>>>> ( 8 CD Set )/Cd 3/07_Rois\#355n Dubh.mp3") failed: Invalid
> >>>>> argument
> >>>>> (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/Wolfe Tones/2006 As Gaeilge/Wolfe Tones
> >>>>> -
> >>>>> T\#341
> >>>>> Na L\#341.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/aaa - Too Few, but Identified/Irish
> >>>>> C\#351ili
> >>>>> Band
> >>>>> - The Black Velvet Band.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/aaa - Too Few, but Identified/Young
> >>>>> Dubliners
> >>>>> -
> >>>>> The Bodhr\#341n.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/aaa - Too Few, but Identified/Jeff
> >>>>> Johnson
> >>>>> &
> >>>>> Brian
> >>>>> Dunning - C\#371Chulainn's Last Battle.mp3") failed: Invalid
> >>>>> argument
> >>>>> (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/aaa - Too Few, but Identified/Phil
> >>>>> Coulter
> >>>>> &
> >>>>> Sin\#351ad O'Connor - The Shores Of The Swilly.mp3") failed:
> >>>>> Invalid
> >>>>> argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/aaa - Too Few, but Identified/M\#341ire
> >>>>> Brennan -
> >>>>> Eirigh Suas A Stoirin.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/aaa - Too Few, but Identified/Sin\#351ad
> >>>>> O-connor
> >>>>> - Factory Girl.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/history of ireland in song/53.Amhr\#341n
> >>>>> na
> >>>>> Bhfiann.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/history of ireland in song/46.Se\#341n
> >>>>> South
> >>>>> from
> >>>>> Garryowen.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/history of ireland in song/32.Se\#341n
> >>>>> Treacy.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/history of ireland in song/02.Rois\#355n
> >>>>> Dubh.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/history of ireland in song/03.Se\#341n
> >>>>> \#323
> >>>>> Duibhir A'Ghleanna.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/F-J/I/Irish
> >>>>> Scottish
> >>>>> Celtic Music Collection/history of ireland in song/03.Se\#341n
> >>>>> \#323
> >>>>> Duibhir A'Ghleanna (O'Dwyer of the Glen).mp3") failed: Invalid
> >>>>> argument
> >>>>> (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass
> >>>>> Tunes/K-O/M/M\#366tley
> >>>>> Cr\#374e") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Sort Me
> >>>>> Music/New
> >>>>> Folder(20)/Ivan Rebroff - Moskauer n\#344chte (rus).mp3")
> >>>>> failed:
> >>>>> Invalid
> >>>>> argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Bj\#366rn Skifs - H\#344rligt,
> >>>>> h\#344rligt
> >>>>> men farligt, farligt.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Bj\#366rk - Visur Vatnsenda
> >>>>> Rosu.mp3")
> >>>>> failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/All Crap Tunes/F-L/La Mafia/Un
> >>>>> Millon
> >>>>> de
> >>>>> Rosas/La Mafia-Yo Te Amar\#351-01-Un Millon de Rosas.wma")
> >>>>> failed:
> >>>>> Invalid
> >>>>> argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/All Crap Tunes/F-L/La Mafia/Un
> >>>>> Millon
> >>>>> de
> >>>>> Rosas/La Mafia-Qui\#351n-04-Un Millon de Rosas.wma") failed:
> >>>>> Invalid
> >>>>> argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/All Crap Tunes/F-L/La Mafia/Un
> >>>>> Millon
> >>>>> de
> >>>>> Rosas/La Mafia-C\#363mo Pude Estar Tan Ciego-10-Un Millon de
> >>>>> Rosas.wma")
> >>>>> failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/All Crap Tunes/M-P/Moxy
> >>>>> Fruvous/Moxy
> >>>>> Fr\#374vous - Spiderman.wma") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/All Crap Tunes/Old
> >>>>> School/Santana/Supernatural/Corazon Espinado Man\#341; Santana
> >>>>> Supernatural 09.wma") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Dance/Bran Van 3000/Discosis/16
> >>>>> Love
> >>>>> Clich\#351.wma") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Dance/Bran Van 3000/Discosis/03
> >>>>> Montr\#351al.wma") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/M\#366tley
> >>>>> Cr\#374e - Generation Swine.wma") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/M\#366tley
> >>>>> Cr\#374e - Driftaway.wma") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/M\#366tley
> >>>>> Cr\#374e - Uncle Jack.wma") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/M\#366tley
> >>>>> Cr\#374e - Get It For Free.wma") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/M\#366tley
> >>>>> Cr\#374e - I Wanna Be Sedated.wma") failed: Invalid argument
> >>>>> (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/M\#366tley
> >>>>> Cr\#374e - Live Wire [Kick Ass '91 Remix].wma") failed: Invalid
> >>>>> argument
> >>>>> (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/M\#366tley
> >>>>> Cr\#374e - Black Widow.wma") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/M\#366tley
> >>>>> Cr\#374e - Rock 'N' Roll Junkie.wma") failed: Invalid argument
> >>>>> (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/Motley\#240Crue -
> >>>>> Loveshine.wma") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/M\#366tley
> >>>>> Cr\#374e - Dragstrip Superstar.wma") failed: Invalid argument
> >>>>> (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/M\#366tley
> >>>>> Cr\#374e - Hammered - 07.wma") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/M\#366tley
> >>>>> Cr\#374e - Poison Apples.wma") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/M\#366tley
> >>>>> Cr\#374e - Afraid.wma") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/M\#366tley
> >>>>> Cr\#374e - Kiss the Sky.wma") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Heavy Metal/Motely
> >>>>> Crue/M\#366tley
> >>>>> Cr\#374e - Glitter - Generation Swine - 07.wma") failed: Invalid
> >>>>> argument
> >>>>> (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Original Soundtrack/Various
> >>>>> Artists/Various Artists/Pure Dance 1998/U2 Discoth\#350que [DM
> >>>>> Radio
> >>>>> Mix]
> >>>>> 07 Pure Dance 1998 Rock.mp3") failed: Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Original Soundtrack/Various
> >>>>> Artists/Various Artists/Pure Dance 1998/Tony! Toni! Ton\#351!
> >>>>> Let's
> >>>>> Get
> >>>>> Down [Fitch Bros. Club Radio Edit] 06 Pure Dance 1998 Rock.mp3")
> >>>>> failed:
> >>>>> Invalid argument (22)
> >>>>> rsync: readlink_stat("/asterisk/public/mp3/Kass Tunes/Z Too
> >>>>> Small
> >>>>> to
> >>>>> Seperate/Z Favorite WMA - Songs/Rock n
> >>>>> Roll/Q-S/Q/Queensryche/Queensr\#377che - Best I Can - 01.wma")
> >>>>> failed:
> >>>>> Invalid argument (22)
> >>>>>
> >>>> Well, the most obvious reason for EINVAL being returned for a
> >>>> Readlink
> >>>> reply is that the server doesn't think the vnode type is VLNK.
> >>>>
> >>>> Two things you could do:
> >>>> 1 - Try the attached patch for the client. It doesn't really fix
> >>>> the
> >>>>    problem, but it takes out the Getattr that preceeds the
> >>>>    Readlink
> >>>>    for the NFSv4 RPC. If it is this Getattr that is failing, it
> >>>>    could
> >>>>    make the problem "disappear".
> >>>>
> >>>> 2 - Look at a packet trace in wireshark and see if the reply to
> >>>> Readlink
> >>>>    is returning EINVAL. (That will isolate the problem to the
> >>>>    server vs
> >>>> client.)
> >>>>    I don't mind looking at a packet trace, but it would be nice
> >>>>    if
> >>>>    you
> >>>>    could get a fairly small one. (Can you reproduce it with a
> >>>>    small
> >>>>    rsync?)
> >>>>
> >>>> If you do either of the above, please let me know how it goes,
> >>>> rick
> >>>>
> >>>>>
> >>>>>
> >>>>> Dan.
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Dan The Man
> >>>>> CTO/ Senior System Administrator
> >>>>> Websites, Domains and Everything else
> >>>>> http://www.SunSaturn.com
> >>>>> Email: Dan_at_SunSaturn.com
> >>>>>
> >>>>
> >>>
> >
Received on Fri Nov 25 2011 - 00:12:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:21 UTC