|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
My file system is 100%, can't find the huge file
Please help. My file system is 100%, I can't seem to find what is taking so much space. The total hard drive space is 150Gig free but I got nothing now. I did to this to find the big file but it's taking so much time. Is there any other way? Code:
du -ah / | more
find ./ -size +200M -exec du -h {} \; |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
The usual culprits are often in /var/, unless /var/ is its own partition on your system.
If you have lsof, this can help show you which files are actually open. So can ls -l /proc/[0-9]*/fd/ on some systems, particularly linux. Beware -- do not simply delete the problem file when you find it! If it's still held open by anything, it will not be removed from disk, just removed from the directory -- forcing you to kill processes or reboot to close the file and fix the problem. Truncate the file instead, i.e. : > filename to reduce it to zero bytes in size. |
| The Following User Says Thank You to Corona688 For This Useful Post: | ||
samnyc (01-09-2013) | ||
| Sponsored Links | ||
|
|
#4
|
|||
|
|||
|
Thank you so much for your help. I was able to find huge tar file, which I was able to remove. But it's still tight, I need to add more space to this server. Move all the old log files to new system.
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Optimised way for search & replace a value on one line in a very huge file (File Size is 24 GB). | manishkomar007 | Shell Programming and Scripting | 7 | 09-02-2011 10:59 PM |
| how to split a huge file by every 100 lines | dtdt | Shell Programming and Scripting | 2 | 08-27-2011 04:04 AM |
| How to find a file whick is consuming larger disk space in file system | lokeshpashine | UNIX for Dummies Questions & Answers | 6 | 04-04-2009 02:52 AM |
| insert a header in a huge data file without using an intermediate file | deepaktanna | Shell Programming and Scripting | 10 | 02-23-2009 02:38 PM |
| find the largest file in whole system | megh | HP-UX | 7 | 08-05-2008 12:17 PM |
|
|