Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sort command HPUX 11 65
what is a good general partitioning scheme for RHEL? 23 120
Virtualizing TAPE on dual VIOS 3 78
Best way to split and output to csv in bash 2 61
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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…

920 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

14 Experts available now in Live!

Get 1:1 Help Now