Solved

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

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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 …
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now