adding swap file
2007-12-25 11:55:00
Thanks to those who answered so quickly. I figured I was wrong
because the format of my entry was so different from the other
partition entries.
Here is my original question:
A while back someone posted a question regarding adding a permanent swap
file to a solaris 2.x machine. We are running solaris 2.4.
I created the swap file as specified. I had no trouble getting it to
work on a temporary basis by using swap -a.
In an attempt to make it permanent upon a reboot, I entered the following
line into our vfstab, as the SUMMARY said to do:
/usr/swap2/swapfile swap swap rw 0 0
When rebooting, I get a "too few arguments" error, so I guess I am missing
an argument. The man pages don't offer any help. Can someone tell me
what I'm missing?
In an attempt to make it permanent upon a reboot, I entered the following
line into our vfstab, as the SUMMARY said to do:
/usr/swap2/swapfile swap swap rw 0 0
When rebooting, I get a "too few arguments" error, so I guess I am missing
an argument. The man pages don't offer any help. Can someone tell me
what I'm missing?
Here is the answer:
/usr/swap2/swapfile - - swap - no -
Thanks to:
BTW, my above mistaken entry would have worked for an old SunOS 4.x
system, I'm told.
-mike
-----------------------------------------------------------------------------
Michael Hawk Senior Network Technician
mike@gi.net Global Internet Network Services
Comments
Got something to say?
You must be logged in to post a comment.

