Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] separate / and /usr to require initramfs 2013-11-01
Date: Sat, 28 Sep 2013 08:42:16
Message-Id: 52469659.8040003@gmail.com
In Reply to: Re: [gentoo-user] separate / and /usr to require initramfs 2013-11-01 by Alan McKinnon
1 Alan McKinnon wrote:
2 > On 28/09/2013 00:57, Dale wrote:
3 >> Bruce Hill wrote:
4 >>> On Fri, Sep 27, 2013 at 05:33:02PM -0500, Dale wrote:
5 >>>> I'm hoping that since I use eudev, I don't have to worry about this.
6 >>>> If I do, this could get interesting, again. Dale
7 >>> Do you have /usr separate from / ?
8 >> Yep. From my understanding tho, eudev is not supposed to be affected by
9 >> this problem tho.
10 >>
11 >> One reason for this being seperate, I have / and /boot on a regular
12 >> partition and everything else on LVM. Sometimes that /usr gets a bit
13 >> full. It's not so bad after I moved all the portage stuff out and put
14 >> it in /var. Now I have to watch /var too. lol
15 >
16 > Ask yourself this question:
17 >
18 > Why do you have /usr separate?
19 >
20 > No really, *why exactly*?
21 >
22 > One of the very first things you do with /usr at boot time is mount it,
23 > and from then on you use it exactly as if it were always on / anyway.
24 > I'll bet that since you moved all of portage out, your mount options and
25 > fs configs are the same between the two anyway. So what exactly does a
26 > separate /usr get you on a stabd-alone workstation buy you? I've been
27 > looking at this for ages and conclude it buys me nothing but pain. They
28 > don't even change much if /home and /var are elsewhere, so guage your
29 > size right (easy to do) and never need look at it again.
30 >
31 > Separate /usr for the most part is an ancient artifact from decades ago.
32 > It's useful in edge cases but not in the general case with modern
33 > hardware. So why do people do it? I reckon it's inertia and nothign
34 > more. Which is kinda silly as inertia ignores everythign else in the
35 > environment that is changing around you (and *that* is a given).
36 >
37 > So unless you have something exotic like /usr mounted off a central
38 > server, or want / on LVM (and your grub doesn't support lvm), you are
39 > going to need an initramfs anyway to get around the circular bootstrap
40 > problem.
41 >
42 > I say people should make their lives easier and just stick /usr on the
43 > same volume as / and be done with it. It removes a whole lot of painful
44 > scenarios that are going to keep on biting you as the rest of the world
45 > moves on and progresses
46 >
47
48 I answered that question already. I have / and /boot on regular
49 partitions and EVERYTHING else on LVM. That includes /home, /usr and
50 /var.
51
52 /dev/sda6 on / type ext4 (rw,commit=0)
53 /dev/sda1 on /boot type ext2 (rw)
54 /dev/mapper/OS-usr on /usr type ext4 (rw,commit=0)
55 /dev/mapper/OS-var on /var type ext4 (rw,commit=0)
56 /dev/mapper/home-home on /home type ext4 (rw,commit=0)
57 /dev/mapper/backup-backup on /backup type ext4 (rw,commit=0)
58
59 I also have the backup partition but that is only needed when I make
60 one. At any rate. I don't have some exotic hardware like a bluetooth
61 keyboard and other such needless stuff.
62
63 As someone else posted, some folks have different mount options for /usr
64 that they do for others partitions. For me, I just want to keep it
65 seperate so that I can adjust things with LVM if I need to. Something I
66 have done a couple times I might add just since I started using LVM a
67 few years ago.
68
69 Dale
70
71 :-) :-)
72
73 --
74 I am only responsible for what I said ... Not for what you understood or how you interpreted my words!

Replies

Subject Author
Re: [gentoo-user] separate / and /usr to require initramfs 2013-11-01 Bruce Hill <daddy@×××××××××××××××××××××.com>