Solved

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

Posted on 2011-09-28
4
2,393 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

636 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