LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   crazy disk usage (https://www.linuxquestions.org/questions/linux-general-1/crazy-disk-usage-324461/)

mausie 05-17-2005 02:42 PM

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

jailbait 05-17-2005 02:58 PM

"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

securehack 05-17-2005 07:56 PM

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

mausie 05-18-2005 10:14 AM

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

securehack 05-18-2005 11:03 AM

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.

mausie 05-18-2005 12:12 PM

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

securehack 05-18-2005 12:48 PM

Hmm... that's odd :scratch:
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

kimx 05-18-2005 12:48 PM

how about deleting all the files that apt downloaded to buid wine, that could save you some space.

securehack 05-18-2005 12:55 PM

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

mausie 05-19-2005 09:26 AM

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.

securehack 05-19-2005 10:25 AM

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

--Abid Kazmi

kimx 05-19-2005 11:33 AM

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.

kimx 05-19-2005 12:19 PM

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.

mausie 05-24-2005 01:42 PM

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

securehack 05-24-2005 09:37 PM

Quote:

but where?
ANSWER:
Quote:

by typing "rm -r *wine*" in the dir which I used to build wine
--Abid Kazmi


All times are GMT -5. The time now is 04:00 AM.