Subject: Re: New disk.
To: Matthew N. Dodd <winter@jurai.net>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: port-sparc
Date: 12/28/1995 18:27:19
> [washu]:/etc> disklabel -w /dev/sd0c Quantum\ FB\ 540S
> disklabel: ioctl DIOCWDINFO: Label magic number or checksum is wrong!
> (disklabel or kernel is out of date?)
>
> *sigh* Ok, it seems there is a disklabel checksum problem :)
> Heres the disktab I'm using now...
> Quantum FB 540S:\
> :ty=winchester:ns#138:nt#2:nc#3835:rm#5400:\
> :pa#131072:oa#0:ta=4.2BSD:fa#1024:ba#8192:\
> :pb#131072:ob#131072:tb=swap:\
For a disklabel to be compatible with SunOS, you must align your partition
offsets and sizes on cylinder boundaries. With the parameters above
(276 sectors per cylinder) you could have an `a' partition size of e.g.
`pa#130824'.
-pk