:Well, since a server specifies the maximum file size it can
:handle, it seems good form to check for that in the client.
:(Although I'd agree that a server shouldn't crash if a read/write
: that goes beyond that limit.)
:
:Also, as Matt notes, off_t is signed. As such, it looks to me
:Well, since a server specifies the maximum file size it can
:handle, it seems good form to check for that in the client.
:(Although I'd agree that a server shouldn't crash if a read/write
: that goes beyond that limit.)
:
:Also, as Matt notes, off_t is signed. As such, it looks to me like
:the
:Well, since a server specifies the maximum file size it can
:handle, it seems good form to check for that in the client.
:(Although I'd agree that a server shouldn't crash if a read/write
: that goes beyond that limit.)
:
:Also, as Matt notes, off_t is signed. As such, it looks to me like
:Try editting line #1226 of sys/nfsclient/nfs_vfsops.c, where
:it sets nm_maxfilesize = (u_int64_t)0x8000 * DEV_BSIZE - 1; and make it
:something larger.
:
:I have no idea why the limit is set that way? (I'm guessing it was the
:limit for UFS.) Hopefully not some weird buffer cache
BTW, why not make away with the test altogether?
Well, since a server specifies the maximum file size it can
handle, it seems good form to check for that in the client.
(Although I'd agree that a server shouldn't crash if a read/write
that goes beyond that limit.)
Also, as Matt notes, off_t
I'm getting 'File too large' when copying via NFS(v3, tcp/udp) a file
that is larger than 1T. The server is ZFS which has no problem with
large
files.
Is this fixable?
As I understand it, there is no FreeBSD VFSop that returns the maximum
file size supported. As such, the NFS
I'm getting 'File too large' when copying via NFS(v3, tcp/udp) a
file
that is larger than 1T. The server is ZFS which has no problem
with
large
files.
Is this fixable?
As I understand it, there is no FreeBSD VFSop that returns the
maximum
file size supported. As
:Try editting line #1226 of sys/nfsclient/nfs_vfsops.c, where
:it sets nm_maxfilesize = (u_int64_t)0x8000 * DEV_BSIZE - 1; and make it
:something larger.
:
:I have no idea why the limit is set that way? (I'm guessing it was the
:limit for UFS.) Hopefully not some weird buffer cache restriction
I'm getting 'File too large' when copying via NFS(v3, tcp/udp) a file
that is larger than 1T. The server is ZFS which has no problem with large
files.
Is this fixable?
Cheers,
danny
___
freebsd-hackers@freebsd.org mailing list
I'm getting 'File too large' when copying via NFS(v3, tcp/udp) a file
that is larger than 1T. The server is ZFS which has no problem with
large
files.
Is this fixable?
As I understand it, there is no FreeBSD VFSop that returns the maximum
file size supported. As such, the NFS servers just
10 matches
Mail list logo