Cause: Re-installing the operating system, ASM disk retains disk information
Process steps:
[Email protected] ~]# oracleasm listdisks
VOL1
VOL2
VOL3
[Email protected] ~]# oracleasm deletedisk VOL1
Clearing Disk Header:done
Dropping Disk:done
[Email protected] ~]# oracleasm deletedisk VOL2
Clearing Disk Header:done
Dropping Disk:done
[Email protected] ~]# oracleasm deletedisk VOL3
Clearing Disk Header:done
Dropping Disk:done
[[email protected] ~]# dd If=/dev/zero of=/dev/sdb1 bs=1024k count=200
200+0 Records in
200+0 Records out
209715200 bytes (+ MB) copied, 7.53294 s, 27.8 MB/s
[[email protected] ~]# dd If=/dev/zero OF=/DEV/SDC1 bs=1024k count=200
200+0 Records in
200+0 Records out
209715200 bytes (+ MB) copied, 6.09232 s, 34.4 MB/s
[[email protected] ~]# dd If=/dev/zero of=/dev/sdd1 bs=1024k count=200
200+0 Records in
200+0 Records out
209715200 bytes (+ MB) copied, 12.4123 s, 16.9 mb/s
[Email protected] ~]# oracleasm createdisk vol01/dev/sdb1
Writing Disk Header:done
Instantiating Disk:done
[Email protected] ~]# oracleasm createdisk VOL02/DEV/SDC1
Writing Disk Header:done
Instantiating Disk:done
[Email protected] ~]# oracleasm createdisk vol03/dev/sdd1
Writing Disk Header:done
Instantiating Disk:done
Installing ORACLE GRID does not show ASM disk List