You are not logged in.

#1 2011-03-09 04:35:35

zizuno
Member
Registered: 2010-11-18
Posts: 5

Insufficient space

This is a strange issue. Basically in any folder besides my /media or /home, I run into the issue of 'Insufficient space' when trying to save a file or make a new folder without root. But when I sudo -s, I am able to make and save the file.

I tried google, but no help on the specific issue. Anyone know what the heck is going on?

[root@myhost ron]# df -h
Filesystem            Size  Used Avail Use% Mounted on
udev                   10M  216K  9.8M   3% /dev
/dev/sda3             7.3G  7.2G     0 100% /
shm                   4.0G   76K  4.0G   1% /dev/shm
/dev/sda4             140G  7.9G  125G   6% /home
/dev/sda1              99M   16M   79M  17% /boot
/dev/sdb7              98G  1.7G   96G   2% /media/7646FA3A4AD3318A
/dev/sdb5             1.3T  161G  1.2T  13% /media/7E98E6F798E6AD39

[root@myhost ron]# du / -hx --max-depth 1
4.7G    /usr
1.0K    /boot
260M    /root
223M    /opt
9.9M    /sbin
5.5M    /bin
4.0K    /mnt
48K    /media
1.7G    /var
0    /proc
16K    /lost+found
0    /sys
94M    /lib
1.5M    /srv
0    /dev
4.0K    /home
16M    /etc
4.0K    /lib64

Edit: I purged pacman and gained ~500MB of useable space. Should I just increase my '/' size?

Last edited by zizuno (2011-03-09 04:46:07)

Offline

#2 2011-03-09 06:10:21

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Insufficient space

yes. use Gparted live CD to increase the size of the root. Make sure you back everything up first


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-03-09 09:03:07

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Insufficient space

ext3 and ext4 (IIRC) have by default 5% of the space reserved to root, which would explain why it works with sudo.

Offline

#4 2011-03-09 13:38:15

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Insufficient space

7.4gb should be enough for most systems, if you don't do things like compiling in /tmp, and if you use logrotate to avoid 5gb log files etc,
Edit: btw, did you -Sc or -Scc?

Last edited by Mr.Elendig (2011-03-09 13:42:55)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB