• Aucun résultat trouvé

Administration des Systèmes UNIXNoureddine GRASSAISET MAHDIASeptembre 2009 NFS

N/A
N/A
Protected

Academic year: 2022

Partager "Administration des Systèmes UNIXNoureddine GRASSAISET MAHDIASeptembre 2009 NFS"

Copied!
8
0
0

Texte intégral

(1)

NFS

Administration des Systèmes UNIX Noureddine GRASSA

ISET MAHDIA

Septembre 2009

(2)

© Dominique Lazure

2

Usages de NFS

Déporter un répertoire sur un serveur

Centralisation de home-directories

Assurer la continuïté de service

Facilite l'administration des applications

Permet la banalisation des stations

Partage de données entre plusieurs OS

(3)

© Dominique Lazure

3

Modèle NFS

Client/Serveur

Serveur NFS :

root% vi /etc/exports

init% /etc/rc.d/init.d/nsfd start

Client NFS:

polo% grep nfs /etc/fstab

serveur:/home /home nfs defaults 0 0 init% mount –t NFS serveur:/home /home

(4)

© Dominique Lazure

4

Usages courants de NFS

/home mobilité des usagers

/usr/local logiciels installés pour un parc local peu souvent accédés

facilité d'upgrade /var/spool/mail évite POP

Sauvegardes peut faciliter les accès en dump

(5)

© Dominique Lazure

5

Remarques sur NFS

Attention !

UID/GID

droits d'accès

Trafic implicite de commandes simples

Réglages fins dans par /etc/exports

Répertoires exportés / Machines autorisées (*)

Droits d'accès : suid, rw, user, auto…

Réglages aussi coté client

Gadgets : taille de blocs, retry...

Insertion dans /etc/fstab (sans fsck !)

Attention aux interactions NIS/NFS

(6)

© Dominique Lazure

6

Tout savoir sur NFS

% man mount

% mozilla http://www.ibiblio.org/mdw/HOWTO/NFS-HOWTO

(7)

© Dominique Lazure

7

automount

Historiquement amd

Montage effectué uniquement lors de l'accès réel

HOWTO-automount

(8)

© Dominique Lazure

8

Questions ?

Références

Documents relatifs

Figure 1 illustrates that the Volume Home Block has a pointer to the first sector of the File Headers, as well as to the first sector of the Master File Directory.. Each Directory

Choix de priorité entre tables locales/tables NIS Configuration dans /etc/nsswitch.conf. Pour chaque

To begin using machine as an NFS client, you will need the portmapper running on that machine, and to use NFS file locking, you will also need rpc.statd and rpc.lockd running on

Lorsqu’un client recherche l’adresse IP d’un il doit consulter son fichier hosts.. Si NIS fonctionne le client interrogera NIS avant de consulter le

I can’t really begin to tell you what an honour it is for me to have been asked to give the keynote address for the History and Narrative session of Family

Mrs Smith had been my patient for about 2 years when  I  got  a  phone  call  from  her  neighbour.  She  asked  if  I  would  visit  Mrs  Smith  at 

Un nombre suffisant de propriétaires ont été recrutés et ont collaboré au projet grâce au soutien efficace et rapide offert par les équipes cliniques et de logement (incluant

It is clear that, for most participants, the combination of: (1) being quickly housed in a decent, independent apartment that they had helped choose and that they could afford