1 |
On Friday 21 December 2007, Peter Humphrey wrote: |
2 |
> On Friday 21 December 2007 10:00:40 Galevsky wrote: |
3 |
> > I am interested in your advice [that] LVM is not the universal solution |
4 |
> > for partition management, |
5 |
> |
6 |
> In the case under discussion, namely a stable server, I wouldn't challenge |
7 |
> any advice to use LVM, but I was using it until recently on this |
8 |
> semi-experimental desktop box and found I was getting too nervous for |
9 |
> comfort. From time to time I would be tempted to give another distribution |
10 |
> a spin, and every time I did it was unable to recognise my existing |
11 |
> partitions (and therefore leave them alone). The same was true of a couple |
12 |
> of rescue CDs I tried - which of course meant I couldn't use them. |
13 |
|
14 |
The problem with some distros installation scripts is that they are trying to |
15 |
be too clever for their own good. As a result they some times behave like MS |
16 |
Windows and unless you whip them into submission they could trash your |
17 |
system! What I always do is to create the partitions and LV that I want and |
18 |
then instruct the distro in question to install itself in there. Of course |
19 |
if the distro in question does not have an LVM compatible kernel then you'll |
20 |
need to install it using a different medium (with a kernel that has all the |
21 |
necessary drivers) and untar the distro's fs into your partitions of choice. |
22 |
|
23 |
> That |
24 |
> isn't a problem now, not since I installed a small rescue system on a spare |
25 |
> disk in the same box. |
26 |
> |
27 |
> So, for an unchanging system setup, by all means use LVM; for toy boxes it |
28 |
> seems to me not to offer much advantage. |
29 |
> |
30 |
> Incidentally, I have 4 GB RAM in this dual-246 box, so I've put /tmp into a |
31 |
> tmpfs, which greatly speeds emerges. This is from /etc/fstab: |
32 |
> tmpfs /tmp tmpfs nodev,nosuid,size=6g 0 0 |
33 |
> |
34 |
> and this is from /etc/make.conf: |
35 |
> BUILD_PREFIX="/tmp/portage/build" |
36 |
> PKG_TMPDIR="/tmp" |
37 |
> PORTAGE_TMPDIR="/tmp" |
38 |
> PORTAGE_TMPFS="/dev/shm" |
39 |
> |
40 |
> The disks get a holiday (except when compiling Open Office) :-) |
41 |
> |
42 |
> -- |
43 |
> Rgds |
44 |
> Peter |
45 |
|
46 |
|
47 |
|
48 |
-- |
49 |
Regards, |
50 |
Mick |