From owner-freebsd-questions Thu Oct 28 0:57: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ucb.crimea.ua (UCB-Async4-CRISCO.CRIS.NET [212.110.129.130]) by hub.freebsd.org (Postfix) with ESMTP id 877F214CFD for ; Thu, 28 Oct 1999 00:55:09 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id KAA57638; Thu, 28 Oct 1999 10:17:58 +0300 (EEST) (envelope-from ru) Date: Thu, 28 Oct 1999 10:17:58 +0300 From: Ruslan Ermilov To: Forrest Aldrich Cc: FreeBSD Questions Subject: Re: Disklabel, etc. Message-ID: <19991028101758.A46147@relay.ucb.crimea.ua> Mail-Followup-To: Forrest Aldrich , FreeBSD Questions References: <4.2.1.19991027121047.00a8e4a0@216.67.12.69> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <4.2.1.19991027121047.00a8e4a0@216.67.12.69>; from Forrest Aldrich on Wed, Oct 27, 1999 at 12:12:39PM -0400 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Oct 27, 1999 at 12:12:39PM -0400, Forrest Aldrich wrote: > Thank you for responding. > > I've used, through sysinstall, the label and fdisk options to set > the parameters, partitions, and labels. It worked fine for the > internal drives. > > I was able to manully newfs the "e" partitions, and have them > mounted and in use. However the swap still gives me this problem. > > Here is the output of those commands. Any pointers would > be greatly appreciated. > > > Thanks, > > > Forrest > > > > su-2.03# fdisk da3 > ******* Working on device /dev/rda3 ******* > parameters extracted from in-core disklabel are: > cylinders=2213 heads=255 sectors/track=63 (16065 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=2213 heads=255 sectors/track=63 (16065 blks/cyl) > > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 165,(FreeBSD/NetBSD/386BSD) > start 63, size 35551782 (17359 Meg), flag 80 (active) > beg: cyl 0/ sector 1/ head 1; > end: cyl 1023/ sector 63/ head 254 > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > > su-2.03# disklabel da3s1 > # /dev/rda3s1c: > type: SCSI > disk: da3s1 > label: > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 2212 > sectors/unit: 35551782 > 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] > b: 2097152 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 130*) ^^^^^^ this should be `swap' to use it as swap. > c: 35551782 0 unused 0 0 # (Cyl. 0 - 2212*) > e: 33454630 2097152 4.2BSD 1024 8192 16 # (Cyl. 130*- 2212*) > Look how my disklabel looks, note the type `swap' of partition `b': # /dev/rda0s1c: type: SCSI disk: da0s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 530 sectors/unit: 8515173 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: 65536 0 4.2BSD 0 0 0 # (Cyl. 0 - 4*) b: 196608 65536 swap # (Cyl. 4*- 16*) c: 8515173 0 unused 0 0 # (Cyl. 0 - 530*) e: 61440 262144 4.2BSD 0 0 0 # (Cyl. 16*- 20*) f: 6094437 323584 4.2BSD 0 0 0 # (Cyl. 20*- 399*) g: 2097152 6418021 4.2BSD 0 0 0 # (Cyl. 399*- 530*) -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message