Solved

Disk Error "primary label corrupt; using backup" on SOLARIS

Posted on 2011-09-28
4
2,275 Views
Last Modified: 2012-05-12
Hello , I just saw this error on my logfile. How can I correct it?

scsi: [ID 107833 kern.warning] WARNING: /pci@7,700000/SUNW,emlxs@0/fp@0,0/ssd@w201600a0b8479630,5 (ssd175):
Sep 28 09:29:56 svr-04      primary label corrupt; using backup
0
Comment
Question by:cismoney
  • 3
4 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 36715864
Here is a short and precise instruction how to resolve such an issue:

http://unixwear.blogspot.com/2008/09/primary-label-corrupt.html

Basically you'll have to use the "format" command and subsequently its "backup" and "label" subcommands.

Good luck!

wmp
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 500 total points
ID: 36715873
This is a bit more exhaustive, just in case ...

http://dlc.sun.com/osol/docs/content/SAGDFS/disksprep-52.html

0
 

Author Comment

by:cismoney
ID: 36715879
the server is a production server with lots of data on it. do you think i can use format???
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 36715916
If "format" replies with "disk formatted" after you entered its number you should be able to proceed.

Don't use the "label" subcommand (contrary to the suggestion in the first article I posted, rather follow the second one in your case).

If the "backup" subcommand returns "Restoring primary label." without any error your disk should be fine again.
Quit "format" then, don't perform any further subcommand except for maybe "verify").

wmp
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 157
ovirt 3.6 guest VM support oracle solaris 4 75
Where to get php 5.6 for AIX 7.1? 5 101
unix solaris snoop command 6 99
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question