"Corrupt label; wrong magic number": How To Label Multiple LUNs

(Doc ID 2214857.1)

Last updated on JANUARY 09, 2017

Applies to:

Solaris Operating System - Version 8.0 and later
Information in this document applies to any platform.


Sometimes storage providers like EMC, do not automatically write labels on newly provisioned LUNs.
This causes a lot of  these annoying "Corrupt label; wrong magic number" warnings constantly flooding the messages file:

Refer to:
Understanding the Disk Label (VTOC)(1017927.1)

These LUNs need to be labeled. But the problem is, if there are a lot if them,  manually labeling them can be tedious and will take a long time.
The procedure below will automate this process.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms