Swap sapce Adding ..??

How to add the Swap space... i know this procedure but it doesn/t work.

swap -l to see the swap space (swap -s)

Creak swap file
mkdir 100m swap.file

add the swap file
swap -a swap.file...

but it not work ..!!

Any one know how to add space in Root...!!!

you can find everything you need to know here:
Solaris FAQ: Myths and facts about Solaris swap space : Jim Laurent's Weblog

any one Know how to add the SWAP space ..!!

what i have know that is .....!!!

  1. create the File :-
    mkdir 100m swap.file
    2.add this file
    swap -a swap.file

but it doesn't work out ........!!!

Thank You Duke...!!!

udayn, please read the rules.

You are repeatedly breaking rule 4 by bumping up your thread and by starting new threads on the same subject. If you have a follow-up question, post it in the same thread.

And don't simply say "it doesn't work out". No one can help with a bug report like that. Tell us precisely what happened. Cut and paste your commands together with the results. And tell us precisely what you expected to happen instead.

DukeNuke2, that is a great link! I added it to the forum header.

mkdir isn't the correct way to create a 100 MB file.

dear it is not mkdir

swap -l
mkfile 20m (size) /export/home/swapfile
swap -a /export/home/swapfile
swap -l

Please try this one

dear it is not mkdir

swap -l
mkfile 20m (size) /export/home/swapfile
swap -a /export/home/swapfile
swap -l

Please try this one

This example works fine with me.

Read (again?) post #6.