Copy to NFS fails : RPC: fragment too large

Copy to NFS fails : RPC: fragment too large

Postby lenuisible » Fri Jun 15, 2018 3:29 pm

[Edit] I tried setting buffer to 32K, now it works, but it's a quite small buffer size, any way to increase it on NAS side ?

Hi there,

first a big thanks for your work, you literraly resurrect my faulty Lacie Cloud 3TB.

I have a problem when trying to copy files from Windows 10 to a NFS share on the NAS. I can copy/create a txt file, edit it and save it, but when I try to copy a bigger file, I have this error : "RPC: fragment too large: 1048688". I tried to reduce Windows NFS buffer to 128, then to 64K, but I still have the error (RPC: fragment too large: 65648).

I'm pretty sure I could copy big files at some point, don't know why it's not working anymore.

Any idea ?

Regards
lenuisible
Donator VIP
Donator VIP
 
Posts: 10
Joined: Mon Apr 09, 2018 4:16 pm

Re: Copy to NFS fails : RPC: fragment too large

Postby Jocko » Sat Jun 16, 2018 8:28 am

Hi

max block size is set by a kernel compile option. With our kernel version, the value is 65536.

So you should be able to use it with your nfs client
Note: with client attempts you should use values divisible by 512 (65648 / 512 = 128,21875 :disapprove ). However, why I do not understand is your client should be able to detect this server limit :scratch

When nfs server is running, you should be able to change this value on the user side by this command
Code: Select all
echo 'your_maxblocksize' >/proc/fs/nfsd/max_block_size


Note: I do not think a bigger value will increase r/w performance, the main limit is cpu performance.
Jocko
Site Admin - expert
 
Posts: 11558
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France


Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 29 guests