Subject: Re: how to disklabel a RZ58 ???
To: Port Pmax <port-pmax@NetBSD.ORG>
From: pmax Port <netbsd@ascom.de>
List: port-pmax
Date: 11/25/1996 16:57:40
On Mon, 25 Nov 1996, Luc Beurton wrote:

> #Hi,
> #I have a running netbsd 1.2 on a 5000/133. I moved the disk to 5000/240 
> #and booted from it. So far, so good ...
> #
> #I then tried to disklabel a RZ58 disk with the command
> #
> #disklabel -w -B -b /usr/mdec/rzboot -s /usr/mdec/bootrz rz0c rz58
> #
> #I got the message 
> #
> #disklabel: partition c: partition extends past end of unit
> #disklabel: partition f: partition extends past end of unit
> #disklabel: partition h: partition extends past end of unit
> #
> #I used the following layout that came with the netbsd disktab.
> #
> #rz58|RZ58|DEC RZ58 Winchester:\
> #        :ty=winchester:ns#85:nt#15:nc#2112:\
> #        :pa#32768:oa#0:ba#8192:fa#1024:\
> #        :pb#131072:ob#32768:bb#4096:fb#1024:tb=swap:\
> #        :pc#2698061:oc#0:bc#8192:fc#1024:\
> #        :pd#844800:od#163840:bd#8192:fd#1024:\
> #        :pe#844800:oe#1008640:be#8192:fe#1024:\
> #        :pf#844620:of#1853440:bf#8192:ff#1024:\
> #        :pg#819200:og#163840:bg#8192:fg#1024:\
> #        :ph#1715019:oh#983040:bh#8192:fh#1024:
> #
> # 
> #Can anyone help ?
> 
> 85*15*2112=2692800
> 
> size of patition c,f,h are too big.
> 
> Luc.
> 
Before I used the original layout I tried an own one, causing 
another error message, therefore I switched back to the original layout.
Please notice the remarks regarding the RZ58 ....

# NOTE: The RZ58 uses a recording technique called zoned recording.
#   Using this technique, the number of sectors per track will vary
#   depending on what zone of the disk is in use (simply multiplying
#   ns*nt*nc does not give true capacity of the drive).  The ns (number
#   of sectors per track) is calculated by "ns = total sectors/(nt*nc)"
#   and is a rounded value.  Therefore, the value "ns" is an approximation,
#   not a true representation, of what is stored on disk.
#   
#   The 'c' partition listed below gives the true size of the RZ58
#   (this information can be obtained by use of the DEVGETGEOM ioctl).
#       
rz58|RZ58|DEC RZ58 Winchester:\
        :ty=winchester:ns#85:nt#15:nc#2112:\
        :pa#65536:oa#0:ba#8192:fa#1024:\    
        :pb#375000:ob#65536:bb#4096:fb#1024:tb=swap:\
        :pc#2692800:oc#0:bc#8192:fc#1024:\
        :pd#131072:od#440536:bd#8192:fd#1024:\ 
        :pe#131072:oe#571608:be#8192:fe#1024:\ 
        :pf#1990120:of#702680:bf#8192:ff#1024:\
        :pg#781250:og#702680:bg#8192:fg#1024:\
        :ph#1208870:oh#1483930:bh#8192:fh#1024:
 
error message:

disklabel: ioctl DIOCSDINFO: Open partition would move or shrink



Guenter Bernicken
Ascom Infrasys GmbH      Charlottenburger Allee 61      D-52068 Aachen
Bernicken@ascom.de   Phone: +49 241 96806 252   Fax: +49 241 96806 225