NFS is a good shared storage system, but is in high load situations performance is not too good.
10.0.0.2 10.0.0.1-NFSServer NFSClient on the NFSServer-: NFS shared directory:/nfspool: running user nfsnobody # mkdir/nfspool # vi/etc/exports/nfspool10.0.0.2 (rw, async, anonuid = 65534, anongid = 65534) # mkdir-p/nfspool # chownnfsnobody: nfsnobody/nfspool # chown-Rnfsnobody: nfsnobody/nfspool/. # Serviceportmapstart # servicenfslockstart # servicenfsstart in NFSClient: remote NFS shared directory is the mount point:/usr/local/ns # serviceportmapstart # mkdir/usr/local/ns # chownnfsnobody: nfsnobody/usr/local/ns # chmod777/usr/local/ns # mount-tnfs-osoft, intr, bg, timeo = 5010.0.0.1:/nfspool/usr/local/ns # vi/etc/fstab 10.0.0.1:/nfspool/usr/local/nfsnfssoft, intr, bg, timeo = 5000 description, note 1, exports parameter description rw: read-write mode; async: asynchronous disk read/write; anonu (g) id: specify NFS you proceed the use of anonymous user uid/gid 2, NFS Administration commands executed on the NFSServer showmount-e this command displays all the NFSServer shared volume; showmount-e10.0.0.1 performed on the NFSClient this command to display all the shared volume on the NFSServer; export-av according to export all volume/etc/exports; export-rv export all volume again, adding new items in/etc/exports, removing non-existent project, update, change projects;
No comments:
Post a Comment