LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-03-2004, 02:52 PM   #1
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430

Rep: Reputation: 30
What is eating 18 GB of space on my partition?


I have /dev/hdb as my /home partition, formatted with Reiserfs. It's a 40 GB Seagate. On this partition I have three user folders: /friend (for guests), one for my husband, one for me, plus one for /music that everybody can access. I used to have the /music folder in my account, but moved it over to it's own space so everybody could access it.

/friend is configured but doesn't have much data in it. Konqueror shows it takes up 8.6 MB.

/husband (not it's real name) takes up 12.6 MB.

/music takes up 6.6 GB.

/tigerflag (my account) contains approx. 185 MB data by my count, mostly text files and .jpegs, but Konqueror shows it contains 18.2 GB of data!

Konqueror says there is only 12.5 GB free space out of 37.3 GB.
By "Konqueror" I mean I can right-click on a folder in Konqueror and look at the properties to see the size.
*edit: Midnight Commander shows 13 GB free on this drive, similar to what Konqueror shows.

I have looked through all my files, including the hidden files. I don't know what could account for this. Is it possible that when I moved the /music out of my account, it didn't release the space somehow? That folder used to be much bigger than the 6.6 GB it is now.

What tools can I use, commandline or whatever, to see what's really on this drive?

Thanks, as always,
Siri Amrit

Last edited by tigerflag; 10-03-2004 at 03:26 PM.
 
Old 10-03-2004, 03:05 PM   #2
serz
Member
 
Registered: Apr 2003
Location: Buenos Aires, Argentina
Distribution: Slackware, Gentoo
Posts: 397

Rep: Reputation: 30
It could be a partitioning problem.

What's the output of fdisk -l?
 
Old 10-03-2004, 03:09 PM   #3
LavaDevil94
LQ Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 47
Maybe /proc files are growing? /proc is a virtual filesystem, but it's files can act as if they take up alot of space. Have you rebooted recently?
 
Old 10-03-2004, 03:11 PM   #4
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430

Original Poster
Rep: Reputation: 30
fdisk -l shows:

Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 4865 39078081 83 Linux
 
Old 10-03-2004, 03:15 PM   #5
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430

Original Poster
Rep: Reputation: 30
Sorry, our posts crossed.
I rebooted just the other day. I have Linux installed on /hda. Would /proc take up space on /hdb which is only for /home?
 
Old 10-03-2004, 03:55 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
For accurate count:

du -h . | sort -n <--shows each folder and size, etc. Specify exact folder where the . is or type out path to location to search.

df -h <--shows hard drive, partition layout and space taken.

And don't go by Konq's estimation.. familiarize yourself with command line tools, more reliable.
 
Old 10-03-2004, 04:52 PM   #7
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430

Original Poster
Rep: Reputation: 30
trickykid wrote:

du -h . | sort -n <--shows each folder and size, etc. Specify exact folder where the . is or type out path to location to search.

trickykid, that did it! Thank you so much!

I found an 18 GB folder in ./.kde/share/apps/k3b/temp of every .wav file I ever copied. Apparently k3b doesn't delete those temporary images, even though I set it up to do so.

and:

".. familiarize yourself with command line tools, more reliable."

This tip is definitely going into my cheat note file. Seriously. How do you remember all these things? Do you have them written down somewhere? I have a terrible time remembering formulas and commandline stuff.

Siri Amrit
 
Old 10-04-2004, 12:20 AM   #8
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Linux is all about using a command or many in series to get the output that you wanted. What I do is think of my goal and then figure out what tools I need to get there. Usually I try one command and then I try another command. I repeat this until I think I got what I wanted. Next I combine the commands with redirectors (<, I, >). Everybody has their own saying when using Linux commands.
 
Old 10-04-2004, 07:47 AM   #9
db391
Member
 
Registered: Jun 2004
Location: Britain
Distribution: Slackware
Posts: 186

Rep: Reputation: 31
that is exactly, electro, yes often in linux you cannot accomplish maintenance tasks without the commandline, it is important to learn the commands

even in windows you sometimes need the dos prompt (fdisk /mbr , ping, telnet...)
 
Old 10-05-2004, 10:27 AM   #10
tigerflag
Member
 
Registered: Aug 2002
Location: Phoenix, AZ
Distribution: PCLinuxOS 2012.08
Posts: 430

Original Poster
Rep: Reputation: 30
Thank you all. I have managed to learn a few, ("ps -aux | more" is the one I use most.) This " du " command was really helpful...

Siri Amrit
 
  


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
Thunderbird eating up space! stonecrest Linux - Software 1 10-17-2004 01:51 PM
Wine compilation eating my whole free space ivanatora Linux - General 5 08-03-2004 07:26 AM
I want to increase my Linux partition.Should I take space from a Windows partition? PrinceBalak Linux - General 1 06-25-2004 05:44 PM
Partition Out Of Space? How to resize from another partition? colelinux Linux - Newbie 6 03-16-2004 08:48 AM
Partition Free Space - Move /home to the new partition gregkise Linux - General 5 12-16-2003 10:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:20 AM.

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
Open Source Consulting | Domain Registration