You are not logged in.

#1 2008-04-26 08:17:23

Ub1476
Member
Registered: 2008-01-21
Posts: 69

Filesystem full!

Alright, something really weird has happened. Every time I edit a file, install programs, even browsing the internet (cache), I get an error that the filesystem is full. I don't understand this cause the / is reiserfs with only Arch + Openbox and a few apps installed.

[kasper@myhost ~]$ sudo pacman -S opera-devel
resolving dependencies...
looking for inter-conflicts...

Targets: qt3-3.3.8-7  opera-devel-9.50-0.20  

Total Download Size:    17.07 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
error: error writing to file '/var/cache/pacman/pkg/qt3-3.3.8-7-x86_64.pkg.tar.gz': No space left on device
warning: failed to retrieve some files from extra
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2613aad0

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       16263   130632516    5  Extended
/dev/sda2   *       18357       37462   153468945    7  HPFS/NTFS
/dev/sda4           16264       18356    16812022+   b  W95 FAT32
/dev/sda5               1         127     1020064+  83  Linux # / reiserfs
/dev/sda6             128         382     2048256   82  Linux swap / Solaris #Swap
/dev/sda7             383        2932    20482843+  83  Linux #/home reiserfs

Partition table entries are not in disk order

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders

Last edited by Ub1476 (2008-04-26 08:31:23)

Offline

#2 2008-04-26 08:40:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Filesystem full!

df output is needed here - fdisk doesn't have anything to say about disk usage.

Offline

#3 2008-04-26 08:42:16

oliver
Member
Registered: 2007-12-12
Posts: 448

Re: Filesystem full!

what is the output from

# df -k 

and

# cd /
# du -s * | sort -n

(the second one will take a while to run)

Offline

#4 2008-04-26 08:52:06

Ub1476
Member
Registered: 2008-01-21
Posts: 69

Re: Filesystem full!

[kasper@myhost /]$ sudo df -k
df: cannot read table of mounted file systems
[kasper@myhost /]$ cd /
[kasper@myhost /]$ sudo du -s * | sort -n
0       lib64
0       mnt
0       proc
0       srv
0       sys
0       tmp
4       media
12      root
488     dev
1118    etc
4947    bin
8344    boot
13068   sbin
33622   opt
75545   lib
95030   var
173860  home
842987  usr

Took about 2 secons to run the last command though.

Offline

#5 2008-04-26 09:02:23

oliver
Member
Registered: 2007-12-12
Posts: 448

Re: Filesystem full!

Ub1476 wrote:

Took about 2 secons to run the last command though.

unfortunately, second one is only helpful if the first one runs successfully (which it didn't)

Does 'mount' return anything?  (you don't need to be root)

anything in /var/log/messages?

Offline

#6 2008-04-26 12:33:58

Ub1476
Member
Registered: 2008-01-21
Posts: 69

Re: Filesystem full!

The file has about 65000 characters. I'm not able to post it here. What am I supposed to look after?

Mount return nothings, except if I mount any of the Linux partition, then they're either "mounted or busy".

I looked quickly through the file and most of the content is just messages such as "found PCI device on ...", lots of ACPI messages and my network set up.

Last edited by Ub1476 (2008-04-26 12:39:27)

Offline

#7 2008-04-26 13:49:08

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: Filesystem full!

Try this:

sudo rm /etc/mtab

then reboot and try df -k again

Offline

#8 2008-04-26 14:47:58

beretta
Member
Registered: 2008-04-21
Posts: 133

Re: Filesystem full!

When you get there, my first guess would be to check the files in /var/log.  A few days ago, there was something funny in my wireless configuration that I wasn't aware of.  It kept posting a message to a couple of the computer logs.  Needless to say, leaving it on overnight and as I went to school the next day-- by the time I got to it I had filled my 10G /var partition entirely in 3 files.  You might check that.

Oh-- if this is the problem, don't delete the log files, at least immediately.  Check the tail output of them to see what the error is first-- that way we could pinpoint the problem and prevent it from happening again.

Course, could be something entirely different, too.  tongue  We won't know for sure until we get a df output.

Last edited by beretta (2008-04-26 14:48:31)

Offline

#9 2008-04-26 16:35:52

Ub1476
Member
Registered: 2008-01-21
Posts: 69

Re: Filesystem full!

Thanks for the help. df works now:

[kasper@myhost ~]$ df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda5              1019996    968312     51684  95% /
none                   1989140         0   1989140   0% /dev/shm
/dev/sda7             20482184    177948  20304236   1% /home
[kasper@myhost ~]$ cd &
[1] 3714
[kasper@myhost ~]$ cd /
[1]+  Done                    cd  (wd: ~)
(wd now: /)
[kasper@myhost /]$ cd /
[kasper@myhost /]$ sudo du -s * | sort -n
0       lib64
0       media
0       mnt
0       proc
0       srv
0       sys
4       tmp
12      root
488     dev
1130    etc
4947    bin
8344    boot
13068   sbin
33622   opt
43379   var
75545   lib
177620  home
842987  usr

It isnt telling me much.. I checked all the folders in / too, and the largest is /proc which is something around 4gb.

Last edited by Ub1476 (2008-04-26 16:36:18)

Offline

#10 2008-04-26 16:52:04

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: Filesystem full!

You have 1G root partition and are surprised that it's full, when you have X installed? Just look at what you posted: 850M in /usr - that's pretty normal when you have base and X installed.

EDIT: anyway, you can probably save a few bytes by cleaning the pacman's package cache (pacman -Sc, or pacman -Scc for complete wipeout).

Last edited by bender02 (2008-04-26 17:01:00)

Offline

#11 2008-04-26 17:09:24

Ub1476
Member
Registered: 2008-01-21
Posts: 69

Re: Filesystem full!

Oh, stupid me:rolleyes:

Most have missed a 0 when I created the partitions. Well, back to reinstalling then.

Offline

#12 2008-04-26 17:13:19

WhiteMagic
Member
Registered: 2007-03-01
Posts: 85

Re: Filesystem full!

You might want to consider using LVM, helps in such cases, or when a partition grows larger then one expected.

Offline

#13 2008-04-26 17:30:27

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: Filesystem full!

Ub1476 wrote:

Oh, stupid me:rolleyes:

Most have missed a 0 when I created the partitions. Well, back to reinstalling then.

Try the GParted LiveCD: http://gparted.sourceforge.net/index.php

Offline

#14 2008-04-26 21:25:17

sajro
Member
Registered: 2008-03-02
Posts: 56

Re: Filesystem full!

Ub1476 wrote:

Oh, stupid me:rolleyes:

Most have missed a 0 when I created the partitions. Well, back to reinstalling then.

Something similar happened to me; I partitioned during the install for ~800 MB swap, the rest /. However, I set the mountpoints incorrectly, and was running with a good 40 Gig of swap and 800MB of disk space.

I eventually reinstalled but was surprised at how much fit on that 800MB. I love how small Arch is.

Offline

#15 2008-04-26 21:44:00

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Filesystem full!

Like synthead said - just use gparted live to resize your / and other partitions accordingly. No need to reinstall, unless something's really f*cked up.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB