LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-17-2005, 02:42 PM   #1
mausie
Member
 
Registered: Sep 2003
Posts: 51

Rep: Reputation: 15
crazy disk usage


Hi guys,

2 weeks i ago i installed ubuntu, all fine and took like 800mb. atm i'm on 3,2 GB usage. i totally don't get it:/
any1 know which folders i should look where might be files that shouldn't be saved?
last commands ive used were:

apt-get build-dep wine
apt-get --build source wine
dpkg -i wine*.deb

that stuff all went wrong, and couldnt login into my account anymore caus my partition was full. i deleted some Wine folders in /home/ and could login again.
But this isnt correct. 3,2 GB in use. there must be something using it that shouldn't

can any1 help?

maus
 
Old 05-17-2005, 02:58 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
"i deleted some Wine folders in /home/ and could login again.
But this isnt correct. 3,2 GB in use. there must be something using it that shouldn't"

You should try deleting wine using apt. That should clean out everything that you put on the partition when you tried to install wine. Section 6 of this manual tells you how to clean things up.

http://www.debian.org/doc/manuals/ap.../index.en.html

-----------------------------
Steve Stites
 
Old 05-17-2005, 07:56 PM   #3
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Rep: Reputation: 30
A better way would be to use the "df" command. Use it with the -h command.

Code:
df -h
Else, look at the man pages or type in df --help in shell.

Sincerely,
Abid Kazmi
 
Old 05-18-2005, 10:14 AM   #4
mausie
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
Don;t see delete info on section 6
i tried searching for wine files. but nothing found.

i did df-h.
But what i have to do with that information?

this is what it says:

Filesystem Size Used Avail Use% Mounted on
/dev/hda2 3.5G 2.6G 704M 80% /
tmpfs 253M 0 253M 0% /dev/shm
/dev/hda1 16G 6.4G 9.5G 41% /mnt/winc
/dev/hda4 9.1G 9.0G 91M 100% /mnt/data
/dev 3.5G 2.6G 704M 80% /.dev
none 5.0M 2.8M 2.3M 56% /dev

Last edited by mausie; 05-18-2005 at 10:15 AM.
 
Old 05-18-2005, 11:03 AM   #5
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Rep: Reputation: 30
What I meant when I said to use the "df -h" command was to see WHERE most usage was taking place.

Code:
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 3.5G 2.6G 704M 80% /
tmpfs 253M 0 253M 0% /dev/shm
/dev/hda1 16G 6.4G 9.5G 41% /mnt/winc
/dev/hda4 9.1G 9.0G 91M 100% /mnt/data
/dev 3.5G 2.6G 704M 80% /.dev
none 5.0M 2.8M 2.3M 56% /dev
#It obviously says you are using 2.6GB of your storage space. Now I am not sure what the command is for finding WHICH files take up the most space so they could be deleted. I think the command is du / -h. check man du.
 
Old 05-18-2005, 12:12 PM   #6
mausie
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
ye that's because I deleted some games. So it's a bit better now.
Command didn't work, and i'm pretty newbie

any1 able to help me with steps, or point me in right direction?

maus
 
Old 05-18-2005, 12:48 PM   #7
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Rep: Reputation: 30
Hmm... that's odd
Ubuntu does use the command du. It shows the disk usage. Maybe this page will help you with this situation.

http://ubuntuforums.org/showthread.php?t=29907

--Abid Kazmi
 
Old 05-18-2005, 12:48 PM   #8
kimx
Member
 
Registered: Dec 2004
Location: Denmark
Distribution: Yoper 2.2, Source Mage, Ubuntu 5.04, Slackware 10.1
Posts: 70

Rep: Reputation: 16
how about deleting all the files that apt downloaded to buid wine, that could save you some space.
 
Old 05-18-2005, 12:55 PM   #9
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Rep: Reputation: 30
I've installed wine, winex, and cedega before. They barely take up any space and work just fine. Take kimx's advice and delete the files apt created to install wine.

--Abid Kazmi
 
Old 05-19-2005, 09:26 AM   #10
mausie
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
Ye well i think ive done that. deleted big wine folders from /home/ with alota numbers behind it.
But that wasn't that big as my usage raised.

I have no idea where to look else to find these files.
 
Old 05-19-2005, 10:25 AM   #11
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Rep: Reputation: 30
It doesn't always have to be installed in /home dir. It could be in /usr and / dirs.

--Abid Kazmi
 
Old 05-19-2005, 11:33 AM   #12
kimx
Member
 
Registered: Dec 2004
Location: Denmark
Distribution: Yoper 2.2, Source Mage, Ubuntu 5.04, Slackware 10.1
Posts: 70

Rep: Reputation: 16
I just tried the same commands on my system, and the build dir "/home/*/wine-0.0.20050310" used up my 1004M home partition, so you should gain a lot of space by removing that, I'l try to build using my main partition and see how much space it takes up.
 
Old 05-19-2005, 12:19 PM   #13
kimx
Member
 
Registered: Dec 2004
Location: Denmark
Distribution: Yoper 2.2, Source Mage, Ubuntu 5.04, Slackware 10.1
Posts: 70

Rep: Reputation: 16
In total installing wine the same way as you did, gave me 1G more on my harddrive, but I had mos of the dependensies installed before, so on a fresh system the increse would have been much larger. And I cold remove 800M by typing "rm -r *wine*" in the dir which I used to build wine. But I think that most of the space that were used on your system came from wine's dependensies, which as far as I remember includes some kde libs.
 
Old 05-24-2005, 01:42 PM   #14
mausie
Member
 
Registered: Sep 2003
Posts: 51

Original Poster
Rep: Reputation: 15
but where?
thinking of just formatting, but that doesn't make me very happy.. hehe
I searched almost all folders manually, can't find any stuff.don't know much about linux system files etc so dunno what what is
kinda sux

guess this topic is getting kinda useless, sorry
 
Old 05-24-2005, 09:37 PM   #15
securehack
Member
 
Registered: Sep 2003
Location: United States
Distribution: Slackware 10.1, Debian 3.0, WinXProSP1, Fedora Core 3
Posts: 425

Rep: Reputation: 30
Quote:
but where?
ANSWER:
Quote:
by typing "rm -r *wine*" in the dir which I used to build wine
--Abid Kazmi
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Usage karan101 Linux - Software 8 10-17-2004 03:59 AM
AS 2.1 disk usage buck2bcr Red Hat 4 03-23-2004 09:50 AM
101% disk usage on an empty disk tsiuser Linux - Software 3 01-28-2004 06:24 PM
Disk Usage LinuxTiro Linux - Newbie 6 09-03-2003 09:12 PM
crazy root disk screwed me over? wwwc21 *BSD 2 08-02-2003 05:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:29 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