Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* HELP: swap space configuration
@ 1993-03-25 19:40 yqdx
  1993-03-26  0:33 ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
  1993-03-28 22:32 ` Terry Kennedy, Operations Mgr.
  0 siblings, 2 replies; 3+ messages in thread
From: yqdx @ 1993-03-25 19:40 UTC (permalink / raw)




Hi-

  I am having trouble configuring the swap space on our DECSTATION 5000/240.
The swap partition on the system disk, /dev/rz1b, seems to be automatically
used OK, for about 65 Mb of swap space.  I want to add additional space from
partition b of our other disk, /dev/rz0b.  (I repartitioned this second disk)
I expect a total of something over 200 Mb of swap space if this would work
correctly, but it appears that I am missing something.  What follows is the
output of a few relevant commands, covering just about everything I know
about the situation.  Please take pity on my amateur status and show me what
I have neglected to do.  Thank you for your help.

# more /etc/fstab
/dev/rz1a:/:rw:1:1:ufs::
/dev/rz1g:/usr:rw:1:2:ufs::
/dev/rz1h:/usr/users:rw:1:3:ufs::
/dev/rz0d:/usr1:rw:1:4:ufs::
/dev/rz0b:/swp:sw:1:4:ufs::
#
# swapon -a
Adding /dev/rz0b as swap device
/dev/rz0b: No such device
#
# pstat -s
65528k swap configured
17808k reserved virtual address space
        44k used (0k text, 0k smem)
        65484k free, 0k wasted, 0k missing
avail: 2046*32k 12*1k
#
# grep swap /sys/conf/mips/MORPHEUS
config          vmunix  root on rz1a  swap on rz1b and rz0b  dumps on rz1b
#
# chpt -q /dev/rrz1a
/dev/rrz1a
Current partition table:
partition     bottom        top       size    overlap
    a              0      32767      32768    c
    b          32768     163839     131072    c
    c              0    2698060    2698061    a,b,d,e,f,g,h
    d         163841    1008640     844800    c,g,h
    e        1008641    1853440     844800    c,h
    f        1853441    2698060     844620    c,h
    g         163841     983040     819200    c,d
    h         983042    2698060    1715019    c,d,e,f
#
# chpt -q /dev/rrz0a
/dev/rrz0a
Current partition table:
partition     bottom        top       size    overlap
    a              0      32767      32768    c
    b          33149     332773     299625    c,g
    c              0    2698060    2698061    a,b,d,e,f,g,h
    d         332774    2698060    2365287    c,e,f,g,h
    e        1008641    1853440     844800    c,d,h
    f        1853441    2698060     844620    c,d,h
    g         163841     983040     819200    b,c,d
    h         983042    2698060    1715019    c,d,e,f
#
# df
Filesystem   Total    kbytes   kbytes   %
node         kbytes   used     free     used  Mounted on
/dev/rz1a      15823   11798    2443    83%   /
/dev/rz1g     398431  212309  146279    59%   /usr
/dev/rz1h     834366  222402  528528    30%   /usr/users
/dev/rz0d    1151070  338952  697011    33%   /usr1
#

-Chris Bruns
yqdx@vax5.cit.cornell.edu
cornell biochem grad student/ system mangler



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: HELP: swap space configuration
  1993-03-25 19:40 HELP: swap space configuration yqdx
@ 1993-03-26  0:33 ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
  1993-03-28 22:32 ` Terry Kennedy, Operations Mgr.
  1 sibling, 0 replies; 3+ messages in thread
From: Alan Rollow - Alan's Home for Wayward Tumbleweeds. @ 1993-03-26  0:33 UTC (permalink / raw)



In article <1993Mar25.144041.17965@vax5.cit.cornell.edu>, yqdx@vax5.cit.cornell.edu writes:
>
>Hi-
>
>  I am having trouble configuring the swap space on our DECSTATION 5000/240.
>
> [ Lots of example stuff deleted.  The interesting part being: ]
>
># swapon -a
>Adding /dev/rz0b as swap device
>/dev/rz0b: No such device

This suggests that you aren't running the kernel that has the configuration
line below.  Did you build a new kernel after making the modification and
then boot it?

On a DEC{system,station} you can look at the swap table using dbx.  Look
to see how many entires you have:

# dbx -k /vmunix /dev/mem
(dbx) print swdevt[0]
struct {
    sw_dev = 5377
    sw_freed = 1
    sw_nblks = 184320
    sw_type = 0
    sw_gnodeptr = (nil)
    sw_strat = (nil)
    sw_priority = 0
    sw_nio = 58872
}

The last entry in the table will be all zeros.  If swdevt[1] is the last
entry, then you clearly aren't running the kernel you think you are.

>-Chris Bruns
>yqdx@vax5.cit.cornell.edu
>cornell biochem grad student/ system mangler
>
--
Alan Rollow				alan@nabeth.cxo.dec.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: HELP: swap space configuration
  1993-03-25 19:40 HELP: swap space configuration yqdx
  1993-03-26  0:33 ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
@ 1993-03-28 22:32 ` Terry Kennedy, Operations Mgr.
  1 sibling, 0 replies; 3+ messages in thread
From: Terry Kennedy, Operations Mgr. @ 1993-03-28 22:32 UTC (permalink / raw)


In article <1993Mar25.144041.17965@vax5.cit.cornell.edu>, yqdx@vax5.cit.cornell.edu writes:
> /dev/rz0b:/swp:sw:1:4:ufs::

  I've never seen swap configured this way. Unless this is something *very*
odd in Ultrix, you'd want:

/dev/rz0b::sw::

  (assuming a 4.3BSD-ish system)

  For completeness, you might also want to list your primary swap space in
/etc/fstab as well. For Ultrix-specific issues, consult the fstab man page.

	Terry Kennedy		Operations Manager, Academic Computing
	terry@spcvxa.bitnet	St. Peter's College, Jersey City, NJ USA
	terry@spcvxa.spc.edu	+1 201 915 9381


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1993-03-28 22:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-03-25 19:40 HELP: swap space configuration yqdx
1993-03-26  0:33 ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
1993-03-28 22:32 ` Terry Kennedy, Operations Mgr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox