/ is full


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users / is full
# 1  
Old 07-06-2004
/ is full

Hi Exprts,
I faced this problem several times, which / file system is full (near 100%) and "proc" under that is the main reason.

i don't know how to reduce the size as all directories under proc seems important & other dir/files under / are OS related & could not be removed.

could anyone advise me for the possible solutions on making the / file system free.

Thanks,
--nikk
# 2  
Old 07-06-2004
Type "df -k" and look at the result. Removing files in other filesystems won't help if / is full. You've got to remove stuff in the root filesystem. Note that /proc is a separate filesystem. That right there should tell you that looking at /proc is barking up the wrong tree. What's worse is trhat /proc consumes no disk space at all. It's a psuedo filesystem. Psuedo means make-believe. So ignore /proc and the other filesystems...if root is full, you've got to address that by looking at root.

If root has filled it's because someone wrote some files there. So a reasonable approach is to look at a recently written files in root...

find / -mount -mtime -10 -type f -print | xargs ls -l

The -mtime -10 says written to less than 10 days ago. You may need to adjust that.
# 3  
Old 07-07-2004
If proc does not use any space so the only thing which remains are opt,platform,... which are OS related & does not grow daily.

I didn't consider other files in different file systems & the only thing i focused is whatever i could remove directly under / which is nothing.

- could any other reason cause the size growth of / ?

- In addition if i want to add space to / what should i do?

Rgrds,
nikk
# 4  
Old 07-07-2004
What about /var? Is it it's own filesystem, or is it part of the root filesystem.
Can you post the output of df -k

Did you try Perderabo's find command?
# 5  
Old 07-14-2004
Nikk...

You need to list your filesystems with sizes...

/(root)
/var
/usr
/opt
/home
/stand

Most likely these are not under the Filesystem / and should not be imho, but can be on the same disk as /.

My advice is to look for any devices in / that you may have inadvertently created a tar and > it to a device name instead of > to a tape device...

I ahve seen it where folks do this:


tar -cvf ... ... > /dev/rmt/0mn or similar to a disk device by accident...



Try this command in /

du -k |sort -rn then go to the dirs under / that are large and narrow down where the large files are located....
# 6  
Old 07-17-2004
Kelam,
I found out the reason, under /dev one link was created like (rmt0 -> /dev/rmt/....) which was not a right link & i removed that,
i don't know how it had been created cause the client are not familliar to run any unix command.

One more thing was .CPR which had very large size, i executed
cat /dev/null >.CPR to make its size zero.
now / is ok.

Thanks,
--Nikk
# 7  
Old 07-20-2004
Yes, I think since /proc is a pseudo, it's always 100%. Also, core dumps are occasionally dumped to / . They can be very large. Depending on your distro, you can select a different filesystem to write core dumps, automatically delete them, or set conditional space rules.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

100% Inode full with only 67% FS full.

AIX Version 6.1 and 7.1. I understand that when the OS initially creates the FS and inodes, its pretty strict, but not always tuned to a 1:1 ratio. I see the same thing when adding a whole disk LV to a separate device. It seems that when we expand a filesystem the inodes don't get tuned... (5 Replies)
Discussion started by: mrmurdock
5 Replies

2. Red Hat

/ is full

/ has become full.... So i'm unable to login to the server. What should i do now ?? please help me... Thanks in advance (4 Replies)
Discussion started by: vamshigvk475
4 Replies

3. Shell Programming and Scripting

How to extract strings from full path when full path is not fixed

/Path/snowbird9/nrfCompMgrRave1230100920.log.gz:09/20/2010 06:14:51 ERROR Error Message. /Path/snowbird6/nrfCompMgrRave1220100920.log.gz:09/20/2010 06:14:51 ERROR Error Message. /Path/snowbird14/nrfCompMgrRave920100920.log.gz:09/20/2010 06:14:51 ERROR Error Message.... (0 Replies)
Discussion started by: Shirisha
0 Replies

4. UNIX for Dummies Questions & Answers

filesystem full

my root filesystem is eventually full "/dev/rdsk/c1d0s0" as a result i cannot boot to the operating system, i booted into the fail safe mode to check the space using df -h command i discover that it is eventually full. Also to my amazement i found that i cannot see the filesystem which mounted on... (1 Reply)
Discussion started by: seyiisq
1 Replies

5. UNIX for Dummies Questions & Answers

Full Partition?

Hi Everyone, I think I've filled up one of the partitions on my drive. I suspect that one of the applications I've been running has been spitting out junk files to this partition - most of which can be deleted. The problem is that I have no idea how to go look at what's on that partition and... (2 Replies)
Discussion started by: Choppy
2 Replies

6. AIX

heapdump full the /

Hi everybody; Javaecore files and heapdump created every day in my system in the "/" and make it full. Is there any way to disable this core files or change there directory from the "/" to "/tmp". Note that AIX level is 5.2 with ML 6. BeSt ReGaRs (0 Replies)
Discussion started by: khalifah
0 Replies

7. UNIX for Advanced & Expert Users

disk full

Please solve the following NOTICE HTFS:No space on dev hd(1/42) (2 Replies)
Discussion started by: msuheel
2 Replies

8. Solaris

Disks going full??

Dear All I have a problem regarding my Solaris 8 OS . This is regarding the space available in my disk. Although the df -k for /export/home shows 32% capacity I am not able to create any file on the disk. Again, quot -af shows the same output . I have got directories in my /export/home but... (3 Replies)
Discussion started by: encrypted
3 Replies

9. UNIX for Advanced & Expert Users

/ is full HELP

Hi.. i am having a problem, for some reason my / directory is 100 % full.. and i didn't install or anything on it.. it has almost 2 gig on thr root directory.. maybe i am missing some concept because i do not understand why it get full. it is happening on all three of my system.. and i always... (9 Replies)
Discussion started by: souldier
9 Replies
Login or Register to Ask a Question