加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

AIX下挂载linux的nfs共享目录

(2013-08-05 23:44:46)
分类: 系统学习笔记

今天进行数据库巡检,发现备份的NAS中的NFS共享目录没看到

step1:检查挂载目录

# df -g
Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4           2.00      1.38   31%    14267     5% /
/dev/hd2           4.00      1.23   70%    48174    15% /usr
/dev/hd9var        0.50      0.08   84%     7705    28% /var
/dev/hd3           5.00      2.38   53%     4661     1% /tmp
/dev/hd1           0.25      0.25    1%       65     1% /home
/dev/hd11admin      0.25      0.25    1%           1% /admin
/proc                                    /proc
/dev/hd10opt       1.00      0.24   76%    10298    16% /opt
/dev/livedump      0.25      0.25    1%           1% /var/adm/ras/livedump
/dev/fslv00       30.00     17.90   41%    65884     2% /u01
/dev/datalv      199.25    125.70   37%     3324     1% /u02
/dev/fslv02      119.00    113.14    5%      209     1% /u02/archivelog/inarch

step2:接着,手动进行挂载,发现报如下的错误:
# mount 10.203.20.67:/volume1/ypops_db /orabak
mount: 1831-008 giving up on:
10.203.20.67:/volume1/ypops_db
vmount: Operation not permitted.

step3:查看远程NAS的NFS共享目录
# showmount -e 10.203.20.67
export list for 10.203.20.67:
/volume1/hr-db    10.203.10.134,10.203.10.130
/volume1/mrp_db   10.203.20.49,10.203.20.50
/volume1/dms_db   10.203.21.31,10.203.21.32,10.203.20.210
/volume1/sap_db   10.203.22.1,10.203.22.15,10.203.22.11,10.203.22.0/24,10.203.22.5
/volume1/AIX_bk   10.203.0.0/16,10.203.10.83
/volume1/tsmbak   10.203.10.83
/volume1/ypops_db 10.203.20.1  (找到自己需要的共享目录。)
step4:查看AIX上的portmap是否启动

# showmount -e   (如果出现1832-019的报错需要重新启动portmap 和nfs 的服务:)
lgposs01: RPC: 1832-019 Program not registered
# stopsrc -g nfs
0513-044 The biod Subsystem was requested to stop.
0513-044 The rpc.statd Subsystem was requested to stop.
0513-044 The rpc.lockd Subsystem was requested to stop.
# stopsrc -s portmap
0513-044 The portmap Subsystem was requested to stop.
# startsrc -s portmap
0513-059 The portmap Subsystem has been started. Subsystem PID is 1445982.
# startsrc -g nfs
0513-059 The biod Subsystem has been started. Subsystem PID is 594142.
0513-059 The nfsd Subsystem has been started. Subsystem PID is 729188.
0513-059 The rpc.mountd Subsystem has been started. Subsystem PID is 671766.
0513-059 The nfsrgyd Subsystem has been started. Subsystem PID is 1269764.
0513-059 The gssd Subsystem has been started. Subsystem PID is 1573000.
0513-059 The rpc.lockd Subsystem has been started. Subsystem PID is 1573002.
0513-059 The rpc.statd Subsystem has been started. Subsystem PID is 1269766.
# showmount -e 10.203.20.67
export list for 10.203.20.67:
/volume1/hr-db    10.203.10.134,10.203.10.130
/volume1/mrp_db   10.203.20.49,10.203.20.50
/volume1/dms_db   10.203.21.31,10.203.21.32,10.203.20.210
/volume1/sap_db   10.203.22.1,10.203.22.15,10.203.22.11,10.203.22.0/24,10.203.22.5
/volume1/AIX_bk   10.203.0.0/16,10.203.10.83
/volume1/tsmbak   10.203.10.83
/volume1/ypops_db 10.203.20.1
# mount 10.203.20.67:/volume1/ypops_db /orabak
mount: 1831-008 giving up on:
10.203.20.67:/volume1/ypops_db
vmount: Operation not permitted.
# nfso -a | grep nfs_use_reserved_ports
      nfs_use_reserved_ports = 0
# nfso -o nfs_use_reserved_ports=1
Setting nfs_use_reserved_ports to 1
# mount 10.203.20.67:/volume1/ypops_db /orabak
# df -g
Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4           2.00      1.38   31%    14268     5% /
/dev/hd2           4.00      1.23   70%    48174    15% /usr
/dev/hd9var        0.50      0.08   84%     7705    28% /var
/dev/hd3           5.00      2.38   53%     4661     1% /tmp
/dev/hd1           0.25      0.25    1%       65     1% /home
/dev/hd11admin      0.25      0.25    1%           1% /admin
/proc                                    /proc
/dev/hd10opt       1.00      0.24   76%    10298    16% /opt
/dev/livedump      0.25      0.25    1%           1% /var/adm/ras/livedump
/dev/fslv00       30.00     17.90   41%    65884     2% /u01
/dev/datalv      199.25    125.70   37%     3324     1% /u02
/dev/fslv02      119.00    113.14    5%      209     1% /u02/archivelog/inarch
10.203.20.67:/volume1/ypops_db   3658.68    258.08   93%  2672191     2% /orabak

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有