Sponsored Content
Operating Systems AIX Oracle ASM accidentally messed with my hdisk Post 302526000 by George_Samaan on Monday 30th of May 2011 03:24:33 AM
Old 05-30-2011
it seems that i will have to re-install AIX again.
the problem is that im not an aix expert im just a DBA so i had to go by myself in this part and there was not enough documents about how to create raw disks for Oracle ASM, what we have is hdisk0 hdisk1 for rootvg (mirrored) hdisk2 oracle vg and the new rawdisk hdisk3 and i thought that every rhdisk is a raw device so in oracle i added rhdisk0 1 2 3 which turrned out to be linked to the other hdisks thats it, but i feel good that i have done this now so i could learn it the hard way and i wont be forgetting this lesson again Smilie

thanks everyone for ur help
 

8 More Discussions You Might Find Interesting

1. Solaris

asm vs disksuite for oracle

I'm running solaris, with solstice disksuite. With other systems, i run veritas volume manager. My dba want to implement ASM with oracle 10g. Is it possible to create volumes with disksuite for ASM. Oracle want a volume name ex: vol1 My question is, what is the best STANDARD solution. ... (5 Replies)
Discussion started by: simquest
5 Replies

2. Red Hat

ORACLE RAC ASM disk question

Perhaps someone here has some experience with this. machine os RHE 4 6 oracle 10g RAC disk is SAN attached clariion. I have presented new disks to the host, so the machine sees all needed LUNS. powermt shows them, they are labeled and i have fdisk'd them. They are visible across all RAC... (5 Replies)
Discussion started by: Eronysis
5 Replies

3. Solaris

Command to format Oracle ASM raw disk

Hi, Can any one please provide the command to format an Oracle Raw Disk in Solaris 10. I have been used the following commands: dd if=/dev/zero of=<raw disk path> Thanks ---------- Post updated at 12:20 PM ---------- Previous update was at 10:11 AM ---------- Well this didn't give... (0 Replies)
Discussion started by: Mack1982
0 Replies

4. Programming

Help on a perl script to connect to oracle ASM as sysdba

I am novice to perl. Can someone guide me on the below query. We have an existing perl script which connects to database to check the disk group status which i wanted to retieve directly from ASM rather than database. This is because, a cluster has more than 4 databases running and a check on... (0 Replies)
Discussion started by: sai_rsk
0 Replies

5. Shell Programming and Scripting

Use perl to connect to Oracle ASM as sysdba

I am novice to perl. Can someone guide me on the below query. We have an existing perl script which connects to database to check the disk group status which i wanted to retieve directly from ASM rather than database. This is because, a cluster has more than 4 databases running and a check on... (1 Reply)
Discussion started by: sai_rsk
1 Replies

6. Solaris

Can we add Oracle ASM in sun cluster3.3 or 4.0 in failover mode

Hi I am new to this forum & oracle DBA also, I would like to know that can we add Oracle ASM in failover mode in sun cluster 3.3 or 4.0 means that if suppose oracle is running along with ASM on node1 & this node went down due to hardware issue then both oracle along with ASM must move to... (1 Reply)
Discussion started by: hb00
1 Replies

7. UNIX for Advanced & Expert Users

Script to automate add/resize datafile in Oracle ASM Storage

Hi all, Could anyone please share ideas or logic on how to automate add/resize datafile in Oracle ASM Storage for Oracle RAC/Single Node databases when any tablespace space alert is trigerred by OEM? Thanks for your help and time on it! Thanks&regards, a1_win Please DON'T use CODE tags... (0 Replies)
Discussion started by: a1_win
0 Replies

8. Solaris

Oracle ASM on Solaris 11.3

Hi Folks, I've just built a Solaris 11.3 server with a number of LDOM's, all good and well and not any serious issues so far. On our older Solaris 10 systems we ran Oracle 11g using ASM disks, these disks were the raw device meta disks and came in very nicely as "/dev/md/rdsk/dnn" all worked... (4 Replies)
Discussion started by: gull04
4 Replies
OCI_FIELD_TYPE_RAW(3)													     OCI_FIELD_TYPE_RAW(3)

oci_field_type_raw - Tell the raw Oracle data type of the field

SYNOPSIS
int oci_field_type_raw (resource $statement, mixed $field) DESCRIPTION
Returns Oracle's raw "SQLT" data type of the $field. If you want a field's type name, then use oci_field_type(3) instead. PARAMETERS
o $statement - A valid OCI statement identifier. o $field - Can be the field's index (1-based) or name. RETURN VALUES
Returns Oracle's raw data type as a number, or FALSE on errors. EXAMPLES
Example #1 oci_field_type_raw(3) Example <?php // Create the table with: // CREATE TABLE mytab (number_col NUMBER, varchar2_col varchar2(1), clob_col CLOB, date_col DATE); $conn = oci_connect("hr", "hrpwd", "localhost/XE"); if (!$conn) { $m = oci_error(); trigger_error(htmlentities($m['message']), E_USER_ERROR); } $stid = oci_parse($conn, 'select * from mytab'); oci_execute($stid, OCI_DESCRIBE_ONLY); // Use OCI_DESCRIBE_ONLY if not fetching rows $n = oci_num_fields($stid); for ($i = 1; $i <= $n; ++$i) { echo oci_field_name($stid, $i) . " is raw type: " . oci_field_type_raw($stid, $i) . "<br> "; } // Output is: // NUMBER_COL is raw type: 2 // VARCHAR2_COL is raw type: 1 // CLOB_COL is raw type: 112 // DATE_COL is raw type: 12 oci_free_statement($stid); oci_close($conn); ?> NOTES
Note In PHP versions before 5.0.0 you must use ocicolumntyperaw(3) instead. This name still can be used, it was left as alias of oci_field_type_raw(3) for downwards compatability. This, however, is deprecated and not recommended. PHP Documentation Group OCI_FIELD_TYPE_RAW(3)
All times are GMT -4. The time now is 06:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy