NAS + NFS mit über 4GB?

M

mike.d

Mitglied
Thread Starter
Dabei seit
19.04.2007
Beiträge
59
Reaktionspunkte
1
Hallo zusammen!

ich habe folgendes Problem und beiße mir im Moment die Zähne aus:

Meine Konfiguration sieht folgendes vor:

macbook (HFS+) kabelgebunden über Router an eine Icybox 4220NAS (ext3)
-> verbunden über nfs mit folgender Konfiguration:

mac: mount -t nfs -o rw,soft,rsize=8192,wsize=32768,udp,nolock 192.168.1.2:/mnt/md1/public /Users/miked/nas/

nas: /mnt/md1 192.168.1.100(rw,all_squash,async,anonuid=500,anon gid=100,insecure)


Wenn ich nun über diesen mountpoint eine Datei mit mehr als 4GB kopieren möchte bricht der finder mit einer Fehlermeldung ab....

Leider finde ich beim besten Willen nicht heraus warum!

Jemand eine Idee?
 
Ich kann es grad selber nicht unter OSX ausprobieren aber unter Linux konnte ich mit dem Parameter -o lfs beim mount-Befehl auch Dateien auf eine Freigabe schreiben die größer wie 4GB sind/waren.
 
kann es sein, dass du dich irgendwo vertippt hast?

"lfs" ist keine ofizielle mount-Option!
 
oh, hab grad gelesen, dass es eine undokumentierte Option ist.... MacOS bricht aber ab und akzeptiert diese Option nicht.... : (

--> mount_nfs: warning: option "lfs" not known
 
Moin!

Geht das nicht erst ab NFSv3?

MfG
MrFX
 
Yep, erst ab v3. Das muss man irgendwo in den Optionen aktivieren, sonst wird standardmäßig immer über v2 verbunden.
 
Moin!

Genau, beim Mounten ein nfsvers=3 als Option mit übergeben.

Das NAS läuft doch hoffentlich mit einem passenden NFS-Server?

MfG
MrFX
 
--- bahnhof ---

wie krieg ich raus, was für eine nfs-version auf der nas läuft und wie muss ich die "nfsvers=3" übergeben?

ist damit die Option lfs hinfällig?

Vielen Dank euch!
 
steht alles in den Manuals:
man mount_nfs (Mac OS X) schrieb:
The options are:

-2 Use the NFS Version 2 protocol.

-3 Use the NFS Version 3 protocol. The default is to try version 3 first, and fall back to version 2 if the mount fails.

man mount (GNU/Linux) schrieb:
Mount options for nfs
Instead of a textual option string, parsed by the kernel, the nfs file system expects a binary argument of type struct nfs_mount_data. The program mount itself parses the following options of the form `tag=value', and puts them in the structure mentioned: rsize=n, wsize=n, timeo=n, retrans=n, acregmin=n, acregmax=n, acdirmin=n, acdirmax=n, actimeo=n, retry=n, port=n, mountport=n, mounthost=name, mountprog=n, mountvers=n, nfsprog=n, nfsvers=n, namlen=n. The option addr=n is accepted but ignored. Also the following Boolean options, possibly preceded by no are recognized: bg, fg, soft, hard, intr, posix, cto, ac, tcp, udp, lock. For details, see nfs(5).
man nfsd schrieb:
-N or --no-nfs-version vers
This option can be used to request that rpc.nfsd does not offer certain versions of NFS. The current version of rpc.nfsd can support both NFS version 2,3 and the newer version 4.
 
das mit der Command-Line wäre nicht das Problem, doch selbst mit gesetztem nfsvers funktionierts nicht!

sudo mount_nfs -o nfsvers=3,rw,soft,rsize=8192,wsize=32768,udp,nolock 192.168.1.2:/mnt/md1/public /Users/miked/nas/
 
Zurück
Oben Unten