How To Shrink /Tmp


 
Thread Tools Search this Thread
Operating Systems Solaris How To Shrink /Tmp
# 1  
Old 01-11-2005
How To Shrink /Tmp

Hi,

Do you know if we can shrink the size of the Swap under Solaris 8 ?

8Gb is already allocated to /TMP but we would like to reduce to 1 GB.

Thanks,

Fabien.
# 2  
Old 01-11-2005
Just change it from single user off of cdrom

Example
boot cdrom -s
format
change swap partition to have only 1GB
Stop L1
boot
# 3  
Old 01-11-2005
.....

if you only want to shrink the /tmp you could use the following mount option:
mount -F tmpfs -o remount,size=1024m swap /tmp

fix the entry in your /etc/vfstab (the last table) with size=1024m

if you want to shrink swap use RTM's way ;-)

gP
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Safe way to shrink lvm vg_*-lv_swap partition and reclaim freed space on Linux?

Hello, # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 1024M 0 rom sda 8:0 0 38.2G 0 disk ├─sda1 8:1 0 500M 0 part /boot └─sda2 8:2 ... (2 Replies)
Discussion started by: centosadmin
2 Replies

2. AIX

[ASK] decrease/shrink the size of filesystem

Hello, I would like to reduce the size of filesystem online. We can do online for increase without any problem. So any risk can be occurred with the decrease? This is not an issue, just a discussion for decrease/shrink space with chfs command. My AIX system is version 6.1 and the filesystem... (2 Replies)
Discussion started by: Phat
2 Replies

3. Red Hat

Shrink ext4 filesystem and reduce the size of a Logical Volume in Linux

Hello guys, I would like to ask you kindly if you don't know some quick and safe method how to shrink ext4 filesystem and reduce the size of a Logical Volume in Linux, please? Thank you very much. (2 Replies)
Discussion started by: los_bandidos
2 Replies

4. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

5. UNIX for Advanced & Expert Users

How to shrink root file system (LVM) in Linux Fedora 9?

My root file system is of type LVM. i wanna shrink it but unable to do so. When i give the below command: resize2fs /dev/mapper/VolGroup00-VolLog00 10000M it messages that online shrink can't can't be done as the logical volume is mounted on /. i switched to single user mode by giving command:... (2 Replies)
Discussion started by: ravisingh
2 Replies

6. AIX

Shrink Volume in V7000

When we shrink one of the volume in our IBM Storwize V7000, upto 100GB its shrinks well on storage but the shrink space was not reflected on the volume group, it still shows the same space that it has before shrinking. Should I have to export/import the volume group. (10 Replies)
Discussion started by: m_raheelahmed
10 Replies

7. UNIX for Advanced & Expert Users

Shrink my partition to new disk

I want to backup my partitions by shrinking it my issue is like I want to create a new disk copy from only the used blocks I my current image. How would I redirect the output of resize2fs to new disk and dd the current partition so that I can boot my new image without issues and also without... (3 Replies)
Discussion started by: amol28kulkarni
3 Replies

8. AIX

jfs2 - cannot shrink filesystem

Hi, is anyone aware about filesystem size restrictions on AIX? And does anyone know a solution for below problem? I have 2 boxes attached to EMC Raid5 storage, both have huge /optware/oracle/oradata filesystems - 4.5 and 2.5 TB in size, nothing is striped or in any other way restricted. Due to... (11 Replies)
Discussion started by: zxmaus
11 Replies

9. UNIX for Dummies Questions & Answers

Why does UNIX kernel does not shrink?

Hello this is a book problem of chapter 8 william stallings's operating systems..can anyone tells me the accurate solution of it?? The Unix kernel will dynamicaly grow a process's stack in virtual memory as needed, but it willnever try to shrink it. Consider the case in which a program calls a C... (7 Replies)
Discussion started by: dillidamunda
7 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
Login or Register to Ask a Question