Mounting NFS Filesystems
(1)掛載 /etc/fstab
#vi /etc/fstab
%add
#server1:/var/ftp/pub/RHEL5 /mnt/server1 nfs defaults,noauto 0 0
%remount
#mount -a
(2)auto mounter
#vi /etc/auto.master
#vi /etc/auto.misc
---略---
ftp -ro,soft,intr 192.168.0.254:/var/ftp/pub/RHEL5
nfs -fstype=nfs 192.168.0.254:/var/ftp/pub/RHEL5
#service autofs restart
#cd /misc/nfs
#mount (檢查是否有mount起來)
---略---
192.168.0.254:/var/ftp/pub/RHEL5 on /misc/nfs type nfs (rw,addr=192.168.0.254)
Previous post in this category: [雜記]RHCE筆記整理-RH133-Unit5(1)
Next post in this category: [雜記]RHCE筆記整理-RH133-Unit5(3)
學習(2)
[雜記]RHCE筆記整理-考試綱要(2)
Recommend to Front page
Comment Permissions: Only members may comment. If you are not a PIXNET member, click here to sign up.