[comp.sys.sun] Swapping on two disks

bs30@sirius.gte.com.csnet (Bernard Silver) (12/12/88)

I have a Sun 3/160 with two Xylogics disks and I swap on both.

Under OS 3.5 I did this by:

a) Suitably partioning/labelling the disks
b) including the line "swap on xy0b and xy1b" in my /usr/sys/conf/HOSTNAME
c) defining xy1b to be of type swap in /etc/fstab, and
d) making sure that /etc/swapon -a was called at boot time.

Under 4.0, I get syntax errors if I put "swap on X and Y" in the file
(now /usr/sys/sun3/conf/HOSTNAME).
When swapon -a is executed, it does say the right thing 
("adding /dev/xy1b as swap device" or something similar) but I'm not sure
that I really am getting the desired behaviour.

So, could someone tell me how to find out how much swap space I have, and,
if the above is not correct, how to do it right!

	Thanks,
	Bernard	 Silver
	silver%gte.com@relay.cs.net
	silver@ai.ai.mit.edu

bs30@sirius.gte.com.csnet (Bernard Silver) (12/23/88)

Thanks for all the responses to my question.  pstat -s gives the necessary
information, and the method I had used does work.

	Bernard Silver
	silver@ai.ai.mit.edu
	bs30%gte.com@relay.cs.net

zjat02@uunet.uu.net (Jon A. Tankersley) (01/12/89)

The swap on xy0b and xy1b is no longer part of config.  It uses NFS now so
the entry in fstab and the swapon should be all you need.  THis is
'according' to my memory and Sun a while back.

pstat -s should show the swap.

-tank-