You are not logged in.
Pages: 1
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
df output is needed here - fdisk doesn't have anything to say about disk usage.
Offline
what is the output from
# df -k
and
# cd /
# du -s * | sort -n
(the second one will take a while to run)
Offline
[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
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
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
Try this:
sudo rm /etc/mtab
then reboot and try df -k again
Offline
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. We won't know for sure until we get a df output.
Last edited by beretta (2008-04-26 14:48:31)
Offline
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
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
Oh, stupid me:rolleyes:
Most have missed a 0 when I created the partitions. Well, back to reinstalling then.
Offline
You might want to consider using LVM, helps in such cases, or when a partition grows larger then one expected.
Offline
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
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
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
Pages: 1