linux user group brescia

immagine del castello

Archivio della mailing list

E` stato aperto un nuovo topic su didattica.lugbs.linux.it

antonello ollenotna2000 a yahoo.it
Mer 26 Nov 2008 18:32:30 UTC
Attenzione! Si prega di rispondere su didattica.lugbs.linux.it
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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




Maggiori informazioni sulla lista Lug