Wednesday , April 24 2024

ASM: Device is already labeled for ASM disk

Problem:

If a disk previously included in an ASM disk group is attempted to be used for another disk group, it will fail with the error “Device is already labeled for ASM disk”.

Reason:

ASMLib can sometimes leave partitions on the disk used for ASM.

Solution:

It will be enough to crush the partition information with the dd command.

According to the size of the disk, it is enough to crush the chapters at the beginning. /

dev/sda1 is used for partition name. Change it according to the partition name of your disk.

If it is insufficient, you can increase the value of count.

Loading

About dbtut

We are a team with over 10 years of database management and BI experience. Our Expertises: Oracle, SQL Server, PostgreSQL, MySQL, MongoDB, Elasticsearch, Kibana, Grafana.

2 comments

  1. THX It works

Leave a Reply

Your email address will not be published. Required fields are marked *

Categories