1 |
On Mon, Jul 25, 2011 at 11:02:34AM +0100, Mick wrote: |
2 |
> After some deliberation I've started emerging libreoffice. It gave the usual |
3 |
> office suite warnings at the beginning that there isn't enough space in /var |
4 |
> (I have 5.8G and it was asking for more than 7G+). |
5 |
> |
6 |
> Half way through the emerge I noticed that I have only 74M left and is going |
7 |
> down fast! O_O |
8 |
> |
9 |
> OpenOffice was able to emerge in the past using this partition size without a |
10 |
> problem. I've flushed logs and what not to free some space, but I'm thinking |
11 |
> of extending the partition somehow. I don't run LVM on this machine so that's |
12 |
> not a solution for this circumstance. |
13 |
> |
14 |
> Is there anything I can do with mount --rbind and could I do this in the |
15 |
> middle of an emerge? I have another partition with loads of space in it, but |
16 |
> it has a different fs on it (reiser4 instead of /var's ext4). |
17 |
|
18 |
You can mount --bind a dir from a large partition to /var/tmp/portage |
19 |
before an emerge, but you can't do that during a running emerge. However |
20 |
with a reasonable buildsystem, you could in theory stop the emerge, copy |
21 |
over the files in /var/tmp/portage to new location (preserving |
22 |
timestamps) and then try resuming the emerge with FEATURES="keepwork |
23 |
noclean", though i don't know if that works well with openoffice... |
24 |
|
25 |
Also you don't have to mount anything to /var/tmp/portage, you can just |
26 |
change the dir by setting PORTAGE_TMPDIR to a directory on a partition |
27 |
with enough space (I normally have my DISTDIR, PKGDIR and PORTAGE_TMP set |
28 |
on a different partition...) |
29 |
|
30 |
yoyo |