Login form



NFS, Net file system, showmount, exportfs
Fedorai

https://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/ch-nfs.html
http://nfs.sourceforge.net/

debianui

http://www.debianhelp.co.uk/nfs.htm
http://www.crazysquirrel.com/computing/debian/servers/nfs.jspx


RPC protokolas

rpcinfo -p

apt-get install nfs-common portmap

rpm -i nfs-utils
rpm -i portmap

/etc/rc.d/init.d
/etc/init.d


/etc/inittab - lygiai
runlevel - koks lygis

/etc/rcxx - ar paleistas servisas?


mkdir /a
mkdir /b


/etc/exports

/a *(ro,sync)

/b *(rw,sync)

showmount -d
showmount -e
showmount -a


exportfs -a

showmount -d
showmount -e
showmount -a

--------------
Kito kompo

showmount -e 10.0.1.52

mount -t nfs 10.0.1.56:/a /b


/var/lib/nfs/etab contains information about what filesystems should be exported to whom at the moment.

/var/lib/nfs/rmtab contains a list of which filesystems actually are mounted by certain clients at the moment.

/proc/fs/nfs/exports contains information about what filesystems are exported to actual client
(individual, not subnet or whatever) at the moment.

/var/lib/nfs/xtab is the same information as /proc/fs/nfs/exports but is
maintained by nfs-utils instead of directly by the kernel.
It is only used if /proc isn't mounted.

root_squash
no_root_squash
no_all_squash
all_squash

Kas bus, kai nesvarus resursu atjungimas ivyks su failais ?

Su Ethereal patikrinti, kokiais portais veikia sesija.


http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/ref-guide/s1-nfs-client-config.html
/etc/fstab
 
[ BBC news ][ Yahoo news ][ Linux guru ][ Webmaster ACE ]