Visit Our UNIX and Linux User Community


/tmp as swap


 
Thread Tools Search this Thread
Operating Systems Solaris /tmp as swap
# 1  
Old 06-08-2007
/tmp as swap

So with solaris 10 are people not using the old /tmp as a regular UFS filesystem and making /tmp part of swap or tmpfs... what are peoples thoughts on this?
# 2  
Old 06-08-2007
Can you please clarify what you are asking here?

/tmp is swap/tmpfs on Solaris 10 on any of the several hundred machines I have here.

Code:
swap    -       /tmp    tmpfs   -       yes     -

# 3  
Old 06-12-2007
Quote:
Originally Posted by reborg
Can you please clarify what you are asking here?

/tmp is swap/tmpfs on Solaris 10 on any of the several hundred machines I have here.

Code:
swap    -       /tmp    tmpfs   -       yes     -

yes i suppose that is the new route solaris is going, it used to be /tmp was a regular file system, not a swap/tmpfs, filesystem. I was asking what everyone opinon on /tmp as a UFS was.... vs /tmp as a swap file system
# 4  
Old 06-12-2007
/tmp was a UFS filesystem? I've never worked on a system that was configured like that. Of course, I have only worked on Solaris 8 and later...
# 5  
Old 06-20-2007
I think its dumb that the way /tmp and swap being shared. I had to reboot few servers because of /tmp full - out of swap space. Solaris 10 has many other functions that I hate.
# 6  
Old 06-20-2007
Quote:
Originally Posted by kiem
I think its dumb that the way /tmp and swap being shared. I had to reboot few servers because of /tmp full - out of swap space. Solaris 10 has many other functions that I hate.
what are these functions?
and:
/tmp has always been a tmpfs! (afaik and i know sol7-10)

Previous Thread | Next Thread
Test Your Knowledge in Computers #172
Difficulty: Easy
Red Hat is the largest contributor to the GNOME desktop environment.
True or False?

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. Solaris

/tmp size is less whereas size allocated to swap is more

Hi, the /tmp size is less whereas the size allocated to swap is quite big. how to increase the size of /tmp - #: swap -l swapfile dev swaplo blocks free /dev/md/dsk/d20 85,20 8 273096 273096 #: swap -s total: 46875128k bytes allocated + 2347188k reserved =... (2 Replies)
Discussion started by: psb74
2 Replies

3. Solaris

Solaris full /tmp - du and df different swap NOT filled

Hello all, The issue is # df -h /tmp Filesystem size used avail capacity Mounted on swap 4.0G 4.0G 8.7M 100% /tmp # du -sh /tmp/ 87M /tmp By now you probably will say that this is open file destriptor issue. Well no, nothing... (2 Replies)
Discussion started by: click
2 Replies

4. HP-UX

Could I mount a swap/dump partition on /tmp?

Hey Guys. Let show our disk-mapping structure on HP-UX B11.11 with df : # df /home (/dev/vg00/lvol5 ): 18979652 blocks 1224395 i /opt (/dev/vg00/lvol4 ): 120276192 blocks 1894100 i /var (/dev/vg00/lvol6 ): 19380328 blocks ... (3 Replies)
Discussion started by: aggadtech08
3 Replies

5. 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

6. Shell Programming and Scripting

how to mount swap on /tmp?

Hi all, I would like to know how to mount swap on /tmp at boot time? I mean i would like to know the exact commands... i will be implementing it on a distro of opensolaris ,belenix. is it the same as other mounts ? because when i surfed the net it was a little different and also since its... (0 Replies)
Discussion started by: wrapster
0 Replies

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

8. Solaris

/tmp: File system full, swap space limit exceeded

Can you help. My server sunning solaris 9 on x86 platform pretty much hung for a few hours... I could not use telnet or ssh to the box - it kept refusing connection. A few hours later - I was able to log in again. The server has not rebooted but here are the first errors in the messages log... (5 Replies)
Discussion started by: frustrated1
5 Replies

9. Solaris

Increase size of /tmp swap File

Hi Guys I need to increase the size of my /tmp swap file. What is the easiest way to do this. Thanks Carson (2 Replies)
Discussion started by: cmackin
2 Replies

10. UNIX for Dummies Questions & Answers

monitoring /tmp and /var/tmp for suspicous activity

Hello, does anyone have a script that can check the contents of the /tmp directory and for example e-mail the directory content if anything other than session files are present? Maybe there are better ways to monitor suspicous /tmp and /var/tmp activity, if so I'm listening :) (1 Reply)
Discussion started by: jamesbond
1 Replies

Featured Tech Videos