linux user group brescia

immagine del castello

Archivio della mailing list

rete - nfs - ubuntu 8.04

Alberto Campagnari albecamp a tin.it
Mer 26 Nov 2008 19:07:17 UTC
Come funziona con un altra interfaccia grafica?
Esite una cosa semplice semplice in ubuntu tipo Afterstep per verificare se
e' solo un problema di gnome?
Esempio:
Freebsd chiede "esplicitamente" se si vuole settare paramentri per
"rpc.statd" ed "rpc.lockd" se il server e' impostato per essere un nfs
server; la non impostazione di questi parametri non permette il
funzionamento corretto di gnome. 

Prova a postare un po' di log... ed infine ricorda che: "Google is your
friend" 


On Wed, 26 Nov 2008 19:33:22 +0100, ollenotna2000 <ollenotna2000 a yahoo.it>
wrote:
> Ho aggiornato il laboratorio a scuola, passando da Ubuntu 7.04 a 8.04.
> Le home degli utenti sono fornite da un server nfs.
> Ora, il tutto funzionava bene con la precedente configurazione.
> Passato a 8.04 invece tutto si è rallentato, di molto. Anzi, si è
> fermato.
> Quando gli utenti si loggano - la situazione normale è una quindicina di

> pc in contemporanea - il caricamento di gnome  è lentissimo: i monitor 
> rimangono del colorino chiaro ubuntu, poi si apre la finestra di 
> segnalazione di errore di gnome.
> Per poter ripartire ho dovuto rimettere  in funzione il server nfs 
> precedente, con su una redhat 7.3 (!!). Con questo la connessione dei 
> client (normali, non intendo terminal) è lentina (più dei precedenti 
> 7.04), ma comunque funziona. Così ho dismesso il server ubuntu 8.04 e 
> vado avanti col vecchio e così si può lavorare.
> Ora sto facendo prove con il server nfs 8.04 per capire dove sta il baco.
> 
> Ecco le configurazioni:
> /etc/default/nfs-common   (non l'ho toccato)
> 
> # If you do not set values for the NEED_ options, they will be attempted
> # autodetected; this should be sufficient for most people. Valid 
> alternatives
> # for the NEED_ options are "yes" and "no".
> 
> # Do you want to start the statd daemon? It is not needed for NFSv4.
> NEED_STATD=
> 
> # Options for rpc.statd.
> #   Should rpc.statd listen on a specific port? This is especially useful
> #   when you have a port-based firewall. To use a fixed port, set this
> #   this variable to a statd argument like: "--port 4000 --outgoing-port
4001".
> #   For more information, see rpc.statd(8) or 
> http://wiki.debian.org/?SecuringNFS
> STATDOPTS=
> 
> # Do you want to start the idmapd daemon? It is only needed for NFSv4.
> NEED_IDMAPD=yes
> 
> # Do you want to start the gssd daemon? It is required for Kerberos
mounts.
> NEED_GSSD=
> 
> /etc/defaults/nfs-kernel-server (una modifica)
> 
> # Number of servers to start up
> RPCNFSDCOUNT=32   # aumentato per avere più istanze che girano
> 
> # Runtime priority of server (see nice(1))
> RPCNFSDPRIORITY=0
> 
> # Options for rpc.mountd.
> # If you have a port-based firewall, you might want to set up
> # a fixed port here using the --port option. For more information,
> # see rpc.mountd(8) or http://wiki.debian.org/?SecuringNFS
> RPCMOUNTDOPTS=
> 
> # Do you want to start the svcgssd daemon? It is only required for
Kerberos
> # exports. Valid alternatives are "yes" and "no"; the default is "no".
> NEED_SVCGSSD=
> 
> # Options for rpc.svcgssd.
> RPCSVCGSSDOPTS=
> 
> /etc/exports
> 
> /home 
>
192.168.0.0/255.255.255.0(rw,async,no_root_squash,no_subtree_check,anonuid=65534,anongid=65534)
> 
> ed infine, sui clients:
> 
> /etc/rc.local
> 
> # mount -t nfs -o rw,hard,intr,timeo=600,rsize=32768,wsize=32768  
> 192.168.0.1:/home /home
> mount -t nfs -o rw,rsize=8192,wsize=8192,hard,intr,timeo=14,nosuid  
> 192.168.0.1:/home /home
> 
> Ora, le poche modifiche che ho fatto ai defaults le ho dedotte dai vari 
> howto, ma non so se abbiano un reale valore.
> 
> Ho pensato anche che magari si tratta di gnome, dovrei forse provare ad 
> installare xfce per vedere che succede.
> Non credo ci siano problemi di rete: una volta loggati si lavora bene, 
> un esempio è la navigazione in internet con tutti i pc in conteporanea 
> che non è problematica.
> 
> Antonello
> 
> p.s. spedisco questa anche sul forum di didattica, così per provare a 
> darci un poco di vita, anche se un poco OT
> 
> --
> Info/Lamentele/Segnalazioni: vips a lugbs.linux.it/andrea.gelmini a lugbs.linux.it
> 




Maggiori informazioni sulla lista Lug