Visit Our UNIX and Linux User Community


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?
# 15  
Old 08-16-2016
Did you find out what was using all the space? Your plan to just move /var and hope for the best puts you in a worse position in my opinion.

if you can work out what space is used then perhaps we can discuss a reason and an action plan to suit. If you run du -ksx / and the space used does not tally with the output from df -k then there is a good chance that a directory with content has been over-mounted with a filesystem and the content is now inaccessible, but of course still costing space.

Can you show us the output from the two commands? The du will take quite a while to run.



Kind regards,
Robin
# 16  
Old 08-16-2016
Thanks for the reply,i have provided below the output for df -k and du -ksx /

Code:
 # df -k
Filesystem           1024-blocks        Used   Available Capacity  Mounted on
/dev/md/dsk/d0          10327372     9833243      390856    97%    /

Code:
 # du -ksx /
9821458

---------- Post updated at 07:24 PM ---------- Previous update was at 07:21 PM ----------

I looked at the space utilization as well, many java oracle and other development applications are using the space and looks like we will not be able to delete anything.Thanks for your help
# 17  
Old 08-17-2016
Okay, so it looks like you don't have the problem I considered.

Does the output from du -kx / | sort -n give you clues as to where all the space is being used?

Is the output from df complete? If all the applications and data are in other filesystems, that is good and it might just be that the root filesystem allocation is too small.


Have you considered all the suggestions in the thread, such as in posts 3 & 9?

I'm still not clear if the filesystem in within LVM (or equivalent) or not. It looks like you might have a simple slice of disk and that may be difficult to work with. What else is on the LUN?

Can we have the output from the various displays to see what has been allocated? We can then consider what is the best way for you to progress.



Kind regards,
Robin
This User Gave Thanks to rbatte1 For This Post:
# 18  
Old 08-17-2016
Quote:
Originally Posted by gull05
I looked at the space utilization as well, many java oracle and other development applications are using the space and looks like we will not be able to delete anything.
These applications are likely not part of the operating system. It is well possible they allow their logs and/or data to be relocated elsewhere. If you don't find how to do it, you might also use loopback mounts to remap the directories using a lot of disk space to directories located on the new file system (new LUN). Note that you might have SVM mirroring in place with the current setup (run the "metastat" command to check it) and you'll lose that feature if your new LUN isn't already on a mirror.

Previous Thread | Next Thread
Test Your Knowledge in Computers #441
Difficulty: Easy
"Hotel California" by the Eagles is a song about a super A.I. who goes rouge and parties all day and night.
True or False?

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

Featured Tech Videos