2011年12月12日 星期一

NFSD , AIX Server , Linux client

Server Side
  1. 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
  2. 服务器添加需要export的FS
    smit mknfsexp
  3. export服务器的FS
    /usr/sbin/exportfs -a
  4. 检查export的情况
    # hostnamet -e
    APP1
    # showmount -e APP1
    export list for APP1:
  5. 检查服务器端的/etc/hosts
    定义客户端的信息
    172.22.93.26            totoro.pacs.vghtc.gov.tw totoro
  6. restart nfs service
    stopsrc -g nfs
    startsrc -g nfs

Client Side

  1. 加入 /etc/hosts
  2. mount -t nfs f3n3:/worktmp/nmon /worktmp/f3n3 -o nfsvers=2 

Note : 
  • mount.nfs: Remote I/O error
    mount 時需加上  -o nfsvers=2