Can't add swap file on solaris
===

I try to add swap file on solaris 10.
I have already create file size 2G then 
I add swap file by command "swap -a /swap.file" 
that have error show "/swap.file: size is invalid"

Thanks,

