From owner-freebsd-questions Fri Jun 19 23:16:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA16970 for freebsd-questions-outgoing; Fri, 19 Jun 1998 23:16:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from nanguo.chalmers.com.au (gateway.chalmers.com.au [203.1.96.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA16965 for ; Fri, 19 Jun 1998 23:16:12 -0700 (PDT) (envelope-from robert@chalmers.com.au) Received: from chalmers.com.au (carbon.chalmers.com.au [203.1.96.26]) by nanguo.chalmers.com.au (8.8.8/8.8.8) with ESMTP id QAA11752; Sat, 20 Jun 1998 16:15:28 +1000 (EST) Message-ID: <358B5614.135ACFA4@chalmers.com.au> Date: Sat, 20 Jun 1998 16:26:28 +1000 From: Robert Chalmers Reply-To: robert@chalmers.com.au Organization: chalmers.com.au X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: djv@bedford.net, freebsd-questions Subject: Re: FINNALY - Re: Continuing the sd1 disklabel/disktab do-it-by-hand saga References: <199806200051.UAA16384@lucy.bedford.net> <358B4FEC.ACF56300@chalmers.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry, Not quite finished... It lies. The 4158234 that disklabel returns, does not work with the disklabel last entry, e. You have to make the last partition fit inside the boundary of the original 4110000 that scsiformat returned. I believe that this may be because of the spare cylinders that the system keeps for bad tracks etc, in reserve. VERY tricky. only the LAST partition size need be changed. Indeed, ifyou make partition c the smaller size, 4110000 then you run out on the partition e. You have to make c the bigger, and e the smaller. It ends at 4110000, not 4158234. I'm going for a drink!!! bob New disklable returned; # /dev/rsd1c: type: SCSI disk: c2490a label: sd1s1 flags: bytes/sector: 512 sectors/track: 107 tracks/cylinder: 18 sectors/cylinder: 1926 cylinders: 2159 sectors/unit: 4158234 rpm: 6400 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 5 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2055000 0 4.2BSD 1024 8192 0 # (Cyl. 0 - 1066*) b: 336640 2055000 swap # (Cyl. 1066*- 1241*) c: 4158234 0 unused 1024 8192 # (Cyl. 0 - 2158) d: 894873 2391640 4.2BSD 1024 8192 0 # (Cyl. 1241*- 1706*) e: 823487 3286513 4.2BSD 1024 8192 0 # (Cyl. 1706*- 2133*) new disktab; # c2490a|Compaq C2490A SCSI:\ :ty=winchester:rm#6400:dt=SCSI:ns#107:nt#18:nc#2159:\ :se#512:\ :oa#0:pa#2055000:ba#8192:fa#1024:ta=4.2BSD:\ :ob#2055000:pb#336640:bb#8192:fb#1024:tb=swap:\ :oc#0:pc#4158234:bc#8192:fc#1024:\ :od#2391640:pd#894873:bd#8192:fd#1024:td=4.2BSD:\ :oe#3286513:pe#823487:be#8192:fe#1024:te=4.2BSD: --- Support Whirled Peas. Business in China? China House robert@chalmers.com.au ph:61 7 49440357 fx:61 7 49578425 China House Uses Webposition to ensure Top Spot in Searches http://www.chalmers.com.au/ChinaHouse/Business/webposition To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message