安装NFS服务包
#yum -y install *nfs*
修改配置文件
[[email protected] orcl_100]# vim /etc/exports /u01/orcl_100 172.16.100.0/24(rw)[[email protected] orcl_100]# exportfs /u01/orcl_100 172.16.100.0/24[[email protected] orcl_100]# cd /u01/[[email protected] u01]# lltotal 16drwxr-xr-x 4 oracle oinstall 4096 Aug 30 23:50 appdrwxrw-rw- 3 oracle oinstall 4096 Aug 31 05:14 orcl_100注意权限 766查看已共享的目录[[email protected] u01]# showmount -eExport list for localhost.localdomain:/u01/orcl_100 172.16.100.0/24
在客户端访问
[[email protected] /]$ mkdir /oracle_bakcup [[email protected] /]$ chmod 766 /oracle_backup [[email protected] ~]# chown -R oracle.oinstall /oracle_bakcup/ [[email protected] ~]# mount 172.16.100.200:/u01/orcl_100 /oracle_bakcup/ [[email protected] ~]# mount /dev/sda3 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/sda1 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) /dev/sdb1 on /u01 type ext3 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) 172.16.100.200:/u01/orcl_100 on /oracle_bakcup type nfs (rw,addr=172.16.100.200)
可以将RMAN备份到指定服务器的目录
时间: 2024-10-12 12:11:21