Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2000 15:00:53 -0700
From:      "Brian Budnick" <dreamboy@aros.net>
To:        <freebsd-questions@freebsd.org>
Subject:   Swap Space!
Message-ID:  <FCEJKOGNFDIDDJEMEMMOEENECLAA.dreamboy@aros.net>

next in thread | raw e-mail | index | archive | help

Dear FreeBSD,

I have a 13gig IDE hard drive that my partition looks as follows:

******* Working on device /dev/rad0 *******
parameters extracted from in-core disklabel are:
cylinders=1653 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=1653 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 20563137 (10040 Meg), flag 80 (active)
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 1023/ sector 63/ head 254
The data for partition 2 is:
sysid 130,(Linux swap or Solaris x86)
    start 20563200, size 5992245 (2925 Meg), flag 0
        beg: cyl 1023/ sector 63/ head 255;
        end: cyl 1023/ sector 63/ head 254
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

==

The thing is when I do top or swapinfo it only shows 133MB of Swap Space but
when
I created the 2nd partition of 2925 Megs it doesn't seem to be seeing that
as swap
space. I would like to know how to get it so that the system uses this 2nd
partition
as swap space...

When i do : df (i get)
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s1a     49583    26838    18779    59%    /
/dev/ad0s1f   9763091   862089  8119955    10%    /usr
/dev/ad0s1e     19815      796    17434     4%    /var
procfs              4        4        0   100%    /proc

Question #1: how do i find out what the device name is for the swap
partition?
/dev/ad0s1x???

Question #2: how do i get it so that the system uses this partition each
time
it reboots as swap space?

Any help would greatly be appreciated!
Please respond directly back to me!

Brian

/////
C-@,@   Brian Budnick    (dreamboy@aros.net)
"\ -/       ArosNet Systems Administration



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?FCEJKOGNFDIDDJEMEMMOEENECLAA.dreamboy>