"Corrupt label; wrong magic number" message appears in the Solaris syslog (/var/adm/messages)

Article:TECH53080  |  Created: 2007-01-10  |  Updated: 2008-01-02  |  Article URL http://www.symantec.com/docs/TECH53080
Article Type
Technical Solution

Product(s)

Environment

Issue



"Corrupt label; wrong magic number" message appears in the Solaris syslog (/var/adm/messages)

Error



Jul 30 17:14:13 sinatra2 Corrupt label; wrong magic number
Jul 30 17:14:13 sinatra2 scsi: [ID 107833 kern.warning] WARNING: /pci@8,600000/fibre-channel@2/sd@14,1d (sd162):

Solution



This is a message that the operating system displays if a disk has no label on it. Labels are written to the Volume Table of Contents (VTOC) in the first block of the disk.  

Cause:

  • This happens when a new disk is presented to the host and the host has not run the format() command to write this label
  • This is normal to see when a new disk has been freshly created and presented to the operating system
  • This can be reported if a healthy disk is written to in a non standard manner where the VTOC has been destroyed with a command such as dd()

Resolution:

1. Run the format() command and choose the disk from the menu. This will label the disk.
2. Run the fmthard() command in a situation where there are many disks and a script should be employed

Note: This could be detrimental to restoring data. Check with your technical experts if critical data is involved since this action could cause a negative impact on attempts to restore lost data.


Legacy ID



290559


Article URL http://www.symantec.com/docs/TECH53080


Terms of use for this information are found in Legal Notices