服务端,将windows的oracle数据直接expdp到linux的共享目录下..."/>
linux 搭建nfs oracle,windows作为nfs客户端,linux为nfs服务端,将windows的oracle数据直接expdp到linux的共享目录下...
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
D:\>set ORACLE_SID=zyzh
D:\>sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on 星期四 6月 28 12:18:04
2018
Copyright (c) 1982, 2013, Oracle. All rights
reserved.
SQL> conn /as sysdba
已连接。
SQL> SET LINE 132
SQL> set wrap off
SQL> select * from dba_directories;
OWNER DIRECTORY_NAME DIRECTORY_PATH
------------------------------ ------------------------------
------------------------------------------------
----------------------
SYS DPDATA1 D:\jyc\dump
SYS RODMAN D:\rodman
SYS ADMIN_DUMP D:\backup
SYS DUMP_DIR D:\jyc\dmp
SYS GGS_DDL_TRACE D:\oracle\diag\rdbms\zyzh\zyzh\trace
SYS XMLDIR D:\oracle\product\11.2.0\rdbms\xml
SYS ORACLE_OCM_CONFIG_DIR D:\oracle\product\11.2.0/ccr/state
SYS DATA_PUMP_DIR D:\oracle/admin/zyzh/dpdump/
SYS ORACLE_OCM_CONFIG_DIR2 D:\oracle\product\11.2.0/ccr/state
已选择9行。
SQL> create or replace directory dmp as 'E:';
目录已创建。
SQL> grant read,write on directory dmp to public;
授权成功。
SQL> conn system/system
已连接。
SQL> exit
从 Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 -
64bit Production
With the Partitioning, OLAP, Data Mining and Real Application
Testing options 断开
D:\>expdp system/system DIRECTORY=dmp schemas=COVERADDRESS CONTENT=all DUMPFILE=COVERADDRESS.dmp logfile=exp
dp-COVERADDRESS.log PARALLEL=4
CLUSTER=N
Export: Release 11.2.0.4.0 - Production on 星期四 6月 28 12:28:41
2018
Copyright (c) 1982, 2011, Oracle and/or its
affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0
- 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application
Testing options
ORA-39002: 操作无效
ORA-39070: 无法打开日志文件。
ORA-29283: 文件操作无效
ORA-06512: 在 "SYS.UTL_FILE", line 536
ORA-29283: 文件操作无效
D:\>sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on 星期四 6月 28 12:30:06
2018
Copyright (c) 1982, 2013, Oracle. All rights
reserved.
SQL> conn /as sysdba
已连接。
SQL> grant read,write on directory dmp to SYSTEM;
授权成功。
SQL> exit
从 Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 -
64bit Production
With the Partitioning, OLAP, Data Mining and Real Application
Testing options 断开
D:\>expdp system/system DIRECTORY=dmp schemas=COVERADDRESS CONTENT=all DUMPFILE=COVERADDRESS.dmp logfile=exp
dp-COVERADDRESS.log PARALLEL=4
CLUSTER=N
Export: Release 11.2.0.4.0 - Production on 星期四 6月 28 12:30:30
2018
Copyright (c) 1982, 2011, Oracle and/or its
affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0
- 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application
Testing options
ORA-39002: 操作无效
ORA-39070: 无法打开日志文件。
ORA-29283: 文件操作无效
ORA-06512: 在 "SYS.UTL_FILE", line 536
ORA-29283: 文件操作无效
D:\>sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on 星期四 6月 28 12:32:35
2018
Copyright (c) 1982, 2013, Oracle. All rights
reserved.
SQL> conn /as sysdba
已连接。
SQL> alter system set events '10298 trace name context
forever,level 32';
系统已更改。
SQL> exit
从 Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 -
64bit Production
With the Partitioning, OLAP, Data Mining and Real Application
Testing options 断开
D:\>expdp system/system DIRECTORY=dmp schemas=COVERADDRESS CONTENT=all DUMPFILE=COVERADDRESS.dmp logfile=exp
dp-COVERADDRESS.log PARALLEL=4
CLUSTER=N
Export: Release 11.2.0.4.0 - Production on 星期四 6月 28 12:32:50
2018
Copyright (c) 1982, 2011, Oracle and/or its
affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0
- 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application
Testing options
ORA-39002: 操作无效
ORA-39070: 无法打开日志文件。
ORA-29283: 文件操作无效
ORA-06512: 在 "SYS.UTL_FILE", line 536
ORA-29283: 文件操作无效
用法: mount [-o options] [-u:username] [-p:]
-o rsize=size 设置读取缓冲区的大小(以 KB 为单位)。
-o wsize=size 设置写入缓冲区的大小(以 KB 为单位)。
-o timeout=time 设置 RPC 调用的超时值(以秒为单位)。
-o retry=number 设置软装载的重试次数。
-o mtype=soft|hard 设置装载类型。
-o
lang=euc-jp|euc-tw|euc-kr|shift-jis|big5|ksc5601|gb2312-80|ansi
指定用于文件和目录名称的编码。
-o fileaccess=mode 指定文件的权限模式。
这些模式用于在 NFS 服务器上创建的
新文件。使用 UNIX 样式模式位指定。
-o anon 作为匿名用户装载。
-o nolock 禁用锁定。
-o casesensitive=yes|no 指定在服务器上执行区分大小写的文件查找。
-o sec=sys|krb5|krb5i
D:\>mount -o rsize=32768,wsize=32768,nolock -u:root
-p:"password" 10.62.232.246:/oradata/dmp E:
rsize 值无效。读取缓冲区大小(KB)需要是 1、2、4、8、16 或 32 中的一个数字。
D:\>mount -o rsize=32,wsize=32,nolock -u:root -p:"password"
10.62.232.246:/oradata/dmp E:
E: 现已成功连接到 10.62.232.246:/oradata/dmp
命令已成功完成。
D:\>expdp system/system DIRECTORY=dmp schemas=COVERADDRESS CONTENT=all DUMPFILE=COVERADDRESS.dmp logfile=exp
dp-COVERADDRESS.log PARALLEL=4
CLUSTER=N
Export: Release 11.2.0.4.0 - Production on 星期四 6月 28 12:37:47
2018
Copyright (c) 1982, 2011, Oracle and/or its
affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0
- 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application
Testing options
ORA-39002: 操作无效
ORA-39070: 无法打开日志文件。
ORA-29283: 文件操作无效
ORA-06512: 在 "SYS.UTL_FILE", line 536
ORA-29283: 文件操作无效
D:\>cd e:
E:\
D:\>e:
E:\>dir
驱动器 E 中的卷没有标签。
卷的序列号是 68FB-AEAD
E:\ 的目录
2018/06/28 12:12 .
2018/06/28 12:12 ..
2018/06/28 12:12 4 1.txt
1 个文件 8,196 字节
2 个目录 252,831,817,728
可用字节
E:\>mkdir t
E:\>cd t
E:\t>sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on 星期四 6月 28 12:41:50
2018
Copyright (c) 1982, 2013, Oracle. All rights
reserved.
SQL> conn /as sysdba
已连接。
SQL> create or replace directory dmp as
'10.62.232.246:/oradata/dmp';
目录已创建。
SQL> grant read,write on directory dmp to SYSTEM;
授权成功。
SQL> exit
从 Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 -
64bit Production
With the Partitioning, OLAP, Data Mining and Real Application
Testing options 断开
E:\t>d:
D:\>expdp system/system DIRECTORY=dmp schemas=COVERADDRESS CONTENT=all DUMPFILE=COVERADDRESS.dmp logfile=exp
dp-COVERADDRESS.log PARALLEL=4
CLUSTER=N
Export: Release 11.2.0.4.0 - Production on 星期四 6月 28 12:42:23
2018
Copyright (c) 1982, 2011, Oracle and/or its
affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0
- 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application
Testing options
ORA-39002: 操作无效
ORA-39070: 无法打开日志文件。
ORA-29283: 文件操作无效
ORA-06512: 在 "SYS.UTL_FILE", line 536
ORA-29283: 文件操作无效
D:\>sqlplus /nolog
SQL*Plus: Release 11.2.0.4.0 Production on 星期四 6月 28 12:46:43
2018
Copyright (c) 1982, 2013, Oracle. All rights
reserved.
SQL> conn /as sysdba
已连接。
SQL> create or replace directory dmp
as '\\10.62.232.246\oradata\dmp';
目录已创建。
SQL> grant read,write on directory dmp to SYSTEM;
授权成功。
SQL> exit
从 Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 -
64bit Production
With the Partitioning, OLAP, Data Mining and Real Application
Testing options 断开
D:\>expdp system/system DIRECTORY=dmp schemas=COVERADDRESS CONTENT=all DUMPFILE=COVERADDRESS.dmp logfile=exp
dp-COVERADDRESS.log PARALLEL=4
CLUSTER=N
Export: Release 11.2.0.4.0 - Production on 星期四 6月 28 12:47:14
2018
Copyright (c) 1982, 2011, Oracle and/or its
affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0
- 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application
Testing options
自动启用 FLASHBACK 以保持数据库完整性。
启动 "SYSTEM"."SYS_EXPORT_SCHEMA_03": system/******** DIRECTORY=dmp schemas=COVERADDRESS CONTENT=all
DUMPFILE
=COVERADDRESS.dmp logfile=expdp-COVERADDRESS.log PARALLEL=4
CLUSTER=N
正在使用 BLOCKS 方法进行估计...
使用 BLOCKS 方法的总估计: 0 KB
处理对象类型 SCHEMA_EXPORT/USER
处理对象类型 SCHEMA_EXPORT/SYSTEM_GRANT
处理对象类型 SCHEMA_EXPORT/ROLE_GRANT
处理对象类型 SCHEMA_EXPORT/DEFAULT_ROLE
处理对象类型 SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
处理对象类型 SCHEMA_EXPORT/DB_LINK
处理对象类型 SCHEMA_EXPORT/FUNCTION/FUNCTION
处理对象类型 SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION
已成功加载/卸载了主表 "SYSTEM"."SYS_EXPORT_SCHEMA_03"
******************************************************************************
SYSTEM.SYS_EXPORT_SCHEMA_03 的转储文件集为:
\\10.62.232.246\ORADATA\DMP\COVERADDRESS.DMP
作业 "SYSTEM"."SYS_EXPORT_SCHEMA_03" 已于 星期四 6月 28 12:47:44 2018
elapsed 0 00:00:29 成功完成
D:\>
更多推荐
linux 搭建nfs oracle,windows作为nfs客户端,linux为nfs服务端,将windows的oracle数据直接expdp到linux的共
发布评论