Pour information, parce que la seule satisfaction l� dedans est la
grande souplesse de la Debian (upgrade et downgrade sans pbms) et dans
le cas o� quelqu'un a une id�e de ce qui se passe.

J'ai eu deux indications.
1) Nicolas Kowalski m'a conseill� (entre autres) de remettre � plat mon
syst�me de fichiers: bonne id�e suivie
2) Phillipe Gramoulle (Liste NFS) m'a donn� l'indication suivante
> As for being explicitly written in the nfs FreeBSD man pages (but not in
> Linux ones) , you just can't export a directory and one of his ancestor.
> 
> What you will get is almost weird behaviour depending of the
> clients.Sometimes it works , on day later it doesn't work :-(
> (especially Solaris clients)
> 
> What you can do , if you run 2.4.x kernel , is re-mount part of your
> filesystem through the new --bind of mount in another directory:
> 
> mount --bind /divers/win95 /divers2
> 
> and then put /divers2 in your /etc/export file.

Bon, donc ne voulant pas upgrader imm�diatement sous 2.4, j'essaye de
r�organiser mon fichier: Ca n'a jamais march�:
-> Sous Kernel-NFS
Le fichier suivant n'a jamais permis � obiwan d'obtenir le repertoire
/husr/usr.test. La seule solution est alors d'exporter ce repertoire
sous la forme *(rw,no_root_squash). Mais dans ce cas, soudain, c'est la
machine bic qui ne peut obtenir le repertoire /usr/smbserveur (quel est
le rapport, pourquoi �tait-il accessible avant? J'ai m�me �teint et
rallum� l'ensemble des machines pour �tre s�r, visiblement, la
suppression d'un probl�me en cr�e un autre! L� je ne comprends plus rien
et retourne sous nfs-server (Etape 2)
# /etc/exports
# 1) Le FTP, maintenant sous /ftp et lien  /home/ftp -> /ftp
/home/ftp       stargate(rw)

# 2) Les usr (sous /husr ou /usr)
/husr/usr.export     *(rw)
/husr/usr.test        obiwan(rw,no_root_squash)
# Ca coince aussi sans le no_root_squash !!!!!
# par contre �a semble marcher avec *(rw,no_root_squash)
# j'aimerais comprendre !!!!!
# La petite 486 Samba
/usr/smbserveur bic(rw,no_root_squash)

# 3) Home
/home           solo(rw,no_root_squash) SOS(rw,no_root_squash) *(rw)

# 4) Boot NFS /tftboot/192.168.1.254 -> SOS.root
/SOS.root       *(rw,no_root_squash)
/tftpboot       *(rw,no_root_squash)

# 5) Reste: /var/spool/mail, /var/spool/texmf et /var/cache/apt/archives
/texmf.export   *(rw,no_root_squash)    # Sous /usr/texmf
/var/spool/mail *(rw,no_root_squash)
/divers/debian/archives         *(rw,no_root_squash)

#7) Les clients
/divers/clientv2.1      obiwan(rw,no_root_squash) SOS(rw,no_root_squash)
/divers/clientv2.2      obiwan(rw,no_root_squash) SOS(rw,no_root_squash)
/divers/clientv3.0      obiwan(rw,no_root_squash) SOS(rw,no_root_squash)
/divers/clientv3.1      obiwan(rw,no_root_squash) SOS(rw,no_root_squash)

-> Etape 2. Le retour � nfs-server potato se passe sans probl�me (dpkg
est un bel instrument r�ellement efficace et souple). Seul souci, la
d�pendance avec netbase (supprim� par les paquets portmap, nfs-common de
woody) n'est pas indiqu�e.
nfs-server fini par marcher. Lui refuse les caract�res * et n'a pas
l'option no_all_squash par d�faut. Le fichier suivant lui convient:
# 1) Le FTP, maintenant sous /ftp et lien  /home/ftp -> /ftp
/home/ftp       stargate(rw,no_all_squash)

# 2) Les usr (sous /husr ou /usr)
# /husr/usr.test
/husr/usr.test           (rw,no_root_squash)
# /husr/usr.export
/husr/usr.export         (rw,no_all_squash)
# /husr/usr.exportv2
/husr/usr.exportv2       (rw,no_all_squash)
# La petite 486 Samba
/usr/smbserveur bic(rw,no_root_squash)

# 3) Home
/home            (rw,no_all_squash) obiwan(rw,no_root_squash)

# 4) Boot NFS /tftboot/192.168.1.254 -> SOS.root
/SOS.root        (rw,no_root_squash)
/tftpboot        (rw,no_root_squash)

# 5) Reste: /var/spool/mail, /var/spool/texmf et /var/cache/apt/archives
/husr/texmf.export       (rw,no_root_squash)    # Sous /husr/texmf
/var/spool/mail  (rw,no_root_squash)
/divers/debian/archives          (rw,no_root_squash)

# 6) Pour le backup
/       solo(ro,no_root_squash,no_all_squash)
/usr    solo(ro,no_root_squash)
SOS.old solo(ro,no_root_squash)
SOS.root        solo(ro,no_root_squash)
...(tout les repertoires sous /)

#7) Les clients
/divers/clientv2.1      obiwan(rw,no_root_squash) SOS(rw,no_root_squash)
/divers/clientv2.2      obiwan(rw,no_root_squash) SOS(rw,no_root_squash)
/divers/clientv3.0      obiwan(rw,no_root_squash) SOS(rw,no_root_squash)
/divers/clientv3.1      obiwan(rw,no_root_squash) SOS(rw,no_root_squash)


Voil�! Quelqu'un a-t-il un d�but d'explication sur cette s�rie de pbms?

Bon courage � tous et merci d'avoir lu.

F. Boisson



Répondre à