![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| allocating swap space on solaris 9 | 0ktalmagik | UNIX for Advanced & Expert Users | 1 | 05-22-2006 09:42 PM |
| Swap space used??? | Lestat | UNIX for Dummies Questions & Answers | 1 | 02-17-2005 08:51 AM |
| swap space / paging space | aaronh | AIX | 2 | 05-19-2004 07:06 AM |
| pageing space vs swap space | VeroL | UNIX for Dummies Questions & Answers | 1 | 01-22-2004 08:54 AM |
| SWAP SPACE | SmartJuniorUnix | UNIX for Dummies Questions & Answers | 5 | 11-12-2000 09:08 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
creating swap space under Solaris 2.6
I just finished installing Solaris 2.6 and several applications just to realize that I made a bonehead mistake during the install. When setting up the filesystems, I entered /tmp and no swap! Is it possible to permanantly declare the entire /tmp partition as swap? I am guessing an entry in the /etc/vfstab, but am not sure.
Thanks
__________________
[url=http://chuckb.1le.net/]My website[/url] |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
No, you can't declare /tmp as swap space. If you do, the programs that need to write /tmp (mail, vi, elm, etc. etc. etc.) will fail because there is no writeable filesystem space in /tmp.
You can install easily delete the configuration that specifies /tmp as swapspace and create disk swap or other filesystem swap. That is no problem. Look in your fstab or whatever that is where the filesystems and swap space are specified and change the swap entry after making other swap space. |
|
#3
|
|||
|
|||
|
You can create a specific file as swap.
#mkfile 250m /usr/swapadd #swap -a /usr/swapadd add it to your /etc/vfstab to make it permanent: /usr/swapadd - - swap - no - HTH |
|
#4
|
|||
|
|||
|
here comes my question if I have enough memory (let's say 2Gb), do I really need a swap?
__________________
:rolleyes: |
|
#5
|
||||
|
||||
|
No, you don't have to configure swap space. If you have plenty of memory and never need to swap, you don't need swap
|
||||
| Google The UNIX and Linux Forums |