Re: Replaced drive in Sun Blade 100 - getting "corrupt label"



ohaya schrieb:

Wolfgang wrote:

ohaya schrieb:

Hi,

I replaced the 15GB drive in my Sun Blade 100 with a 120GB drive, and
did a clean installation of Solaris 9 9/05. The installation seemed to
have gone ok, and I can boot from the newly-installed Solaris system,
but whenever I reboot the system, I get a msg:

WARNING: ....... (dad0)
Corrupt label - Wrong magic number

I've been researching this, and I'm wondering, was I suppose to do a
format -> label during the installation?

If so, when/how was I suppose to have done that.

Also, the system seems to be running ok, now, other than that msg at
boot. Can I label the drive now without destroying the Solaris
installation?

Thanks!

Jim

what is your prtvtoc output?
I see this message on raw disks when they begin the partition with the
first cylinder, and running devfsadm or similar.



Wolfgang,

For which device did you want the prtvtoc?

Here's "prtvtoc /dev/rdsk/c0t0d0s0":

bash-2.05# prtvtoc /dev/rdsk/c0t0d0s0
* /dev/rdsk/c0t0d0s0 partition map
*
* Dimensions:
* 512 bytes/sector
* 255 sectors/track
* 16 tracks/cylinder
* 4080 sectors/cylinder
* 57461 cylinders
* 57459 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 234428640 4080 234432719
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 8192640 205754400 213947039 /
1 3 01 0 8192640 8192639
2 5 00 0 234432720 234432719
7 8 00 213947040 20481600 234428639 /export/home
bash-2.05#


If the problem is as you mentioned, how do I fix it?

Thanks,
Jim

it dont seems to be my problem, since it is not cylinder 0 nor it is a raw artition. Most Disks from Sun are prelabeld, maybe the installation dont care for that. I think you can label the disk without destroying your installation.
.



Relevant Pages