> > > 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
> Hi,
> Also, here's a format -> verify:
> format> verify
> Primary label contents:
> Volume name = < >
> ascii name = <ST3120814A cyl 57459 alt 2 hd 16 sec 255>
> pcyl = 57461
> ncyl = 57459
> acyl = 2
> nhead = 16
> nsect = 255
> Part Tag Flag Cylinders Size Blocks
> 0 root wm 2008 - 52437 98.11GB (50430/0/0)
> 205754400
> 1 swap wu 0 - 2007 3.91GB (2008/0/0)
> 8192640
> 2 backup wm 0 - 57458 111.79GB (57459/0/0)
> 234432720
> 3 unassigned wm 0 0
> (0/0/0) 0
> 4 unassigned wm 0 0
> (0/0/0) 0
> 5 unassigned wm 0 0
> (0/0/0) 0
> 6 unassigned wm 0 0
> (0/0/0) 0
> 7 home wm 52438 - 57457 9.77GB (5020/0/0)
> 20481600
> format>
> It looks like swap is occupying cylinder 0?
> If I have to do a re-install to fix this, what additional steps do I
> need to do on the next install to avoid this problem? I don't recall
> anywhere where I set the starting cylinders?
> Jim
Hi,
I forgot to mention, this is a non-Sun Seagate drive. I guess that the
drives that are purchased from Sun are already formatted to avoid this
problem?
In any event, I still would like to know how to do this correctly, with
this drive.
Thanks,
Jim