473,327 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Please help: Oracle9i/AIX5.2/Veritas vxvm raw devices Problem

Fellow Oracle Netters:

I have the following problem:

Enviroment: Oracle9i/AIX5.2/Veritas vxvm

I am trying to create an Oracle database using RAW devices UNDER
the Veritas vxvm.(Veritas Volume Manager).

Brief Antecedents:

I created the necessary veritas raw devices for the Oracle Database files
(controlfiles, system, logfiles, datafiles), /dev/vx/rdsk/oradg/cntrl1,
/dev/vx/rdsk/oradg/cntrl2,
/dev/vx/rdsk/oradg/log1, /dev/vx/rdsk/oradg/system1, etc without any
problem,
I changed the permissions and ownership to oracle:dba, and ofcourse enabled
write permissions.

To check that I can write to the Veritas raw volumes (devices) I used
the dd commnad, and AIX wrote to them just fine. (Also I checked the veritas
vxvm
daemons are running). I also have the AIX bos.rte.vxvm to allow both AIX and
Veritas
Volume Managers to coexist.

The Problem:

When I try to create a very simple database like (at the SQL> prompt logged
as
sys as sysdba ofcourse):

connect sys/change.. as sysdba
startup nomount pfile=mycorrectpfile.ora
create database myoradb controlfile reuse
datafile '/dev/vx/rdsk/oradg/system1' size 700M reuse
logfile '/dev/vx/rdsk/oradg/log1' size 300M reuse,
logfile '/dev/vx/rdsk/oradg/log2' size 300M reuse;
exit
it FAILS to create the database (see error message at the end of this post).
Now if I do the database creation using the SAME raw devices but UNDER
the AIX volume manager creates the database without any problem and
uses the raw devices.
Also if I do the trick, of creating a soft link to the veritas raw device
it fails and works if I use the raw device under AIX LVM.

Questions:

1)Is there something else to tell Oracle sql that the files to be used for
the database creation
are under Veritas?

2)I understand that if I was using RAC, I would have to export
DBCA_RAW_CONFIG=myveritas_rawdevices_mapping.txt,
but it is not the case here. So is there a similar mapping like this
when NOT using RAC?
The error message is:

"Connected to an idle instance.
ORACLE instance started.
Total System Global Area xxxxx bytes
Fixed Size
xxxx bytes
Variable Size
xxxxx bytes
Database Buffers
xxxxx bytes
Redo Buffers
xxxxxx bytes

create database "myoradb" controlfile reuse maxdatafiles 700
ERROR at line 1:ORA-01501: CREATE DATABASE failed
ORA-00301: error in adding log file '/dev/vx/rdsk/oradg/log1'
- file cannot be created
ORA-27041: unable to open file
IBM AIX RISC System/6000 Error: 22: Invalid argument
Additional information: 11
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit
Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production"

(Note, in the above run, I used jfs files for the control files, so the
first veritas to
try to access were the log1 and log2, but comes with the
same stream or ORA errors if I use the Veritas raw devices to place the
control
files)
Any ideas/thoughts/clues/suggestions would be greatly appreciated.

Best,

A. Fuentes
512-297-9937


Jul 19 '05 #1
0 6195

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: aychai | last post by:
Hi all, I am trying to make use Oracle9i db to call an external .Net Web Service from a JAva Stored Procedure. I created the .Net Web Service and use JDeveloper 9.0.3.4Build(1247) to create...
9
by: sk | last post by:
I have an applicaton in which I collect data for different parameters for a set of devices. The data are entered into a single table, each set of name, value pairs time-stamped and associated with...
5
by: linyy_ca | last post by:
Hi All, I have upgrade the OS from AIX5.1 to AIX5.2ML03 and installed DB2v8.2( no FixPack) on RS/6000 H50. I find it is very slow when run command db2icrt to create Instance and db2start. The...
2
by: zhouhaiming | last post by:
On our test machine I can compile my c source code on AIX5.1(ML4) by "- q32" option and "OBJECT_MODE=32" environment variable, and it can correctly running. My operation system environment is:...
3
by: Fred Palmer | last post by:
I am trying to get reponses from multiple devices on my network by sending the following message via UDP: // Create the message Byte bytesSent = new Byte {0x00, 0x00, 0x00, 0xF6}; Socket s =...
1
by: frederic.germaneau | last post by:
Hi, I'm trying to install, postgreSQL v8 beta2 on AIX5.2, and I have one problem: configure refuses to see AIX5.2 like as an OS assuming multithreading, any idea to resolve it ?
3
by: Har | last post by:
I have created a small client application with loopback address (127.0.0.1) so that same machine act as server and client. but i want to know whether we have to create seperate server application and...
0
by: A. Fuentes | last post by:
Fellow Oracle Netters: I have the following problem: Enviroment: Oracle9i/AIX5.2/Veritas vxvm I am trying to create an Oracle database using RAW devices UNDER the Veritas vxvm.(Veritas...
2
by: Ruslan A Dautkhanov | last post by:
Hello ! I'm about to install O9i on FreeBSD box. uname -a: FreeBSD stat2.scn.ru 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #2: Fri Apr 23 19:19:43 KRAST 2004...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.