AIX挂载

1: first know the Storage server:

  NFS server: nfs_server01
  dev: /vol/123_VL
 
2: add the NFS server in client server:
  /etc/hosts
 
3: ping NFS server, if reply succcess, then can considered the NFS server can configure success.


4: show the NFS server exported filesystem:
  showmount -e NFS_server01
 
  The result will show:
  /vol/NFS_server01_data/test01        10.20.30.40/27

4: Add the NFS configuration in client: /etc/filesystems:
 
  /data/test01:
  dev        = /vol/NFS_server01_data/test01
  vfs        =    nfs
  nodename    = nfs_server01
  mount            = true
  options        = bg,hard,llock,intr,biods,rsize=65536,wsize=65536,vers=3,proto=tcp,sec=sys,maxgroups=32
  account        = false
 
5 c reate the folder in server:
  mkdir -p /data/test01
 
6: mount filesystem:
  mouunt -o bg,hard,llock,intr,biods,rsize=65536,wsize=65536,vers=3,proto=tcp,sec=sys,maxgroups=32, rw nfs_server01:/vol/NFS_server01_data/test01 /data/test01
 
7: checked the mount system:
  mount | grep test01
 
-------------


Below actical is for reference:

AIX 6.1   

--
In the NFS server:

1. start the NFS service:
# lssrc  -g  nfs
# startsrc  -g nfs
# lssrc  -g  nfs  
active is okay

2.configure the /etc/hosts file:
# vi  /etc/hosts
10.88.51.87    NFS_server_hostname 

3.configure
# vi  /etc/exports
/data02  -rw,access= NFS_server_name     

--
In the client server:

1. mkdir -p  /data/d3

2.check the client portmap service
# lssrc  -s  portmap  (active is ok)

猜你喜欢

转载自blog.csdn.net/yuezhilangniao/article/details/112811798
AIX
今日推荐