Solaris Common Messages and Troubleshooting Guide

Cause

A swapfile was created with the command:


# mkfile -nv 50m /ab/swap_50mb
When the user tried to add the file:

# swap -a /ab/swap_50mb
It failed with the message:

/ab/swap_50mb may contain holes - can't swap on it.
/ab/swap_50mb: Error 0