oracleasm deletedisk [FAILED]

Trying to delete a oracleasm disk but failed.

oracleasm deletedisks DISK1 [FAILED]

workaround

oracleasm version 2.1.3
ASM Oracle Database 11g Enterprise Edition Release 11.2.0.2.0

$ fuser /dev/mapper/asm01
$ dd if=/dev/zero of=/dev/mapper/asm01 bs=1024 count=100
100+0 records in
100+0 records out
102400 bytes (102 kB) copied, 0.000324 seconds, 300 MB/s

$ /etc/init.d/oracleasm deletedisk DISK1
Removing ASM disk "DISK1": [ OK ]

And then on all nodes.
$ oracleasm scandisks
DISK1
DISK2

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: