资源描述
目录共享
实现:
B服务器上的一个目录:/oracle/TEST 网络共享到A服务器上的/oracle/DEV/TEST目录。
步骤:
首先要在A机器的hosts文件配置B 的ip hostname
1. B服务器上
SMIT NFS -->Net Work File System(NFS)-->Add a Directory to Export List
(先Change / Show Attributes of an Exported Directory确认目录之前没有被Exported)
下面需维护需要共享的目录:
Pathname of directory to export : /oracle/TEST
2. A服务器上
SMIT NFS --> Net Work File System(NFS)-->Add a File System For Mounting
Pathname of mount point 填A机上mount点 /oracle/DEV/TEST
Pathname of remote directory填B机上路径 /oracle/TEST
Host where remote directory resides填B机主机名(在B机器上运行hostname获得) ERPDEV
成功之后,在A服务器上 df -g就可以看到下面内容:(我的A机上的目录是 /oracle/TEST)
这样,我在A机copy文件目录到B机时,就不用ftp了,直接在A机上copy到/oracle/TEST这里,就是放到B机上了。
mount crszhr15:/biapp/bi11r6/instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/catalog/ /biapp/obi11r6/instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/catalog/
展开阅读全文