Sponsored Content
Operating Systems AIX Oracle ASM accidentally messed with my hdisk Post 302524951 by George_Samaan on Wednesday 25th of May 2011 07:24:18 AM
Old 05-25-2011
Oracle ASM accidentally messed with my hdisk

I have AIX 5.3 with oracle 10g ( test server). While trying to create RAW disk for Oracle ASM I have accidentally messed with rootvg (hdisk0 & hdisk1)

When I do
Code:
# lspv hdisk0 
0516-066 : Physical volume is not a volume group member. 
        Check the physical volume name specified. 
PHYSICAL VOLUME:    hdisk0                   VOLUME GROUP:     rootvg 
PV IDENTIFIER:      0005681601fcded1 VG IDENTIFIER     000568160000d7000000013001fcfe28 
PV STATE:           ??????? 
STALE PARTITIONS:   ???????                  ALLOCATABLE:      ??????? 
PP SIZE:            ???????                  LOGICAL VOLUMES:  ??????? 
TOTAL PPs:          ???????                  VG DESCRIPTORS:   ??????? 
FREE PPs:           ???????                  HOT SPARE:        ??????? 
USED PPs:           ???????                  MAX REQUEST:      256 kilobytes 
FREE DISTRIBUTION:  ??????? 
USED DISTRIBUTION:  ??????? 
 
# lquerypv -h /dev/hdisk0 
00000000   00820101 00000000 80000000 25D3BE94  |............%...| 
00000010   00000000 00000000 00000000 00000000  |................| 
00000020   4F52434C 4449534B 00000000 00000000  |ORCLDISK........| 
00000030   00000000 00000000 00000000 00000000  |................| 
00000040   0A100000 00000203 4449534B 4752505F  |........DISKGRP_| 
00000050   30303030 00000000 00000000 00000000  |0000............| 
00000060   00000000 00000000 4449534B 47525000  |........DISKGRP.| 
00000070   00000000 00000000 00000000 00000000  |................| 
00000080   00000000 00000000 434F4E54 524F4C4C  |........CONTROLL| 
00000090   45523100 00000000 00000000 00000000  |ER1.............| 
000000A0   00000000 00000000 00000000 00000000  |................| 
000000B0   00000000 00000000 00000000 00000000  |................| 
000000C0   00000000 00000000 01F6D713 C9D19400  |................| 
000000D0   01F6D713 C9D19400 02001000 00100000  |................| 
000000E0   0001BC80 00011176 00000002 00000001  |.......v........| 
000000F0   00000002 00000002 00000000 00000000  |................|

This case happened to me before but I want able to resolve it, cause I thought a restart would solve but I ended up reinstalling AIX again

Moderator's Comments:
Mod Comment Please use [code] and [/code] tags when posting code, data or logs etc. to preserve formatting and enhance readability, thanks.

Last edited by zaxxon; 05-25-2011 at 08:41 AM.. Reason: code tags
 

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
All times are GMT -4. The time now is 02:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy