[linux-cifs-client] write problem to NAS - cp is fine, rsync fails

Shirish Pargaonkar shirishpargaonkar at gmail.com
Sun Feb 22 14:04:58 GMT 2009


On Sat, Feb 21, 2009 at 3:51 AM, Michael Geiger <info at mgeiger.de> wrote:
> Hello, I have a problem writing to a NAS and I hope someone can help me here:
>
> I'm using OpenSUSE 11.1 64bit with a vanilla kernel 2.6.28.5 - the only patch
> applied is this one to solve the mount problem I had with this NAS:
> http://bugzilla.kernel.org/show_bug.cgi?id=10451
>
> The NAS device is a Raidsonic ICY BOX IB-NAS900, latest firmware. The NAS is
> mounted with this fstab entry:
>
> //elenas/musik /mnt/ele cifs noauto,credentials=/etc/fstab.cred.ele,
>   uid=share,gid=users,file_mode=0664,dir_mode=0775,noacl,nounix,nosfu,
>   iocharset=iso8859-1 0 0
>
>
> Reading files works perfect (except some "CIFS VFS: ignoring corrupt resume
> name" showing up), I have mirrored 20 GB using rsync without a problem. But
> whenever I'm writing files with rsync I get these errors after some seconds:
>
> Feb 20 15:32:08 box2 kernel:  CIFS VFS: server not responding
> Feb 20 15:32:08 box2 kernel:  CIFS VFS: No response for cmd 50 mid 158
> Feb 20 15:51:35 box2 kernel:  CIFS VFS: No response to cmd 47 mid 346
> Feb 20 15:51:35 box2 kernel:  CIFS VFS: No response for cmd 50 mid 347
> Feb 20 15:51:35 box2 kernel:  CIFS VFS: Write2 ret -11, wrote 0
> Feb 20 15:51:36 box2 kernel:  CIFS VFS: Write2 ret -5, wrote 0
> Feb 20 15:51:37 box2 kernel:  CIFS VFS: Write2 ret -5, wrote 0
> Feb 20 15:51:37 box2 kernel:  CIFS VFS: Write2 ret -11, wrote 0
> Feb 20 15:51:38 box2 kernel:  CIFS VFS: Write2 ret -5, wrote 0
> Feb 20 15:51:38 box2 kernel:  CIFS VFS: Write2 ret -11, wrote 0
>
>
> But when I copy files with unix cp the files are copied on the NAS, no errors!
>
> Any ideas?
>
>
> Michael
> _______________________________________________
> linux-cifs-client mailing list
> linux-cifs-client at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux-cifs-client
>

Do you ever see this kind of message in the syslog buffer
 CIFS VFS: No task to wake, unknown frame received
when you use rsync?

Hopefully the data will not be overwhelming, but can you
turn on cifs debugging with this command when using with rsync?
 echo 7 > /proc/fs/cifs/cifsFYI
and send the syslog buffer when the error occurs?


More information about the linux-cifs-client mailing list