- 論壇徽章:
- 0
|
環(huán)境:WINDOWS 2003、oracle 10.2.0.1.0
2003上通過(guò)映射網(wǎng)絡(luò)驅(qū)動(dòng)器,掛了一個(gè)NAS,F(xiàn)在想通過(guò)EXPDP 將DMP文件直接放在此NAS上。
報(bào)錯(cuò)如下:
Z:\test>expdp system directory=orcl schemas=scott dumpfile=d.dmp logfile=d.log
Export: Release 10.2.0.1.0 - Production on 星期三, 21 3月, 2012 16:15:52
Copyright (c) 2003, 2005, Oracle. All rights reserved.
連接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
ORA-39002: 操作無(wú)效
ORA-39070: 無(wú)法打開(kāi)日志文件。
ORA-29283: 文件操作無(wú)效
ORA-06512: 在 "SYS.UTL_FILE", line 475
ORA-29283: 文件操作無(wú)效
看報(bào)錯(cuò),像是ORACLE沒(méi)有找到directory。orcl 肯定創(chuàng)建了,數(shù)據(jù)庫(kù)里read,write 權(quán)限也授了。NAS在安全選項(xiàng)里也對(duì)everyone 授予一切權(quán)限。
問(wèn)題
1、請(qǐng)問(wèn)EXPDP是否支持NAS?還是哪里需要特別設(shè)置?
2、ORACLE是否支持直接講數(shù)據(jù)文件放在NAS上?比如擴(kuò)展表空間到時(shí)候,添加數(shù)據(jù)文件,直接就寫(xiě)NAS的空間。
補(bǔ)充說(shuō)明:
1、NAS掛的盤(pán)符是Z盤(pán),在數(shù)據(jù)庫(kù)創(chuàng)建directory寫(xiě)的就是‘z:\test';
2、如果將directory創(chuàng)建在本地硬盤(pán)D盤(pán),就沒(méi)有任何問(wèn)題 |
|