A.H.Lin
HOME
首頁
亂丟
LINK
eBOOK
顯示具有
nfs
標籤的文章。
顯示所有文章
顯示具有
nfs
標籤的文章。
顯示所有文章
2012年9月6日 星期四
CENTOS minimal NFS
預設沒有
yum -y install nfs-utils nfs-utils-lib
自己安裝
然後要記得開 rpcbind
#
/etc/init.d/rpcbind start
設定開機時啟動
#
chkconfig --level 3 rpcbind on
2011年12月13日 星期二
NFS , RedHat
RedHat release 內應該都會有內建 NFSD
service nfs {start|stop|restart|status}
設定檔在
/etc/exports
使用 exportfs -ra 做 Reload
參考
2011年12月12日 星期一
NFS Ubuntu
基本操作
Start
service nfs-kernel-server start
Stop
service nfs-kernel-server stop
Restart
service nfs-kernel-server restart
重新讀設定檔 ( /etc/exports )
exportfs -ra
疑難雜症
Device is busy
使用 fuser 找出佔用資源的process
NFSD , AIX Server , Linux client
Server Side
check nfs service
lssrc -g nfs
, check
nfsd, rpc.mounted is active
start nfs services group :
startsrc -g nfs
start single service :
startsrc -s nfsd
服务器添加需要export的FS
smit mknfsexp
export服务器的FS
/usr/sbin/exportfs -a
检查export的情况
# hostnamet -e
APP1
# showmount -e APP1
export list for APP1:
检查服务器端的/etc/hosts
定义客户端的信息
172.22.93.26 totoro.pacs.vghtc.gov.tw totoro
restart nfs service
stopsrc -g nfs
startsrc -g nfs
Client Side
加入 /etc/hosts
mount -t nfs f3n3:/worktmp/nmon /worktmp/f3n3 -o nfsvers=2
Note :
mount.nfs: Remote I/O error
mount 時需加上 -o nfsvers=2
較舊的文章
首頁
訂閱:
文章 (Atom)