SWAP and TMPFS on Solaris8

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers SWAP and TMPFS on Solaris8
# 1  
Old 07-24-2001
SWAP and TMPFS on Solaris8

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.
# 2  
Old 07-25-2001
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  
Old 07-26-2001
Thanks for the reply. My question is more about why that the df -k will produce 2 lines about swap, instead of 1.
# 4  
Old 07-26-2001

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  
Old 07-26-2001
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  
Old 07-26-2001
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  
Old 07-26-2001
The /var/run File System

check here


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 Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Explain the output of swap -s and swap -l

Hi Solaris Folks :), I need to calculate the swap usage on solaris server, please let me understand the output of below swap -s and swap -l commands. $swap -s total: 1774912k bytes allocated + 240616k reserved = 2015528k used, 14542512k available $swap -l swapfile dev swaplo... (6 Replies)
Discussion started by: seenuvasan1985
6 Replies

2. UNIX for Advanced & Expert Users


hi I'm just wondering, when you use tmpfs on your machines: servers & clients? (7 Replies)
Discussion started by: ccc
7 Replies

3. UNIX for Dummies Questions & Answers

.profile in solaris8

question: why is that when I created a user under solaris8, i got two lines before the login.. sample: login as: user1 user1@'s password: Last login: Fri Feb 25 17:00:52 2011 from Sun Microsystems Inc. SunOS 5.8 Generic February 2000 Sun Microsystems Inc. SunOS... (0 Replies)
Discussion started by: lhareigh890
0 Replies

4. HP-UX

Swap device file and swap sapce

Hi I have an integrity machine rx7620 and rx8640 running hp-ux 11.31. I'm planning to fine tune the system: - I would like to know when does the memory swap space spill over to the device swap space? - And how much % of memory swap utilization should be specified (swap space device... (6 Replies)
Discussion started by: lamoul
6 Replies

5. Solaris

Swap config - Mirror swap or not?

Hello and thanks in advance. I have a Sun box with raid 1 on the O/S disks using solaris svm. I want to unmirror my swap partition, and add the slice on the second disk as an additional swap device. This would give me twice as much swap space. I have been warned not to do this by some... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

6. Solaris


What is the max file system that I can create. Is the max 2TB? I trying to connect a iscsi device and Solaris can only see 999 GB. Do I have to change sector size? (2 Replies)
Discussion started by: kmcguinn71
2 Replies

7. UNIX for Dummies Questions & Answers

about grep on solaris8

there is -r switch for grep in linux, but in solaris 8, I found it doesn't support it. But I really need this function to rescue my sub-directories, so anybody can help me?thanks!! (2 Replies)
Discussion started by: cooldown
2 Replies

8. UNIX for Dummies Questions & Answers

A problme about solaris8

Hello,I have a problme when log on Solaris 8 ,screen show"DT information system do not startup".what's this.how to do it? thankx. (3 Replies)
Discussion started by: Yeliu
3 Replies

9. UNIX for Dummies Questions & Answers

downloaded solaris8

i have downloaded 3 zipped solaris ver 8 07/01 installation cd and i want to ask this question: 1. what will i do to burn it? do i need to extract the file and then burn it? what? Note: Those zipped files have only one file each and it has more than 100mb plus. (6 Replies)
Discussion started by: rodelu
6 Replies

10. UNIX for Dummies Questions & Answers


I have just recently installed solaris8 on my box, and got two minor problems: Based on the size of partitions i should have approx 10gigs of mem., but the system registeres 0 space available on my harddrive....That problem results in a slight inability to install any apps... The second problem is... (3 Replies)
Discussion started by: Diesel
3 Replies
Login or Register to Ask a Question