Solved

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

Posted on 2011-09-28
4
2,362 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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.

734 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