Date: Thu, 28 Oct 1999 10:17:58 +0300 From: Ruslan Ermilov <ru@ucb.crimea.ua> To: Forrest Aldrich <forrie@forrie.com> Cc: FreeBSD Questions <questions@freebsd.org> Subject: Re: Disklabel, etc. Message-ID: <19991028101758.A46147@relay.ucb.crimea.ua> 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 References: <4.2.1.19991027121047.00a8e4a0@216.67.12.69>
next in thread | previous in thread | raw e-mail | index | archive | help
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: > <UNUSED> > The data for partition 3 is: > <UNUSED> > The data for partition 4 is: > <UNUSED> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991028101758.A46147>