View previous topic :: View next topic |
Author |
Message |
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Mon Nov 26, 2012 3:06 am Post subject: |
|
|
DONAHUE wrote: | It does appear that 20G was not enough in your case.
This is strange. I have 7.5 GB in a new install that includes X and Gnome and a few odds and ends.
From the chroot, running Code: | cd /
du -sh $(ls | sed -e :a -e '$!N;s/\n/ /;ta') | sort -h
| will find the directory with too much content. My results on the aforementioned new install were:
Quote: | 8.7M bin
20M boot
8.0K dev
4.0K error
71M etc
4.0K home
0 lib
5.7M lib32
78M lib64
16K lost+found
4.0K media
8.0K mnt
311M opt
4.0K proc
1.6M root
32K run
10M sbin
4.0K sys
20K tmp
6.6G usr
127M var | If you find a bloated directory, cd to it, run Code: | du -sh $(ls | sed -e :a -e '$!N;s/\n/ /;ta') | sort -h | to look for bloated subdirectory. |
OK. This is interesting.
Code: | / # du -sh $(ls | sed -e :a -e '$!N;s/\n/ /;ta') | sort -h
du: cannot access ‘proc/2389/task/2389/fd/4’: No such file or directory
du: cannot access ‘proc/2389/task/2389/fdinfo/4’: No such file or directory
du: cannot access ‘proc/2389/fd/4’: No such file or directory
du: cannot access ‘proc/2389/fdinfo/4’: No such file or directory
0 lib
0 proc
0 sys
4.0K media
4.0K opt
12K tmp
16K lost+found
16K root
28K mnt
28K run
676K dev
3.4M etc
5.7M lib32
7.8M bin
11M sbin
21M boot
53M lib64
127M var
3.9G usr
16G home
|
So it looks like var is ony using 127MB's so why the error?
Also when I drill down into home, which is listed as 16GB's, I get the following, which indicates only a couple hundred K being used. Am I missing something?
Code: | # du -sh $(ls | sed -e :a -e '$!N;s/\n/ /;ta') | sort -h4.0K lost+found
348K **** (edited for privacy)
|
|
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Mon Nov 26, 2012 3:08 am Post subject: |
|
|
Also when I do env-update to chroot I am getting space warnings.
Code: | # env-update
>>> Regenerating /etc/ld.so.cache...
/sbin/ldconfig: Writing of cache data failed: No such file or directory
Traceback (most recent call last):
File "/usr/sbin/env-update", line 34, in <module>
portage.env_update(makelinks)
File "/usr/lib64/portage/pym/portage/proxy/objectproxy.py", line 31, in __call__
return result(*args, **kwargs)
File "/usr/lib64/portage/pym/portage/util/env_update.py", line 73, in env_update
env, writemsg_level)
File "/usr/lib64/portage/pym/portage/util/env_update.py", line 336, in _env_update
outfile.close()
File "/usr/lib64/portage/pym/portage/util/__init__.py", line 1208, in close
f.close()
IOError: [Errno 28] No space left on device
Exception IOError: IOError(28, 'No space left on device') in <bound method atomic_ofstream.__del__ of <_io.TextIOWrapper name=b'/etc/profile.env.2353' mode='w' encoding='utf_8'>> ignored
|
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Nov 26, 2012 4:49 am Post subject: |
|
|
have you intentionally added anything to /home?
if not, from the chroot: will give you an idea of what is there. If of no known value will clear it out and make 16G available.
once a partition has filled, writing to any directory totally housed in that partition will fail with space warnings. _________________ Defund the FCC. |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Mon Jan 28, 2013 9:47 pm Post subject: |
|
|
OK. So I started from scratch, increased the directory to 30 GB, and still get space errors.
For example, I have a 700GB home directory and I tried to copy 100GB of data to it and it failed due to "lack of space" at about 27GB. This kept me from emerging anything else. When I deleted the data in home then the error stops but clearly this seems to show that the system doesn't understand the size of the directories even though gpart and vgscan are showing them correctly. |
|
Back to top |
|
|
Budoka l33t
Joined: 03 Jun 2012 Posts: 777 Location: Tokyo, Japan
|
Posted: Mon Feb 18, 2013 2:11 am Post subject: |
|
|
After much trial and tribulation I have a working Gentoo system on my laptop. Yahoo!!! I still have "stuff" I have to work out in terms of configuring my specific hardware but it will happen. I just wanted to thank everyone for their help. Especially The Doctor, your assistance was invaluable. Thanks. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|