473,386 Members | 1,602 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,386 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 6201

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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.