root 100%


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers root 100%
# 1  
Old 10-08-2004
root 100%

Hello everbody.

I know this is a simple question for you guys, but my root file system or partition, which is the right word.

Itīs full 100%, which files can I remove, and my usr partition has 86% in this one which files can I remove too.

Thanks for your help
# 2  
Old 10-08-2004
Well I'm guessing you just downloaded a ton of programs and saved the tarball packages or installation files on the root partition. You just have to go through it yourself and delete all those and everything you dont need.
# 3  
Old 10-09-2004
If /var and /tmp aren't on seperate partitions, you might be asking for trouble too.

Check that /tmp isn't full of junk, if it is, clear it.

Also, check /var/log/* or /var/adm/* to see if log files are swelling.

Use df and du to find out where the space hogs are.
Posting the output of df (or bdf - depending on OS) may be useful here.

Also - /home - is it on a seperate partition?

Cheers
ZB
# 4  
Old 10-12-2004
root 100%

Thanks to Synbios and zazzybob. This is my output of df -k
command

root# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 1018382 986565 0 100% /
/dev/dsk/c0t0d0s4 1018382 822246 135034 86% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/dsk/c0t0d0s1 1018382 28034 929246 3% /var
swap 3785552 16 3785536 1% /var/run
swap 3785552 16 3785536 1% /tmp
/dev/dsk/c0t0d0s3 1018382 400062 557218 42% /opt
/dev/dsk/c0t0d0s7 1953189 9 1894585 1% /oracle
/dev/dsk/c0t0d0s5 493688 51097 393223 12% /export/home

My packages and all the installation are on /opt

This is my output of /var/adm and /var/log

var/adm

drwxrwxr-x 5 adm adm 512 Aug 17 19:47 acct
-rw------- 1 uucp bin 0 Aug 17 19:23 aculog
drwxr-xr-x 2 adm adm 512 Aug 17 19:23 exacct
-r--r--r-- 1 root root 28084 Oct 12 17:23 lastlog
drwxr-xr-x 2 adm adm 512 Aug 17 19:23 log
-rw-r--r-- 1 root other 12794 Oct 12 17:24 messages
drwxr-xr-x 2 adm adm 512 Aug 17 19:23 passwd
drwxrwxr-x 2 adm sys 512 Aug 17 19:47 sa
drwxr-xr-x 2 root sys 512 Aug 17 19:37 sm.bin
-rw-rw-rw- 1 root bin 0 Aug 17 19:23 spellhist
drwxr-xr-x 2 root sys 512 Aug 17 19:23 streams
-rw------- 1 root root 769 Oct 12 17:23 sulog
-rw-r--r-- 1 root bin 3348 Oct 12 17:23 utmpx
-rw-r--r-- 1 root root 351 Aug 18 17:50 vold.log
-rw-r--r-- 1 adm adm 226176 Oct 12 17:23 wtmpx

and this is var/log

-rw------- 1 root sys 0 Aug 17 19:23 authlog
-rw-r--r-- 1 root other 261 Aug 17 19:43 sysidconfig.log
-rw-r--r-- 1 root sys 5482 Oct 12 17:23 syslog


Any help or tip would be great .

Thanks in advance
# 5  
Old 10-12-2004
I would take a closer look at /root and consider moving what you can to other partitions. Symbolic links can help ease the pain.

The du command might be useful.


Neo
# 6  
Old 10-13-2004
search for core dump which can also cause / directory to fill up

do the following

find / -name core 2>/dev/null

this will show you if you have any core dump which you can delete and this will free up space.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Can you gain root privileges if the suid program does not belong to root?

I had a question in my test which asked where suppose user B has a program with 's' bit set. Can user A run this program and gain root privileges in any way? I suppose not as the suid program run with privileges of owner and this program will run with B's privileges and not root. (1 Reply)
Discussion started by: syncmaster
1 Replies

2. Shell Programming and Scripting

Find users with root UID or GID or root home

I need to list users in /etc/passwd with root's GID or UID or /root as home directory If we have these entries in /etc/passwd root:x:0:0:root:/root:/bin/bash rootgooduser1:x:100:100::/home/gooduser1:/bin/bash baduser1:x:0:300::/home/baduser1:/bin/bash... (6 Replies)
Discussion started by: anil510
6 Replies

3. SuSE

Auditors want more security with root to root access via ssh keys

I access over 100 SUSE SLES servers as root from my admin server, via ssh sessions using ssh keys, so I don't have to enter a password. My SUSE Admin server is setup in the following manner: 1) Remote root access is turned off in the sshd_config file. 2) I am the only user of this admin... (6 Replies)
Discussion started by: dvbell
6 Replies

4. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

5. Solaris

Lost Root Password on VXVM Encapsulated Root Disk

Hi All Hope it's okay to post on this sub-forum, couldn't find a better place I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies

6. Ubuntu

My root is at 100%...

Hi, this is my situation...my root is all used up. I have Ubuntu 10.10. When I originally installed it I did it as a test station and wasn't thinking about needing it in the future... Here is my result of df command... Filesystem 1K-blocks Used Available Use% Mounted on... (1 Reply)
Discussion started by: zixzix01
1 Replies

7. Solaris

/ root is 100% and there is nothing increased it

Guys I have solaris 9 and / root is 100% and there is nothing increased the space every thing normal , I think the problem related to audit How can I stop or shutdown audit service and start it again ? Pls advice in the reason of this increasing and is it related to audit service ? . (5 Replies)
Discussion started by: Mr.AIX
5 Replies

8. UNIX for Dummies Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

hi i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies

9. AIX

Can't login root account due to can't find root shell

Hi, yesterday, I changed root's shell in /etc/passwd, cause a mistake then I can not log in root account (can't find correct shell). I attempted to log in single-mode, however, it prompted for single-mode's password then I type root's password but still can not log in. I'm using AIX 5L version 5.2... (2 Replies)
Discussion started by: neikel
2 Replies

10. UNIX for Dummies Questions & Answers

Run non-root script as root with non-root environment

All, I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies
Login or Register to Ask a Question