My Oracle Support Banner

"Corrupt label; wrong magic number": How To Label Multiple LUNs (Doc ID 2214857.1)

Last updated on MAY 21, 2018

Applies to:

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

Goal

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:

Nov 25 03:10:06 Solaris-host scsi: [ID 107833 kern.warning] WARNING: /pci@1,700000/lpfc@0/fp@0,0/ssd@w50000974082e8950,a7 (ssd83):
Nov 25 03:10:06 Solaris-host Corrupt label; wrong magic number

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.

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.