Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
Date: Sun, 29 Sep 2013 21:20:27
Message-Id: 52489883.3090408@gmail.com
In Reply to: Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01 by Tanstaafl
1 On 29/09/2013 22:51, Tanstaafl wrote:
2 > Weird - I thought I replied to this a while ago (I know I started one),
3 > but it disappeared, and is not in my Sent folder and it never made it to
4 > the list...
5 >
6 > On 2013-09-29 2:55 PM, William Hubbs <williamh@g.o> wrote:
7 >> I am the OpenRC author/maintainer and a member of base-system. I can
8 >> tell you that we are not discussing forcing systemd on everyone in
9 >> Gentoo Linux as a default init system. I can also tell you that I am not
10 >> aware of the Gentoo systemd team discussing this. Even if they were, a
11 >> distro-wide change like this would have to be brought before the
12 >> Council.
13 >
14 > Thanks very much for this William. I will take you at your word and will
15 > stop worrying about the whole systemd thing (unless/until evidence
16 > warrants revisiting it)...
17 >
18 > So, now I just have to get up the nerve to attempt the merging of my LVM
19 > based /usr into my / so I don't have to worry about an initramfs.
20 >
21 > There are no technical reasons it shouldn't work - my / is 19G, with
22 > 18GB free right now. My /usr currently takes up 13GB, so merging should
23 > leave mw with 5GB free...
24 >
25 > Does anyone see an issue with a 19GB / with merged /usr and only 5GB
26 > free? Was I correct in my statement to Dale that there is nothing used
27 > by or stored in /usr that could consume that last 5GB and crash my
28 > server (ie, like a runaway log can fill up /var)?
29 >
30 > Thanks again...
31 >
32
33 Correct on all counts. This laptop runs KDE, here's my breakdown:
34
35 # du -sh /usr
36 13G /usr
37
38 # du -sh /usr/*
39 12K /usr/INSTALL
40 104K /usr/Licenses_for_Third-Party_Components.txt
41 426M /usr/bin
42 12M /usr/gnu-classpath-0.98
43 460M /usr/include
44 0 /usr/lib
45 525M /usr/lib32
46 2.8G /usr/lib64
47 134M /usr/libexec
48 512K /usr/local
49 38M /usr/sbin
50 3.6G /usr/share
51 4.9G /usr/src
52 0 /usr/tmp
53 11M /usr/x86_64-pc-linux-gnu
54
55 Those numbers are not likely to change much with time, with one exception:
56
57 /usr/src
58
59 That can get real big real quick if you don't clean up kernel sources
60 often. Ideally, you'd make that a suitably sized LV and mount it seperately.
61
62 The other space consumer is /usr/share with it's many documentation
63 files. But those too tend to be stable once you have everything
64 installed. 5G free out of 19G is ~75% space in use which is perfectly
65 acceptable for this case.
66
67 Regular monitoring of the state of your machines will tell you if space
68 usage increases so you can investigate and deal with it timeously.
69
70 I assume you long since moved portage and it's storage directories out
71 of /usr into /var?
72
73
74
75 --
76 Alan McKinnon
77 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01 Tanstaafl <tanstaafl@×××××××××××.org>