From owner-freebsd-hackers Sat Nov 2 08:25:49 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA17637 for hackers-outgoing; Sat, 2 Nov 1996 08:25:49 -0800 (PST) Received: from Kitten.mcs.com (Kitten.mcs.com [192.160.127.90]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA17619 for ; Sat, 2 Nov 1996 08:25:42 -0800 (PST) Received: from mailbox.mcs.com (Mailbox.mcs.com [192.160.127.87]) by Kitten.mcs.com (8.8.0/8.8.Beta.3) with SMTP id KAA12505; Sat, 2 Nov 1996 10:25:31 -0600 (CST) Received: by mailbox.mcs.com (/\==/\ Smail3.1.28.1 #28.15) id ; Sat, 2 Nov 96 10:25 CST Received: (from karl@localhost) by Jupiter.Mcs.Net (8.8.2/8.8.Beta.3) id KAA16132; Sat, 2 Nov 1996 10:25:30 -0600 (CST) From: Karl Denninger Message-Id: <199611021625.KAA16132@Jupiter.Mcs.Net> Subject: Re: Blargh - BSDI disk labels To: joerg_wunsch@uriah.heep.sax.de Date: Sat, 2 Nov 1996 10:25:29 -0600 (CST) Cc: freebsd-hackers@freebsd.org, karl@Mcs.Net In-Reply-To: <199611020916.KAA27032@uriah.heep.sax.de> from "J Wunsch" at Nov 2, 96 10:16:10 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > 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