Solaris Common Messages and Troubleshooting Guide

overlapping swap volume


After creating volumes in rootdg to be used as additional swap and adding these to the /etc/vfstab file, an error message is displayed at boot time that indicates overlapping swap volumes.


Change the names of these volumes to read swap1, swap2, and so forth.

If you still get this message after making the previous change, edit the /sbin/swapadd script. Find the line:

c=`$SWAP -l | grep -c '\\<'${special}'\>'`
and change it to:

c=`$SWAP -l | grep -c ''${special}''`