Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 1996 10:25:29 -0600 (CST)
From:      Karl Denninger  <karl@Mcs.Net>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        freebsd-hackers@freebsd.org, karl@Mcs.Net
Subject:   Re: Blargh - BSDI disk labels
Message-ID:  <199611021625.KAA16132@Jupiter.Mcs.Net>
In-Reply-To: <199611020916.KAA27032@uriah.heep.sax.de> from "J Wunsch" at Nov 2, 96 10:16:10 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> As Karl Denninger wrote:
> 
> > FreeBSD doesn't understand BSDI disk labels.  Like at all.
> 
> What does it say?
> 
> Do they perchance already use 16 partitions instead of 8?

No.  8 is their limit.

It appears to see the label (ie: slice "e" shows up as type "BSD", which 
is where I'd expect the slice to map) but an attempt to fsck it blows 
sky-high, and an attempt to mount -ro panics instantly.

A "disksetup" (their equivalent to disklabel) gives this:

type: SCSI
disk: SEAGATE ST31200N
label:
flags:
bytes/sector: 512
sectors/track: 64
tracks/cylinder: 8
sectors/cylinder: 512
cylinders: 4026
sectors/unit: 2061108
replacement sectors/track: 0
replacement sectors/cylinder: 0
alternate cylinders: 0
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   cpg]
  a:    65536        0    4.2BSD     1024  8192    16   # (Cyl.    0 - 127)
  b:   256000    65536      swap                        # (Cyl.  128 - 627)
  c:  2061108        0    unused        0     0         # (Cyl.    0 - 4025*)
  h:  1739572   321536    4.2BSD     1024  8192    16   # (Cyl.  628 - 4025*)

Which looks pretty normal.  FreeBSD returns..

bash# disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: sd0s1
label:
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 1000
sectors/unit: 2050016
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]
  a:   262144        0    4.2BSD        0     0     0   # (Cyl.    0 - 127)
  b:  1048576   262144      swap                        # (Cyl.  128 - 639)
  c:  2050016        0    unused        0     0         # (Cyl.    0 - 1000*)
  e:   739296  1310720    4.2BSD        0     0     0   # (Cyl.  640 - 1000*)


--
--
Karl Denninger (karl@MCS.Net)| MCSNet - The Finest Internet Connectivity
http://www.mcs.net/~karl     | T1's from $600 monthly to FULL DS-3 Service
			     | 23 Analog Prefixes, 13 ISDN, Web servers $75/mo
Voice: [+1 312 803-MCS1 x219]| Email to "info@mcs.net" WWW: http://www.mcs.net/
Fax:   [+1 312 248-9865]     | 2 FULL DS-3 Internet links; 400Mbps B/W Internal



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