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 07: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 07:54 AM
SWAP SPACE SmartJuniorUnix UNIX for Dummies Questions & Answers 5 11-12-2000 08:08 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-23-2001
Registered User
 

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

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,292
Stumble this Post!
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 (permalink)  
Old 07-23-2001
mib mib is offline
Registered User
 

Join Date: Jan 2001
Location: Calicut
Posts: 228
Stumble this Post!
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 (permalink)  
Old 07-23-2001
Registered User
 

Join Date: Jul 2001
Location: California
Posts: 42
Stumble this Post!

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

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,292
Stumble this Post!
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
Display Modes




All times are GMT -7. The time now is 11:03 AM.


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

Content Relevant URLs by vBSEO 3.2.0