[SunHELP] swap not seen...

Dale Ghent daleg at elemental.org
Mon Feb 4 09:50:19 CST 2002


On Mon, 4 Feb 2002, TAG DBA wrote:

| I dont know whats wrong - maybe the swap space (on disk ) has not been configured
| correctly. Could someone help me out ?

The answer is obvious... your swap partition is being used as a UFS
filesystem!

This is the wrong way to configure swap. The swap parition should look
like this in your /etc/vfstab:

/dev/dsk/c0t0d0s1 -       -       swap    -       no      -

and not the way you have it in there.

To fix this without rebooting your server, first change your swap line in
/etc/vfstab to the example I gave above, then run the following commands:

umount /swap

/sbin/swapadd

If the above commands run without any error, you should then be able to
run 'swap -l' and see your swap device configured.

/dale



More information about the SunHELP mailing list