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
Swap config - Mirror swap or not? BG_JrAdmin SUN Solaris 3 01-06-2008 06:25 PM
Solaris8 kmcguinn71 SUN Solaris 2 09-30-2006 06:00 AM
Nis config in solaris8 nikk UNIX for Advanced & Expert Users 1 05-27-2003 07:56 AM
A problme about solaris8 Yeliu UNIX for Dummies Questions & Answers 3 09-17-2002 12:11 PM
Learning Sun Solaris8 sushmabedi UNIX for Dummies Questions & Answers 3 09-03-2002 01:10 PM

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

Join Date: Jul 2001
Location: US
Posts: 25
SWAP and TMPFS on Solaris8

hi,
With Solaris 8. after I enter df -k, I see 2 lines of SWAP; one is mounted on /var/run while the other is on /tmp.
I remembered that I set up only 1 swap during the installation. Then, a Solaris Admin book says that the TMPFS fils system is a new feature.
Can someone please share his/her thoughts about what the TMPFS is and why this creates 2 lines when entering df -k?
Thanks a lot.
Forum Sponsor
  #2 (permalink)  
Old 07-25-2001
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 905
The TMPFS is a filesystem contained completely in RAM. Useful if you have an application that writes or reads lots of temporary data, and performance is critical. Only beneficial if you have plenty of spare memory.
  #3 (permalink)  
Old 07-25-2001
Registered User
 

Join Date: Jul 2001
Location: US
Posts: 25
Thanks for the reply. My question is more about why that the df -k will produce 2 lines about swap, instead of 1.
  #4 (permalink)  
Old 07-25-2001
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584

My guess would be that it is because they are two different mounts... Possibly even two different filesystem types. I don't know much about Solaris operations, but that's what I would reckon...
  #5 (permalink)  
Old 07-26-2001
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 905
Quote:
Originally posted by andrec
Thanks for the reply. My question is more about why that the df -k will produce 2 lines about swap, instead of 1.
Post the output here and we will decode it for you.
  #6 (permalink)  
Old 07-26-2001
Registered User
 

Join Date: Jul 2001
Location: US
Posts: 25
df -k results below:

========================
Filesystem kbytes used avail cap. Mtd. on
/dev/dsk/c0t0d0s0 1252895 878583 311668 74% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
swap 675912 0 675912 0% /var/run
swap 676256 344 675912 1% /tmp
/dev/dsk/c0t0d0s7 243127 131 21868 1% /export/home
========================

Again, I specified to use 512MB for my SWAP size.
Thank you for all the input so far.
  #7 (permalink)  
Old 07-26-2001
Registered User
 

Join Date: Jul 2001
Location: California
Posts: 42
The /var/run File System

check here

http://docs.sun.com:80/ab2/coll.47.1...Enc=iso-8859-1


--------------------------------------------------
A new TMPFS-mounted file system, /var/run, is the repository for temporary "system files" that are
not needed across system reboots in this Solaris release and future releases. The /tmp directory
continues to be repository for "non-system temporary files".

Because /var/run is mounted as a memory-based file system rather than a disk-based file system,
updates to this directory do not cause unnecessary disk traffic that would interfere with systems
running power management software.

The /var/run directory requires no administration. You may notice that it is not unmounted with the
umount -a or the umountall command.

For security reasons, /var/run is owned by root.

Hope this help
__________________
:rolleyes:
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:32 PM.


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