1 |
On Thu, May 8, 2008 at 12:45 PM, Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
2 |
> On Thursday 08 May 2008, Vladimir Rusinov wrote: |
3 |
> > Hello. |
4 |
> > |
5 |
> > I have the file server which exports /usr/portage/ via smbfs. It is |
6 |
> > mounted in following way. |
7 |
> > /dev/xxx to /usr/portage (~512M) |
8 |
> > /dev/yyy to /usr/portage/distfiles (~10G, 7G currently free) |
9 |
> > |
10 |
> > I'm mounting smb://fs/portage/ to /usr/portage (rw) on my clients, |
11 |
> > and when I'm trying to fetch huge package portage tells me |
12 |
> > "Insufficient space to store" (and yes, df -h shows that there are |
13 |
> > about 200 Mb free, but I'm sure that distfiles/ have enough space). |
14 |
> > How can I omit this error and force portage not to check my |
15 |
> > diskspace. |
16 |
> |
17 |
> That's a silly idea. The reason portage checks such things is to avoid |
18 |
> running a command that is guaranteed to fail, and you are trying to |
19 |
> bypass that. |
20 |
> |
21 |
> |
22 |
> What is the package you are trying to fetch, how big is it, how much |
23 |
> disk space do you have free (full df -h please) and what is the full |
24 |
> output to the console? |
25 |
|
26 |
>>> Emerging (1 of 1) games-fps/americas-army-250 to / |
27 |
!!! Insufficient space to store armyops250-linux.run in /usr/portage/distfiles |
28 |
!!! Couldn't download 'armyops250-linux.run'. Aborting. |
29 |
* Fetch failed for 'games-fps/americas-army-250' |
30 |
|
31 |
$ eix ^portage$ |
32 |
sys-apps/portage |
33 |
Installed versions: 2.2_pre5(20:42:44 28.03.2008)(-build doc |
34 |
-epydoc -linguas_pl -selinux) |
35 |
|
36 |
|
37 |
Package in about 700 Mb. |
38 |
|
39 |
On local host: |
40 |
$ df -h |
41 |
<snip> |
42 |
//fs/portage 512M 238M 275M 47% /var/lib/greenmice |
43 |
<snip> |
44 |
|
45 |
On fs: |
46 |
$ df -h |
47 |
<snip> |
48 |
/dev/mapper/sys-distfiles |
49 |
9.9G 2.3G 7.2G 24% /usr/portage/distfiles |
50 |
/dev/mapper/sys-portage |
51 |
512M 238M 275M 47% /usr/portage |
52 |
<snip> |
53 |
|
54 |
So you see, //fs/portage/ has only ~250 Mb free space, but there are a |
55 |
lot of space in distfiles (and It is not emergency it distfiles would |
56 |
be 100% used). |
57 |
Is there any way to tell the portage "Turn it off, I know what I'm doing"? |
58 |
|
59 |
Course I can make separate shares for distfiles and portage tree, but |
60 |
I don't wanna to do it for several reasons. |
61 |
|
62 |
-- |
63 |
Vladimir Rusinov |
64 |
Voronezh, Russia |
65 |
UNIX Admin @ Murano Software |
66 |
-- |
67 |
gentoo-user@l.g.o mailing list |