LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-28-2007, 01:28 AM   #1
ntrudaglich
LQ Newbie
 
Registered: Jun 2007
Posts: 13

Rep: Reputation: 0
[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

Last edited by ntrudaglich; 06-28-2007 at 05:52 AM.
 
Old 06-28-2007, 01:40 AM   #2
ntrudaglich
LQ Newbie
 
Registered: Jun 2007
Posts: 13

Original Poster
Rep: Reputation: 0
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

Last edited by ntrudaglich; 06-28-2007 at 01:52 AM.
 
Old 06-28-2007, 01:57 AM   #3
ntrudaglich
LQ Newbie
 
Registered: Jun 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Fixed it. I was trying to rm -rf as a user but as root it worked.
 
Old 06-28-2007, 03:04 AM   #4
inova
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Rep: Reputation: 0
Good thing you have worked it out
 
Old 06-28-2007, 03:14 AM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
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
 
Old 06-28-2007, 07:08 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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.
 
Old 07-01-2007, 11:23 AM   #7
kmoffat
Member
 
Registered: Jul 2003
Location: near Seattle
Distribution: Debian/Ubuntu/Suse
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 07-01-2007, 12:24 PM   #8
ak_random
Member
 
Registered: Jun 2007
Location: Silicon Valley, CA
Distribution: Xubuntu
Posts: 83

Rep: Reputation: 15
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.
 
Old 07-03-2007, 01:09 AM   #9
ntrudaglich
LQ Newbie
 
Registered: Jun 2007
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
Old 07-03-2007, 06:26 AM   #10
kmoffat
Member
 
Registered: Jul 2003
Location: near Seattle
Distribution: Debian/Ubuntu/Suse
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cedega "Disk space required for the installation exceeds available disk space" Solved Spewdemon LinuxQuestions.org Member Success Stories 1 10-18-2007 07:19 PM
disk space nose Solaris / OpenSolaris 8 12-24-2006 05:42 AM
Disk Space Usage Question kaplan71 Linux - General 6 04-11-2005 03:22 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 04:58 PM
Disk space wastage 73 GB Hard disk rajgopalhg Linux - Hardware 2 10-18-2002 04:41 PM


All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration