NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-alpha/48697: Sysinst compute illegal disk geometry and newfs is bound to fail.



The following reply was made to PR port-alpha/48697; it has been noted by GNATS.

From: "Michael L. Hitch" <mhitch%montana.edu@localhost>
To: "Naruaki.Etomi" <nullnilaki%gmail.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: port-alpha/48697: Sysinst compute illegal disk geometry and
 newfs is bound to fail.
Date: Wed, 2 Apr 2014 14:23:35 -0600 (MDT)

 On Thu, 3 Apr 2014, Naruaki.Etomi wrote:
 
 > sd0 at scsibus0 target 1 lun 0: <FUJITSU, MAU3073NC, 2904> disk fixed
 > sd0: 69809 MB, 49158 cyl, 4 head, 727 sec, 512 bytes/sect x 142969680 sectors
 > sd0: sync (12.50ns offset 127), 16-bit (160.000MB/s) transfers, tagged 
 > queueing
 ...
 > # disklabel sd0
 > # /dev/rsd0c:
 > type: SCSI
 > disk: MAU3073NC
 > label:
 > flags:
 > bytes/sector: 512
 > sectors/track: 863
 > tracks/cylinder: 4
 > sectors/cylinder: 3452
 > cylinders: 49158
 > total sectors: 142969680
 > rpm: 15000
 > interleave: 1
 > trackskew: 216
 > cylinderskew: 111
 > headswitch: 0 # microseconds
 > track-to-track seek: 0 # microseconds
 > drivedata: 0
 
    Ah, it looks like maybe sysinst is computing the size of the disk by 
 multiplying the sectors/cylinder times cylinders - but the sectors/track 
 in the disk label is not correct.  The drive reports 727 sectors/track. 
 If sysinst had used the total sectors from the disklabel, it would have 
 been ok.  I would presume that Tru64 had set the sectors/track and 
 sectors/cylinder to those values.
 
 Mike
 
 ---
 Michael L. Hitch                        mhitch%montana.edu@localhost
 Operations Consulting,  Information Technology Center
 Montana State University, Bozeman, MT     USA
 


Home | Main Index | Thread Index | Old Index