Increase /tmp size temporarily


 
Thread Tools Search this Thread
Operating Systems Solaris Increase /tmp size temporarily
# 1  
Old 05-19-2010
Increase /tmp size temporarily

Hi all

system Solaris 10 10/09 s10x_u8wos_08a X86
ufs file system

I would like to install SunStudio.

After the gui comes up it shows that i need to add swap space of at least 900m.
the command swap-s shows 880m free.

My question is can you temporarily increase swap by 1 or 2 gig, and have it removed after a reboot.

If this is not possible can i create a swap on another hard drive and make it permanent.

Thank you for your time
Kevin
# 2  
Old 05-19-2010
Code:
mkfile 2048m /temp_swap && swap -a /temp_swap

Optionally you can add the respective entry to /etc/vfstab
# 3  
Old 05-19-2010
/tmp

Thank you for the command. I added it to vstab, rebooted the unit.
swap -s shows the increase in swap space.

error
insufficient disk space in /tmp please set -tempdir to a location with at least 700m

again thank you for help

kevin
# 4  
Old 05-19-2010
There was no need to reboot, swap increases are taken into account immediately. Perhaps the issue is a "size=xx" option set for /tmp in your /etc/vfstab file.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Increase /tmp file system size dynamically in Solaris zone

Hi Please let me know how to increase the size of /tmp file system from 512m to 1024m dynamically without reboot in solaris zone # df -h Filesystem size used avail capacity Mounted on zones/zone1 11G 1.0G 10.0G 10% / /dev 11G 1.0G ... (6 Replies)
Discussion started by: sb200
6 Replies

2. Solaris

How to use space in /tmp to increase root?

Hello All, I have solaris server running, uname -a SunOS host 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-280R Filesystem Size Used Available Capacity Mounted on /dev/md/dsk/d0 9.8G 8.7G 1.0G 90% / /dev/dsk/c1t1d0s3 4.3G 7.7M 4.2G ... (17 Replies)
Discussion started by: gull05
17 Replies

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

4. UNIX for Dummies Questions & Answers

Is there a way to temporarily increase the priority of cron's batch queue?

I run an application where some component periodically submits jobs into cron's batch queue via the 'batch' command. Each of these jobs perfoms a query to retrieve some data from a database, builds up an openoffice document with that data, and submits it to a headless openoffice server to have... (3 Replies)
Discussion started by: jsandeo
3 Replies

5. Solaris

Swap size increase

Dear All, How to increase the swap size when physicall memory reaches 60 %. OR it can be only done after the physicall memory is full. Rgds Rj (8 Replies)
Discussion started by: jegaraman
8 Replies

6. UNIX for Dummies Questions & Answers

Increase size to sd[b-c]

hi guys I am working on my vmware workstation. I have a /dev/sdb which is 5GB. I am using LVM. Now I increase /dev/sdb 2 more GB. fdisk -l shows 7 GB but pvscan still shows 5GB. how do I make my system recognize the new 7GB added and be able to add those to my physical volumen and... (1 Reply)
Discussion started by: kopper
1 Replies

7. UNIX for Dummies Questions & Answers

How to extend /tmp size?

Dear all, I wanna to extend my /tmp size. I deleted the all files of /tmp but it still shows there's no more space on it. The OS is Red Hat Enterprise Linux AS release 4 (Nahant Update 5). # df /tmp/ -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00... (3 Replies)
Discussion started by: mr_bold
3 Replies

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

9. HP-UX

increase size

Hi All, one of the mount point in Hp ux server has reached 95% its a data base file and can not be deleted. so i want to know how to increase the size of mount point i am new to unix ,please help me (1 Reply)
Discussion started by: jyoti
1 Replies

10. UNIX for Dummies Questions & Answers

increase size of /tmp

My /tmp is full, and the oracle installation is crashing. How can I increase the size of /tmp, even though I have allocated all the available disk space to other partitions? (2 Replies)
Discussion started by: pkappaz
2 Replies
Login or Register to Ask a Question