Fedora :: Hidden Disk Space Usage \ Can't Figure Out Where The Runaway Usage Is?
Dec 10, 2010
I'm running into a problem where my system is running out of disk space on the root partition, but I can't figure out where the runaway usage is. I've had a stable system for a couple of years now, and it just ran out of space. I cleaned some files up to get the system workable again, but can't find the big usage area, and I'm getting conflicting results.For example, when I do a df it says I'm using 44GB out of 58 GB:
Code:
[root@Zion ~]# df -h
Filesystem Size Used Avail Use% Mounted on
I have a productive sever (very old, 1500 days without restart or software update, gentoo distro) and i have a weird disk usage there:
Code: gentoo / # du -sk *|sort -n 0 sys 2 service 6 mnt
[Code]....
You see that on 'df' i have 67 GB on the disk and 2.6GB avaiable, but du is confirming only 33GB of usage. What uses the other 34GB ? I can't install fancy graphical disk usage programs there, is there any way I can find what is consuming the 34GB of disk using command line tools and standard linux programs? (like debugfs or something like that)
How do I get Ubuntu's "Disk Usage Analyzer" to show me the hidden files?
It tells me my home dir uses 3GB, but only accounts for 525MB (the results of du -shc *). Can I get it to show me the other files that are using the space?
I am running an Opensuse 11.2 system as a backup file server. Several external hard drives are attached via USB and mounted during boot via the fstab file. Recently, I noticed the df command showed the root partition being >65% full, while the du command showed the same drive was only about 20% full. After much investigation, I discovered that some large directories had been created under the /media folder on the root partition that were hidden when the external drives were mounted as directories with the same names under /media. I could only see this when I rebooted with a live CD and mounted the suspect partition without the external drives mounted. Is there a way to examine whether a mounted partition has existing files "hidden" when a separate file system is mounted "on top of it"?
I was trying to get the status of memory usage and disk usage using sigar in windows and ubuntu. done this in windows by just copying the sigar library into jdk library. But i was unable to do so in ubuntu. I've copied the library to java-6-sun library but still can't run the program.
Some thing is using up a huge amount of my disk space about 10G and I can not determine what it is. When I look at my disk usage in system monitor it say I have used about 25G and when I scan the directory in disk usage analyzer the entire file system used is 15G.
How can i limit disk space usage for one user? Like.. User john123, you can only use 100mb of my harddisk. User jake155, you can only use 250mb of my harddisk.
I want to get the disk space usage of each user on the machine. I Have found the command -du but how can I consultate the usage per user? The only thing I can is to consultate the usage of maps...
well I went to wubi-installer, and installed Ubuntu, and I love it, I don't want to go back to windows 7, but anyways, I set Ubuntu to my D: Drive, (200GB Space) and I installed Steam (Steampowered.com) to get my games on Ubuntu. I installed all of my games, but here is a big problem, I can't figure out how to use more than 30GB on Ubuntu, it just doesn't work. I got GParted, and the D: drive is set to 195 GB (200, but Ubuntu used 5GB)
Just picked up a 64g M4 SSD, bit small I know but wanted to have a play and try the SSD thing out. I am chasing partitioning suggestions. Problem is, you guessed it, space. As always with SSD's, space is at a premium. Formatted I am apparently going to end up with about 58gig usable. A disk usage analysis of my current Fedora 14 install on a 7200rpm drive gives me 30g of files in home, and about 15g to root.
Of that 30g of home files, 8g is tied up in Thunderbird alone, so was going to allocate about 45 to /home; and about 3g to swap. Problem is / (root) I have 8 gig tied up in /usr, and another 5 gig tied up in /var. Is this normal? Can I delete some of those files or will a fresh install of Fedora 15 blow out eventually to fill all that. I know I am trapped with /usr on the SSD but can I move /var to a 7200rpm instead of chocking up my teeny weeny ssd? What have other people partitioned their SSD's as?
I am sure that all of us know the result of top command in linux. i want to get the value that the top command return as CPU usage, memory usage. so how do i do(programming relation)?
I need to install Fedora on 4GB SDHC card, so the space is limited.My question is what files (documents, manuals, temporary files, logs, unused packages etc) I can remove, without harming the system?So far I cleaned /tmp, /var/log, trash what else?
Is there any way to monitor one process' CPU usage and RAM usage over time on Linux? I am trying to change to a cheaper VPS and need to work out what level of CPU and RAM I need!
For some reason, if I leave my Linux box running for several days, the swap space and RAM slowly fill up until my system is so slow that it takes around 15 seconds just to open a new tab if Firefox (Iceweasel, specifically). I have 512GB RAM and almost a gig of swap; how on earth does it fill up so much? Even if I close all my programs, there's still over 600MB swap used and all RAM is full. I've included a screenshot of 'top' running just about two minutes after I closed all my running programs.
(Before I closed it, I had only 71MB swap free.) I know that Linux is supposed to make good usage of RAM, but isn't this over the top? Is there a way to force it to use only required memory with no or little extras kept in RAM? Just thought I'd add in the fact that I'm running Xfce as opposed to KDE or GNOME in an attempt to have a smoother running system on my old hardware. Also, what's the "VIRT" column?
On one of my servers the "free" command tells me that a lot of swap space are in use. What I'd like to do is to determine which processes have been swapped out. I tried issuing "top" and sort by the "swap" column, but this doesn't seem to provide correct values - when performing the same excersize on another server with close to no pages swapped out, the sum when adding the swap value for each process greatly exceeds the swap usage reported by "free". So how do I go about determining the swap space used for individual processes?
I'm using vmsplice & splice to send memory buffers through a TCP socket. I have two issues using these methods:
1) According to the documentation, when using vmsplice with the flag SPLICE_F_GIFT, you cannot modify the buffer you've "given" the kernel. Currently, each time I want to send a buffer, I have to allocate a page-aligned buffer (fill it with data) and send it using vmsplice- splice. When can I deallocate this buffer? Is it possible to modify this buffer after the buffer is sent through the socket?
2) The buffer should be page-aligned both in memory and in length, but most of the time the sent messages (to the TCP socket) - are smaller than a page size - is it possible to "clear" the pipe from the remaining buffer?
I've come across a really strange issue with one of my RHEL servers. The "free" command shows that 7019 MB of memory are actually in use by my system, but when summing up the actual usage (or even virtual usage like the example below) it doesn't add up - the sum is far less than what is reported by "free":
I realize bleachbit is supposed to "clean files", but my disk usage is at 11.8%. My disjk usage was at like 6.0%. How in the world did it jump so much? It doesnt appear to be right. The only thing I did not check were the Firefox checkboxes..
I have benn using ubuntu on an old laptop to run a samba server and a torrent server and it has been working fine till a few days ago when it stopped letting me write any files to the disk, So i tried deleting some of the files i no longer needed to free up some space and the disk usage didnt decrease so i checked it out using the disk usage analyzer and it says its full but i know for sure its not.
The command time shows the time taken by a command to complete. Is there a command that shows the change in disk usage caused by a command? I would like to know how large a package is when I install it from source.
I am trying to get the total file size for certain files per directory.I am usingfind `pwd` /DirectoryPath -name '*.dta' -exec ls -l {} ; | awk '{ print $NF ": " $5 }' > /users/cergun/My Documents/dtafiles.txtbut this lists all the files in the directoriesI need the total per directory for all dta files.
I am trying to get my head around my new server. I am using CENTOS 5.4 x86_64 with 300GB harddrive.
The 300 GB been partitioned with the following:
Device Size Used Available Percent Used Mount Point /dev/md0 99M 18M 77M 19% /boot /dev/md1 16G 8.7G 5.8G 61% / /dev/md2 246G 40G 194G 18% /home /dev/md3 4.8G 1.6G 3.0G 35% /var /usr/tmpDSK 3.9G 432M 3.3G 12% /tmp
I have increased teh tmpDSK as it was getting full very quickly. My question is, what are these md0; md1, md2 and md3 are they harddrive partitions and as md1 is getting full will that have an impact on my sites.
how to check which process consuming a lot of HDD I/O ? Do You know any good command which can show me which process saving something big on the storage system ? "iostat" or maybe "ps" ? Would be great if somebody could past me here nice command.