Results 1 to 7 of 7
Hi! I have problem with my hard drive on Debian. I connected my hard drive as a local drive (NFS) in to Mac OS. Later i deleted some files on ...
- 01-19-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 2
Hard drive showed incorrect free space
Hi! I have problem with my hard drive on Debian. I connected my hard drive as a local drive (NFS) in to Mac OS. Later i deleted some files on that hard drive from my mac but the free space didnt change. It looks like these files moved in to trash or something but i dont know where is it.
- 01-19-2011 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,086
Hello and welcome!
Trash usually goes into a hidden folder, such as .Trash
Set your file manager to also view hidden files/folders then navigate to it, or use ls -a from the command line to see a listing of all files/folders, including the hidden ones.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 01-19-2011 #3Just Joined!
- Join Date
- Jan 2011
- Posts
- 2
I use just command line. I dont have anything called .Trash in user folder and in root folder too.
- 01-19-2011 #4forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,086
It might be at: /home/user_name/.local/share/Trash
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 01-19-2011 #5
ncdu is a handy ncurses disk usage viewer that might help locate what's filling up your harddrive.
Debian -- Package Search Results -- ncdu
NCurses Disk Usage
- 01-20-2011 #6Just Joined!
- Join Date
- Jan 2011
- Posts
- 2
You could try this:
find <path> -size +10000k -print0 | xargs -0 ls -lh
Assuming your running the command as root. Otherwise you might get some permission denied errors. It might help to narrow the results by entering the absolute path of where you want to look as well. Otherwise / is just gonna show the entire disk.
- 01-20-2011 #7
If you deleted files that were currently open by a process, the space will not be released until the process closes the file. You may be able to find the culprit(s) with fuser and/or lsof. If not, a reboot will release the space since all processes will be shut down and all file handles released.
The other common culprit for inexplicable disk usage is files in a folder used as a mount point. The files in the physical folder will be hidden until the filesystem mounted on the folder is unmounted.


Reply With Quote
