.


:




:

































 

 

 

 


NFS




, , , , .. user ( NFS) ( ) , user NFS-. . , root NFS, .. root 0, root .

root NFS, root nobody. , root root NFS.

, . , , ; (, , , read-only - ).

/etc/exports :

/home/kurs1 192.168.65.3(ro) helenbr(rw,no_root_squash)

/home/kurs2 192.168.65.1/32 (sync)

#/home/test3

/home/kurs1 ( ro) 192.168.65.3, - ( rw) helenbr. helenbr root (no_root_squash), .., 0 ( root), NFS- nobody ( ).

 

/home/kurs2 - ( ) 192.168.65.1. [13] nfs.

#/home/test3 NFS- .

, /etc/exports , NFS-:

Service nfs restart

NFS-

, . lockf() flock() (man lockf, man flock). NFS : lockd statd.

NFS mountd nfsd. :

Service nfslock start

lockd , statd NFS-.

statd NFS- statd . lockd statd , .

, statd, , statd , , , . , statd .





:


: 2016-11-12; !; : 914 |


:

:

, , .
==> ...

1717 - | 1420 -


© 2015-2024 lektsii.org - -

: 0.008 .