Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Oct 1997 14:58:41 -0400 (EDT)
From:      "Mark A. Fullmer" <maf@net.ohio-state.edu>
To:        phk@critter.freebsd.dk (Poul-Henning Kamp)
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: libdisk question
Message-ID:  <199710131858.OAA05034@bedbugs.net.ohio-state.edu>
In-Reply-To: <533.876768551@critter.freebsd.dk> from "Poul-Henning Kamp" at Oct 13, 97 08:49:11 pm

next in thread | previous in thread | raw e-mail | index | archive | help
>>I have multiple "MICROP 3391WS x43h" type 0 fixed SCSI 2" disks
>>that all fail to newfs properly with a partition table created with
>
>What does the dmesg say about the size of the disk ?

(ahc0:1:0): "MICROP 3391WS x43h" type 0 fixed SCSI 2
sd1(ahc0:1:0): Direct-Access 8681MB (17780058 512 byte sectors)

>Send me the output of:
>
>	fdisk sd0

archive1# fdisk sd1       
******* Working on device /dev/rsd1 *******
parameters extracted from in-core disklabel are:
cylinders=10183 heads=194 sectors/track=9 (1746 blks/cyl)

 Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=10183 heads=194 sectors/track=9 (1746 blks/cyl)

Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 0, size 17780058 (8681 Meg), flag 80
        beg: cyl 0/ sector 1/ head 0;
        end: cyl 1023/ sector 9/ head 193
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>

>	disklabel sd0

archive1# disklabel sd1
# /dev/rsd1c:
type: SCSI
disk: sd1s1
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1106
sectors/unit: 17780058
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c: 17780058        0    unused        0     0         # (Cyl.    0 - 1106*)
  e: 17780058        0    4.2BSD        0     0     0   # (Cyl.    0 - 1106*)


>	disklabel -r sd0

archive1# disklabel -r sd1
# /dev/rsd1c:
type: SCSI
disk: sd1s1
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1106
sectors/unit: 17780058
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c: 17780058        0    unused        0     0         # (Cyl.    0 - 1106*)
  e: 17780058        0    4.2BSD        0     0     0   # (Cyl.    0 - 1106*)

-- 
mark



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710131858.OAA05034>