How to use space in /tmp to increase root?


 
Thread Tools Search this Thread
Operating Systems Solaris How to use space in /tmp to increase root?
# 8  
Old 08-03-2016
Did you find out what was using all the space? Your plan to just grow it puts you in a worse position in my opinion.

How do you plan to recover if there is a critical failure? Perhaps a hardware error (even if it's virtual) or some sort of corruption? With all your data in / then you are having the root filesystem open and active nearly all the time. Even an unexpected shutdown (e.g. power loss) could leave you needing to fsck which for such a huge / will take a long time and if it doesn't work then you have lost your server.

I would strongly recommend thinking about splitting up the root filesystem to hold just the critical OS and keeping anything not needed for the boot on other filesystems.



Robin
# 9  
Old 08-03-2016
You can use "live upgrade" to create a new disk layout on a second disk (looks like you already have a mirror running, just take the second half of the mirror) and move your system to the second disk. All you need is one reboot to boot in to the new system. After that, you can use the old disk as second half of the mirror.

Beginners guide to Oracle Solaris Live Upgrade

There is more documentation about that matter on the Oracle site.
This User Gave Thanks to DukeNuke2 For This Post:
# 10  
Old 08-03-2016
What is the problem with root (/) ?
Why do you need to expand it ?
Can it be achieved with other methods (new mountpoint, symlink or similar) ?

Services on the machine should be separated from system partitions for various reasons, one being to simplify future configuration changes and needs.

This is not required, but i consider it good practice.
So, change the service in question if you can, take a look what is taking up space and what is that space needed for in root(/)



Hope that helps
Regards
Peasant.
This User Gave Thanks to Peasant For This Post:
# 11  
Old 08-14-2016
Thanks for all the replies.
So i asked the team to provision 20 GB LUN , can i move /var from / to te newly provisioned LUN?

If yes, how will i be able to do it ? Should i boot from a LIVE CD and do it ? we dont have a solaris OS CD as of now .Is there any other alternatives to do it.Thanks again for all the help
# 12  
Old 08-15-2016
What about answering to the questions asked by the various people that tried to help you instead of insisting to go a way that is more that likely doomed, given the fact you looks to have not enough experience and skills to achieve it?

Last edited by jlliagre; 08-15-2016 at 11:59 AM..
# 13  
Old 08-16-2016
Hello All,
I tried to look at clearing space , cleared all logs and crash dump files ,And looks like i will not be able to delete anything further.

I tried talking to my peer and he says that we will not be able to delete anything .

Should i try the method i posted earlier?Thanks for any help
# 14  
Old 08-16-2016
So you have a server that presumably had no disk space issues during more than a decade and suddenly there is not enough space in the root file system. How do you explain that?
What do you need that space for?
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. Linux

How to increase root space from another partition?

Hi OS Experts I would like to increase root partition from another partition so that I can save more documents in Home and Desktop. whether it is possible without formating root partition if so please explain here is o/p of df -h Filesystem Size Used Avail Use% Mounted on /dev/sda9... (8 Replies)
Discussion started by: Akshay Hegde
8 Replies

3. Red Hat

increase root partition

i am using redhat 5.4 and my root size shows 98 %, how can i increase root size # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 77G 16G 75G 98% / /dev/sda1 2.4G 82M 2.2G 4% /boot tmpfs 3.8G 0 3.8G 0%... (8 Replies)
Discussion started by: reply.ravi
8 Replies

4. Solaris

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... (3 Replies)
Discussion started by: kc2dws
3 Replies

5. AIX

i-nodes - out of disk space on /tmp

Usage: We run test build jobs that login to our AIX machines and create many small files in /tmp. After these jobs complete, they delete their temporary files that they have created. Issue: After approximately a week /tmp appears to become full. Issuing the command “df –g... (4 Replies)
Discussion started by: bblondin
4 Replies

6. Solaris

increase Root size

Dear all, I am very new to solaris, I have installed solaris 10, i tried installing few softwares into file system, unfortunately system failed to install stating "No space left on device " i searched few threads and it says, we have to increase root size. where my root size is... (2 Replies)
Discussion started by: radhnki
2 Replies

7. Shell Programming and Scripting

/tmp out of space error

Hi , I am a documentum consultant and facing a problem with a shell script that launches an installer to install documentum . The problem i am facing is that , when i invoke the below script to install the software it says - The directory /tmp does not contain enough space to extract... (1 Reply)
Discussion started by: h.shergill
1 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. UNIX for Dummies Questions & Answers

Moved root directory to tmp

I just received a phone call from a customer who accidentally typed this in: # mv * /tmp They did this from the root directory. I think they thought they were in a different folder. So now no commands work. I even adjusted the path to have the /tmp in front of everything. Even when I went... (8 Replies)
Discussion started by: stufine
8 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