Gentoo Archives: gentoo-user

From: "W.Kenworthy" <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] lvm2/external partitions question
Date: Tue, 30 Aug 2005 08:29:56
Message-Id: 1125390303.20471.140.camel@localhost
In Reply to: Re: [gentoo-user] lvm2/external partitions question by Dirk Heinrichs
1 On Tue, 2005-08-30 at 09:38 +0200, Dirk Heinrichs wrote:
2 > Am Dienstag, 30. August 2005 08:49 schrieb ext W.Kenworthy:
3 > > Comments inline:
4 > >
5 > > moriah ~ # df -h
6 > > Filesystem Size Used Avail Use% Mounted on
7 > > udev 252M 2.6M 249M 2% /dev
8 >
9 > Hmm, mine takes 116k, how comes your /dev uses 2.6M?
10 >
11 everything thats not on a LVM volume sits here. the biggest
12 is /root/.ccache (<800M, easily moved elsewhere) and /lib/modules
13
14 > > cachedir 3.8G 2.2G 1.6G 59% /lib/splash/cache
15 >
16 > This looks to be the same as /, what is it good for, could you explain this?
17 >
18 Its used by fbsplash - never looked at why
19
20 > > /dev/vg1/usr 32G 5.9G 27G 19% /usr
21 > > /dev/vg1/var 48G 2.3G 46G 5% /var
22 >
23 > I doubt you'll ever get them filled.
24 >
25 I have filled them in the past: my desktop is currently sitting at 74%
26 for both, but I recently went mad archiving to make room.
27
28 > > /dev/vg1/tmp 16G 33M 16G 1% /tmp
29 >
30 > I use tmpfs for this, but that really depends.
31 >
32 I have done that in the past - but I found sometimes I just had to have
33 the room (zipping 2G plus archives for instance)
34
35 > > /dev/vg1/home 77G 26G 52G 34% /home
36 >
37 > As said before I prefer per-user volumes (and use the automounter to mount
38 > them on demand).
39 >
40 extra complexity - I dont need remote mounts, and I am the main user.
41 If you use an automount on the same machine Ive gotta ask "why bother".
42 In my experience automount is just another thing that can and sometimes
43 does go wrong so it has to be justified.
44
45 Experience shows me that a single partition is almost maintenance free.
46 If you fill a disk, it does come to a halt but its easily fixed. Ive
47 found inadequate a swap more serious problem.
48
49 Ive found that maintenance usually occurs far more often on
50 multi-partition systems simply because space that could be used is not
51 accessible. Multi-partitions on the other hand always waste space
52 necessitating solutions like LVM. For me LVM gives the advantage in
53 that I can add space (extra disks) whenever I like and fill it without
54 having to go through major pain. In the light of experience, I am not
55 sure I will go for multi-partitions on my next server as laptops/small
56 desktop systems I run/have run seem better without it, but I will
57 definitely be going LVM. I am sure that if I had a number of regular
58 users, a separate /home partition wold be useful but I think that the
59 old idea of partitioning everything is actually more wasteful/nearly
60 useless on modern systems.
61
62 BillK
63
64 --
65 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] lvm2/external partitions question Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>