Home » RDBMS Server » Server Administration » ASM Diskgroup dismounted - how to drop disk from?
ASM Diskgroup dismounted - how to drop disk from? [message #235480] Sun, 06 May 2007 14:31 Go to next message
markog
Messages: 5
Registered: May 2007
Location: Poland
Junior Member
first - it's not a real trouble - it's my exercise Smile


I've lost one of my disk (e.g /dev/raw/raw1

How to drop this disk from diskgroup when group state is dismounted

SQL> select name, state from v$asm_diskgrou
2 ;

NAME STATE
------------------------------ -----------
DATA DISMOUNTED
FRA MOUNTED


When I'm trying command

alter diskgroup DATA drop disk 0; (of course 0 is /dev/raw/raw1)
i see ORA-15001 error (probably group is not mounted) wow!

I wouldn't like to bind other disk to /dev/raw/raw1.
I'd like to drop /dev/raw/raw1 from diskgroup next add other (e.g. /dev/raw/raw8) and mount diskgroup and restore oracle files. How can I do this?

Thanks for advice
Marek Gregor
Re: ASM Diskgroup dismounted - how to drop disk from? [message #236024 is a reply to message #235480] Tue, 08 May 2007 13:25 Go to previous messageGo to next message
markog
Messages: 5
Registered: May 2007
Location: Poland
Junior Member
ok i ask the question from other site:

What should I do if I lost two of ASMGroup disks permanently? (granted that there was 3 disks in ASMgroup).

in consequence of diskgroup doesn't mount and database can't open.

I would like to recreate group next restore files and recover database but how?

[Updated on: Tue, 08 May 2007 14:44]

Report message to a moderator

Re: ASM Diskgroup dismounted - how to drop disk from? [message #279233 is a reply to message #236024] Wed, 07 November 2007 07:44 Go to previous message
Frank Naude
Messages: 4581
Registered: April 1998
Senior Member
I had the same problem: couldn't drop a diskgroup. The trick was to re-initialize the disks (clear ASM metadata) before re-creating it.

Example:

dd if=/dev/zero of=/dev/rdsk/c5t0d148s6 bs=8192 count=12800
Previous Topic: I think this is a magic . am i right ?
Next Topic: Table Size having BLOB data type
Goto Forum:
  


Current Time: Sat Nov 30 04:45:19 CST 2024