Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: how to create datafile in shared network drive ??
I ass|u|me you are talking windows here. The access rights are not for you, but for the service. Go into the services startup/shutdown window and change the service to start as an account that has network rights to the mount point. I believe the services default to the "system account" whatever that is, and which has never worked for me. (see metalink doc# 211532.1 or do a metalink search on both your error numbers ORA-27040 & OSD-04002 ) Now for the issue of networked database files. I haven't looked at this issue in 5+ years but the way it used to work was that when a commit, checkpoint, etc. occurs that requires a guaranteed write to disk, Oracle does a "flush buffer" or some call like that in "c" (sorry, to long since I wrote "c" to remember) and the issue is that the call they use was/is not guaranteed over network drives. So you are running a risk of a corrupted database if some anomaly happens. Now hardware and networking have come a long way over the years and I'm sure there are configurations that handle this just fine. So you have to ask yourself, "does yours?".
"oraora oraora" <oraoraora_at_rediff To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> mail.com> cc: Sent by: Subject: how to create datafile in shared network drive ?? root_at_fatcity.com 01/30/03 07:58 PM Please respond to ORACLE-L
Guys,
the env. is 8.1.6/win2k.
SQL > alter tablespace test add datafile '\\192.168.17.111\shared\test.dbf' size 100m;
ORA-01119: error in creating database file '\\192.168.0.111\shared\test.dbf'
ORA-27040: skgfrcre: create error, unable to create file OSD-04002: cannot open file. O/S-Error: (OS 5) access denied.
But i have all access/permission to this drive. i mapped this shared network drive and then tried once again. even then i get the same error.
Is it possible to create a tablespace with datafile residing in a shared network drive ??
TIA. Prem.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: oraora oraora INET: oraoraora_at_rediffmail.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Thu Jan 30 2003 - 23:03:56 CST
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: INET: Brian_P_MacLean_at_eFunds.Com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |