Originally Posted by
4Orbs
Sorry for my confusing post. If the private folder is something you did not intentionally create yourself, then my post has no relevance to your problem. Hopefully someone else will come along with a solution.
Can I just go into the ".Private" directory and delete everything in there? Or, how do I actually access that stuff to make sure I don't need it? It's apparently taking up 9.7G of the 19G partition (if that is actually part of that partition, it's weird, like it's a partition within a partition).
Originally Posted by
lisati
Things that come to mind are temporary file that are created when you, say, watch videos online or when you apply updates to your system.
Files stored in /tmp are usually deleted when you reboot.
I went into /tmp and did a rm -rf (of only the tmp things of course) and that brought my "/" up from about 680M to 1.1G, so that helps... though I don't know what the heck is eating the space up (and it's happening when I have internet disabled and am not running any visible programs or any programs that I'm at least aware of).
Originally Posted by
mbobak
Ok, first, do:
to see what partition has all the space taken up.
Here's a df -kh ...
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 19G 17G 1.1G 95% /
udev 2.0G 400K 2.0G 1% /dev
none 2.0G 20M 2.0G 1% /dev/shm
none 2.0G 200K 2.0G 1% /var/run
none 2.0G 0 2.0G 0% /var/lock
none 2.0G 0 2.0G 0% /lib/init/rw
/dev/sda1 942M 112M 783M 13% /boot
/dev/mapper/vg0-vault
755G 740G 16G 98% /studio/vault
/dev/sda2 187G 92G 96G 49% /windows
/dev/mapper/vg0-zone 87G 184M 83G 1% /zone
/dev/sda6 216G 204G 516M 100% /studio/workspace
/dev/mapper/vg0-nomad
87G 184M 83G 1% /nomad
/home/username/.Private 19G 17G 1.1G 95% /home/username
/dev/sr0 1.7G 1.7G 0 100% /media/cdrom0
/dev/sde1 932G 901G 32G 97% /media/My Book
These I was previously aware of as having very little space remaining, and I don't think the space is being "eaten up" on them:
Code:
/dev/sda6 216G 204G 516M 100% /studio/workspace
/dev/sde1 932G 901G 32G 97% /media/My Book
These (or this (singular? plural?)) is/are what's concerning me:
Code:
/dev/sda5 19G 17G 1.1G 95% /
/home/username/.Private 19G 17G 1.1G 95% /home/username
Having deleted the /tmp stuff helped bring up the dwindling space to 1.1G but it's still being eaten away by something. (i.e., I'm already down to 1.0G and I haven't done anything to lose that 100M since I ran that "df -kh" command a few minutes ago.)
Next, cd to that partition, then do:
This will show you which directory has the most space used up.
Here's du -skh /home/username/.Private|sort -n ...
4.0K
4? ...confusing. ...wait, it's a shortcut.
Okay, I'll try that on "/home/.ecryptfs/username/.Private" ...
Code:
9.8G /home/.ecryptfs/username/.Private/
...oh great now the previous 9.7G has gone up to 9.8G. arg @#%&
But I suppose the main culprit in all of this is, at least for now it seems, that ".Private" stuff (which I'm not even awaringly using).
cd into that directory, and repeat the 'du' command above.
Continue until you find the file or files taking up all the space.
Okay I did "du -skh [that Private dir]/* |sort -n ... and there doesn't appear to be anything that would add up to 9.8G ...
The largest things in there are -
A few files about 125M, 146M, 317M, and such, but otherwise a handful of kilobyte-size files, that's it.
And each file has a weird name like:
"ECRYPTFS_FNEK_ENCRYPTED.WkacAaJnFbsd2J5WYy16uifD7 4V.ShK--"
I don't know how to see what they are.
...woh... wait a sec...
I was using command line and that's all I found. I just re-checked using nautilus file browser and 1 file is 7.3G.
Now, use the 'fuser' command to determine what running program has that file open.
Hope that helps,
-Mark
I'm not familiar with "fuser" but trying it now...
Okay apparently I cannot use it with a private/encrypted file.
So I suppose this narrows down to 2 concerns now:
1. How do I access those ".Private" files/folders in an unencrypted way?
(That will help me determine what that 7.3G file is.)
2. How do I stop the computer from automatically eating up hard drive space?
(It seems that fuser doesn't let me see what's running that 7.3G file (if that file is open or if it's actually the space-eating file that mysterious-program-X is using.))
edit - of the 9.8G space used (and increasing) that 7.3G is only 1 file... and all of that within that "ecryptfs"/".Private" stuff. I think the ecryptfs stuff was an automatic part of the system install. I have never used it (nor do I know how to use it). I have no idea what the heck could possibly be going into that if I'm not even using the ecrypt/private stuff. Any ideas?
Also, I'm already down to 900M free... and it keeps getting lower.
edit2- I just rebooted the computer, the space was at 847M before, and it went up to 882M... and now, another check just a minute later, and it's down to 880M (I've opened no programs other than 1 web browser and a command line to check disk-free space). That's only a couple meg change in a minute or so, perhaps the result of loading the web browser again (if there was no cache factoring in). So maybe the reboot fixed whatever it was. However, I have no way of knowing what caused the HDD space decline before. And I'm still puzzled as to what can be done with that ".Private" stuff, how to unencrypt/access it, or if it's safe to just delete all of the contents in that directory (that seems to be where all of this problem is coming from).
edit3- the ".ecryptfs" directory is now up to 9.9G space used. ...but for the moment "/" is holding steady at 880M free. I just need to know if I can delete the ".Private" (ecryptfs) contents, which will help tremendously with this problem, or at least how to access it. It is within my currently logged in username, so I should theoretically have access to it now. I just don't know how. Anybody?
Thanks!
Bookmarks