LinuxQuestions.org
Visit Jeremy's Blog.
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 01-31-2009, 03:35 PM   #1
Kevin T
LQ Newbie
 
Registered: Jan 2009
Posts: 5

Rep: Reputation: 0
Out of disk space, despite an 8GB partion


I'm brand new to Linux so apologies for my ignorance (although I guess this is the newbies forum)

I wanted to try Linux out, so downloaded the Fedora 10 distro. I did some reading and learned that you need a minimum of 4GB to run it. I freed up just over 8GB of space using Vista's Partitioning tool, and a friend of mine, who is somewhat of a Linux guru, suggested that this would be 'loads'. Somebody else then told me they happily run Fedora with a 6GB partition.

So anyway, I load it all up no problem but my wireless card doesn't work. I'm told this is a common problem and was given a link with instructions to installing the Broadcom drivers.

So I run this command in terminal

su -c 'rpm -Uvh http://download1.rpmfusion.org/free/...ble.noarch.rpm http://download1.rpmfusion.org/nonfr...ble.noarch.rpm'

And it does some stuff

Then I run these commands

su -
yum update
yum install broadcom-wl

And it downloads about 400MB of updates. Then when it tried to install the driver, I get an out of diskspace error.

Sure enough, the drivers require 50MB and I'm only showing about 20MB free. How can this be? This is a fresh build, so I've not installed anything else. I can only assume that it's not using all of the partition I set aside for it. A friend suggested I use the 'df -k' command to get a list of my partitions. This is what it comes up with

[kevin.thompson@localhost ~]$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
4257464 4029260 11936 100% /
/dev/sda5 202219 13674 178105 8% /boot
tmpfs 1032260 76 1032184 1% /dev/shm
/dev/sda3 54355924 30104060 24251864 56% /media/DATA
/dev/sda2 45973216 26333928 19639288 58% /media/ACER
[kevin.thompson@localhost ~]$

I'm assuming the top partition is the Linux one, and sure enough it only seems to be 4GB, rather than 8GB.

Can anyone shed any light on this?

(Sorry for the essay by the way)
 
Old 01-31-2009, 03:46 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
can you actually use
Code:
df -h
this will print it out as human readable. you may also want to use the du command to find out where your space has gone.
Code:
du -h -s /usr/
would give you the total size of /usr/ in human readable size or you can get a print out of your whole system by doing
Code:
du -h --max-depth=1 /

Last edited by jstephens84; 01-31-2009 at 03:47 PM.
 
Old 01-31-2009, 03:51 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
One possible solution is to eliminate /boot as a separate partition. You are only using 8% of /boot so if you moved /boot into your / partition and combined the / and /boot partitions you would pick up some usable free space.

Another place where you might gain some space is in your yum cache. Yum saves the rpm packages that it installs in /var/cache/yum. The only purpose the cache serves is that it saves downloading the rpm packages again if for some reason you need to reinstall them. Use the du command to see how much space the yum cache is using. You might be able to pick up significant free space by deleting the yum rpm packages.

du -sh /var/cache/yum

----------------
Steve Stites

Last edited by jailbait; 01-31-2009 at 04:40 PM.
 
Old 01-31-2009, 04:04 PM   #4
Kevin T
LQ Newbie
 
Registered: Jan 2009
Posts: 5

Original Poster
Rep: Reputation: 0
As requested

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
4.1G 3.9G 6.2M 100% /
/dev/sda5 198M 14M 174M 8% /boot
tmpfs 1009M 76K 1008M 1% /dev/shm
/dev/sda3 52G 29G 24G 56% /media/DATA
/dev/sda2 44G 26G 19G 58% /media/ACER

When I try to run the other commands I get 'permission denied'
 
Old 01-31-2009, 04:52 PM   #5
Woodypecker
Member
 
Registered: Mar 2006
Location: Austria
Distribution: Mandriva/Debian
Posts: 104

Rep: Reputation: 17
Mangling /boot with / won't get you anything but dipsh*t (you'd have to backup /, delete it, enlarge /boot to fill the place, mkdir /boot and move boot files there, restore / backup, edit /etc/fstab to renumber all the partitions, change grub config, reinstall grub).
Most probably you have logfiles in /var directory filling up the partition.
Run "du -h /var/log". You may want to cat /dev/null>/var/log/syslog or another big logfile,
as a emergency measure. Afterwards, a restart of syslogd is necessary (service syslog restart).
Later on have a look for what fills them so rapidly.
A good candidate for moving out of / is /usr/share/doc.
 
Old 01-31-2009, 05:05 PM   #6
Kevin T
LQ Newbie
 
Registered: Jan 2009
Posts: 5

Original Poster
Rep: Reputation: 0
More to the point, why is the partition 4GB and not 8GB. It is something to do with a swap file or something?
 
Old 01-31-2009, 05:06 PM   #7
Kevin T
LQ Newbie
 
Registered: Jan 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Also can I delete the partitions in Vista, and start again from scratch without first removing GRUB? Or will that screw up my Vista boot?
 
Old 01-31-2009, 05:10 PM   #8
Ome_Roel
LQ Newbie
 
Registered: Sep 2007
Posts: 9

Rep: Reputation: 1
Goodevening, you could check your /tmp directory.

Yours kindly Roel
 
Old 01-31-2009, 05:12 PM   #9
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
Quote:
Originally Posted by Kevin T View Post
Also can I delete the partitions in Vista, and start again from scratch without first removing GRUB? Or will that screw up my Vista boot?
If your machine is currently booting properly to both Windows and Linux, you might want to consider leaving the /boot partition as-is. The key thing to avoiding Windows booting issues when removing Linux is to first boot into Windows and run fixmbr. Othewise, you may wind up with a machine with no Linux and no boot to Windows other than with your emergency boot disk or install disk.
 
Old 01-31-2009, 05:39 PM   #10
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by Kevin T View Post
As requested

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
4.1G 3.9G 6.2M 100% /
/dev/sda5 198M 14M 174M 8% /boot
tmpfs 1009M 76K 1008M 1% /dev/shm
/dev/sda3 52G 29G 24G 56% /media/DATA
/dev/sda2 44G 26G 19G 58% /media/ACER

When I try to run the other commands I get 'permission denied'
I would run the other command as root.
 
Old 02-01-2009, 08:05 AM   #11
Kevin T
LQ Newbie
 
Registered: Jan 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I decided to reinstall fedora from scratch. I selected custom partioning and sure enough it had set up a 4gb swap partition. After some fiddling, i've managed to install with a smaller swap partition and now i've got 2gb of free space. Still got my wireless problem but that's for another thread!
 
  


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
Dedicated server exceeded disk space at 4.8GB the182guy Linux - General 4 01-09-2009 08:45 AM
How much space can a swap partion get? hondo Linux - General 5 05-18-2007 03:18 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


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