The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
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

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-23-2001
Registered User
 

Join Date: Dec 2000
Location: Greater Dallas area
Posts: 405
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  
Old 07-23-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
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  
Old 07-23-2001
mib mib is offline
Registered User
 

Join Date: Jan 2001
Location: Calicut
Posts: 228
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  
Old 07-23-2001
Registered User
 

Join Date: Jul 2001
Location: California
Posts: 42

here comes my question
if I have enough memory (let's say 2Gb), do I really need a swap?
__________________
:rolleyes:
  #5  
Old 07-24-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
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
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:22 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0