当前位置:IT快活林→网上冲浪实用技术

在aix上 mount linux分区

作者:本站整理   发布时间:2008-9-7 9:31:35


最开始在linux上启动操作系统 nfs 服务
#/etc/rc.d/init.d/nfs start
[root@Dept4-Linux init.d]# ./nfs status
rpc.mountd (pid 31500 31450 31396 31097 31048 30999) を実行中...
nfsd (pid 30991 30990 30989 30988 30987 30986 30985 30984) を実行中...
rpc.rquotad (pid 31491 31441 31387 31088 31039 30980) を実行中...在/etc/exports文件中添加目录路径
[root@Dept4-Linux init.d]# more /etc/exports
/share 17II.1VII.I.25(rw,insecure,sync,no_wdelay,no_root_squash)在aix 上查看
# showmount -e 17II.1VII.I.50
17II.1VII.I.50 のエクスポート・リスト:
/share 17II.1VII.I.50修改aix /etc/filesystems/share:
  dev =/share
  vfs =nfs
  nodename  =17II.1VII.I.50
  mount =true
  options   =rw,hard,nointr,tcp,noac,vers=3,timeo=600,rsize=32768,wsize=32768
  account   =false把 /share mount 上去
#mount /share
# df
Filesystem    512-blocksFree %Used    Iused %Iused Mounted on
/dev/hd4   4194304   2954560   30% 3014 1% /
/dev/hd2 110886912  26356672   77%    44538 2% /usr
/dev/hd9var2097152   2010664    5%853 1% /var
/dev/hd3   4194304   2626568   38% 3177 2% /tmp
/dev/fwdump 262144    261448    1%  4 1% /var/adm/ras/platform
/dev/hd1  12582912   4340336   66%    20016 4% /home
/proc-   -    -   - -  /proc
/dev/hd10opt 4194304   3455576   18% 7895 3% /opt
17II.1VII.I.50:/share   40322408  18814704   54%   122570 5% /share
》热 点 关 注