On occassion an oracle grid/ASM installation may fail. This may require wiping the PVs and starting again. However, Oracle is not always known for how good it performs a cleanup. Often, it will leave data behind in the header of the PV. In the example below, we’ll look at the commands to run to view the header and then a command to write out zeros to the header.
To check a disk’s header run:
lquerypv -h pvname 80 200
Replacing the word pvname with the exact device you are interested in.
If it isn’t full of zero’s, and you are unable to use it.. then this step will wipe out the VGDA on the PV (where oracle has stored its information).
dd if=/dev/zero of=/dev/pvname bs=512 count=1000
Category: AIX