Hi! Ich habe unter SuSE 8.0 einen NFS Server aufgesetzt, der Backups über eine CrossOver-Leitung per Cron vornehmen soll. Der Kernel unterstützt Files in dieser Größe. Nur der NFS Server "Universal NFS Server 2.2beta47" macht bei Dateien größer als 2 GB Probleme. "File size limit exceeded". Hat jemand einen Tip? Schöne Grüße Stefan -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
On Thu, Mar 20, 2003 at 09:50:11AM +0100, rieger.stefan@gmx.net wrote:
Der Kernel unterstützt Files in dieser Größe. Nur der NFS Server "Universal NFS Server 2.2beta47" macht bei Dateien größer als 2 GB Probleme.
"File size limit exceeded".
Dies ist die Definition von NFS V2: RFC 1094, Abschnitt 2.2.7 2.2.7. Read From File struct readargs { fhandle file; unsigned offset; unsigned count; unsigned totalcount; }; union readres switch (stat status) { case NFS_OK: fattr attributes; nfsdata data; default: void; }; readres NFSPROC_READ(readargs) = 6; Returns up to "count" bytes of "data" from the file given by "file", starting at "offset" bytes from the beginning of the file. The first byte of the file is at offset zero. The file attributes after the read takes place are returned in "attributes". Notes: The argument "totalcount" is unused, and is removed in the next protocol revision. kris@valiant:~/Diplom/doc> /usr/sbin/rpcinfo -p white Program Vers Proto Port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100005 1 udp 842 mountd 100005 2 udp 842 mountd 100005 1 tcp 845 mountd 100005 2 tcp 845 mountd 100003 2 udp 2049 nfs 100003 2 tcp 2049 nfs Dies ist, was mein Suse Linux 8.1 anbietet. Dies ist die Definition von NFS V3: RFC 1813, Abschnitt 3.3.6 3.3.6 Procedure 6: READ - Read From file SYNOPSIS READ3res NFSPROC3_READ(READ3args) = 6; struct READ3args { nfs_fh3 file; offset3 offset; count3 count; }; mit 2.5 Basic Data Types offset3 typedef uint64 offset3; count3 typedef uint32 count3; Dies ist die Definition von NFS V4: 14.2.23. Operation 25: READ - Read from File SYNOPSIS (cfh), offset, count, stateid -> eof, data ARGUMENT struct READ4args { /* CURRENT_FH: file */ stateid4 stateid; offset4 offset; count4 count; }; mit 2.1. Basic Data Types offset4 typedef uint64_t offset4; Various offset designations (READ, WRITE, LOCK, COMMIT) count4 typedef uint32_t count4; Various count parameters (READ, WRITE, COMMIT) Du brauchst also einen NFS-Server und einen NFS Client, die beide mindestens Protokoll Version 3 unterstützen. Kristian
participants (2)
-
Kristian Koehntopp
-
rieger.stefan@gmx.net