SQL> shutdown abort .com

About DBA Queries DBA Scripts Quick Guides Other Stuff Contact
Andy only 
 
Cluster is not in a ready state for online disk...

Use the -force option to get arround this error - see the examples below.


root@bloo$ crsctl add css votedisk /dev/asmdisk/css2
Cluster is not in a ready state for online disk addition

root@bloo$ crsctl add css votedisk /dev/asmdisk/css2 -force
Now formatting voting disk:
/dev/asmdisk/css2
successful addition of votedisk
/dev/asmdisk/css2

root@bloo$ crsctl delete css votedisk /dev/asmdisk/css2
Cluster is not in a ready state for online disk removal

root@bloo$ crsctl delete css votedisk /dev/asmdisk/css2 -force
successful deletion of votedisk 
/dev/asmdisk/css2

I've always felt happier doing this sort of thing with the database down, but it does seem to work alright with it up.

For more useful DBA queries click here.
Copyright© 2007-2012 Andrew Barry