Error:
oracle@localhost$ /etc/init.d/oracleasm createdisk DISCO1 /dev/sdb1
Marking disk "/dev/sdb1" as an ASM disk: asmtool:
Device "/dev/sdb1" is already labeled for ASM disk "" [FAILED]
oracle@localhost$ /etc/init.d/oracleasm deletedisk DISCO1
Removing ASM disk "DISCO1" [FAILED]
Solution:
oracle@localhost$ dd if=/dev/zero of=/dev/sdb1 bs=1024 count=100
100+0 records in
100+0 records out
oracle@localhost$ /etc/init.d/oracleasm createdisk DISCO1 /dev/sdb1
Marking disk "/dev/sdb1" as an ASM disk: [ OK ]
oracle@localhost$ /etc/init.d/oracleasm createdisk DISCO1 /dev/sdb1
Marking disk "/dev/sdb1" as an ASM disk: asmtool:
Device "/dev/sdb1" is already labeled for ASM disk "" [FAILED]
oracle@localhost$ /etc/init.d/oracleasm deletedisk DISCO1
Removing ASM disk "DISCO1" [FAILED]
Solution:
oracle@localhost$ dd if=/dev/zero of=/dev/sdb1 bs=1024 count=100
100+0 records in
100+0 records out
oracle@localhost$ /etc/init.d/oracleasm createdisk DISCO1 /dev/sdb1
Marking disk "/dev/sdb1" as an ASM disk: [ OK ]
Comentários
Postar um comentário