LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Disk space question! (https://www.linuxquestions.org/questions/linux-newbie-8/disk-space-question-565018/)

ntrudaglich 06-28-2007 12:28 AM

[SOLVED]Disk space question!
 
okay! I have a few questions. Well I'm running Slackware 10 on like a 30gb harddrive which I installed from a 4gb harddrive which had 2 partitions / and swap. I used a live cd to mount and copy etc. The 30gb harddrive I split for OpenBSD and for Linux where I have on my linux partitions

ntrudaglich@(none):~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda1 885144 468720 365824 57% /
/dev/hda6 885144 120 834424 1% /tmp
/dev/hda7 885144 43768 790776 6% /var
/dev/hda8 1313748 1200136 38512 97% /home
/dev/hda9 4348752 1779424 2320724 44% /usr

I'm wondering how can I find out what's taking up all the space on my /home partition? I've installed a few programs since I've copied it over from the 4gb harddrive to the 30gb harddrive but only system wide. I don't understand why my /home partition is filling up. Everthing I've installed or downloaded I've deleted. I've noticed that in the /home/ntrudaglich/.local/share/Trash/files/* all the files that I've installed, downloaded, and deleted show up there(but not exactly), or is being referenced there. I've tried deleting the files from /home/ntrudaglich/.local/share/Trash/files/* with no luck they still remain. Could that be whats taking up space? If, so what can I do about this and to prevent this from happening again?


Thanks,

ntrudaglich

ntrudaglich 06-28-2007 12:40 AM

Okay it is /home/ntrudaglich/.local/share/Trash/files/*.


ntrudaglich@(none):~$ su -c "du -sh /home/ntrudaglich/.local/share/Trash/files"

933M /home/ntrudaglich/.local/share/Trash/files

Can anyone tell me how to get rid of these files, and if possible prevent this?

Thanks,

ntrudaglich

ntrudaglich 06-28-2007 12:57 AM

Fixed it. I was trying to rm -rf as a user but as root it worked.

inova 06-28-2007 02:04 AM

Good thing you have worked it out :)

b0uncer 06-28-2007 02:14 AM

Quote:

Fixed it. I was trying to rm -rf as a user but as root it worked.
Nice. It'd also be helpful if you edited the thread so it's title started with "[SOLVED]" or something. Makes it easier for other users to see what problems are solved.

Be careful when using "rm -rf". Accidents DO happen :)

acid_kewpie 06-28-2007 06:08 AM

Quote:

Originally Posted by b0uncer
Nice. It'd also be helpful if you edited the thread so it's title started with "[SOLVED]" or something. Makes it easier for other users to see what problems are solved.

not really, as that only changes the first post title, not the thread title.

kmoffat 07-01-2007 10:23 AM

What, is there no real fix short of rm -rf? That's a pretty bad bug. I don't see this problem on my ubuntu install, but my debian testing has it.

ak_random 07-01-2007 11:24 AM

Quote:

Originally Posted by ntrudaglich
933M /home/ntrudaglich/.local/share/Trash/files

Aren't these files the result of deleting files from the file manager (Nautilus, I think)? If so, emptying the trash can from the file manager should delete these files without you having to go in there manually with the command line. I don't remember if there were trash can settings on how large it can be, but that's worth looking into.

ntrudaglich 07-03-2007 12:09 AM

Quote:

Originally Posted by ak_random
Aren't these files the result of deleting files from the file manager (Nautilus, I think)? If so, emptying the trash can from the file manager should delete these files without you having to go in there manually with the command line. I don't remember if there were trash can settings on how large it can be, but that's worth looking into.

Actually I deleted these files from the desktop as well as konqueror. I'm using kde, but I also had emptied the Trash but these files where in /home/ntrudaglich/.local/share/Trash/files.


ntrudaglich

kmoffat 07-03-2007 05:26 AM

Quote:

Originally Posted by ak_random
Aren't these files the result of deleting files from the file manager (Nautilus, I think)? If so, emptying the trash can from the file manager should delete these files without you having to go in there manually with the command line. I don't remember if there were trash can settings on how large it can be, but that's worth looking into.

hmm, I was using gnome and then switched to xfce, so maybe gnome would have cleaned these out when they got too large. I'm not sure.


All times are GMT -5. The time now is 09:22 PM.