Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] migrating disks (from mounts to disklabels
Date: Fri, 19 Nov 2010 09:05:25
Message-Id: 201011191104.26326.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] migrating disks (from mounts to disklabels by Walter Dnes
1 Apparently, though unproven, at 03:44 on Friday 19 November 2010, Walter Dnes
2 did opine thusly:
3
4 > On Wed, Nov 17, 2010 at 10:20:52PM -0600, Dale wrote
5 >
6 > > This is mine and it worked when I rebooted a bit ago.
7 > >
8 > > LABEL=boot /boot ext2 noatime 1 2
9 > > LABEL=root / reiserfs defaults 0 1
10 > > LABEL=swap none swap sw 0 0
11 > > LABEL=portage /usr/portage ext3 defaults 0 1
12 > > LABEL=home /home reiserfs defaults 1 1
13 > > LABEL=data /data reiserfs defaults 0 1
14 > >
15 > > I use a variety of file systems don't I? lol I hope that helps.
16 >
17 > I have my own weird setup that optimizes disk usage, without LVM. It
18 > consists of a 256 *MEGA*byte / partition (ext2fs), some swap, and the
19 > rest of the drive is one big reiserfs3 partition mounted as /home.
20 > /opt, /var, /usr/, and /tmp physically reside on the big /home
21 > partition, but are bindmounted into the / partition.
22 >
23 > Device Boot Start End Blocks Id System
24 > /dev/sda1 1 121601 976760001 5 Extended
25 > /dev/sda5 1 33 265009+ 83 Linux
26 > /dev/sda6 34 1209 9446188+ 82 Linux swap /
27 > Solaris /dev/sda7 1210 121601 967048708+ 83 Linux
28 >
29 > /dev/sda5 / ext2 noatime,nodiratime,async
30 > 0 1 /dev/sda7 /home reiserfs
31 > noatime,nodiratime,async,notail 0 1 /home/bindmounts/opt /opt auto
32 > bind 0 0 /home/bindmounts/var /var
33 > auto bind 0 0 /home/bindmounts/usr /usr
34 > auto bind 0 0 /home/bindmounts/tmp
35 > /tmp auto bind 0 0 /dev/sda6
36 > none swap sw 0 0
37
38
39 Let me optimize that for you a little bit more:
40
41 A single 1T reiser3 partition mounted at /
42
43 This will optimize away the small performance loss introduced by that (empty)
44 / on ext2
45
46 Seriously dude, this looks like a dumb scheme that gives you warm and fuzzies
47 but doesn't actually accomplish anything except increased complexity.
48
49 Feel free to publish verifiable metrics to back up your case.
50
51
52 --
53 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] migrating disks (from mounts to disklabels Marius Vaitiekunas <mariusvaitiekunas@×××××.com>
Re: [gentoo-user] migrating disks (from mounts to disklabels Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] migrating disks (from mounts to disklabels Walter Dnes <waltdnes@××××××××.org>