Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] lvm problem -- is timing?
Date: Mon, 22 Jun 2009 22:25:09
Message-Id: 20090622232502.1bdba464@zaphod.digimed.co.uk
In Reply to: Re: [gentoo-user] lvm problem -- is timing? by Maxim Wexler
1 On Mon, 22 Jun 2009 12:09:52 -0600, Maxim Wexler wrote:
2
3 > >> Necessary? Don't know but is meant to spare the SSD too much r/w
4 > >> strain.
5 > >
6 > > How? By spanning an LVM across the two, you have no control over
7 > > which is written to the most. I'd put / on the SSD then mount
8 > > write-heavy directories, like /var and /home, on the SD card. I'd
9 > > also set $PORTDIR to /var/portage (/usr is a daft place to put the
10 > > portage tree anyway).
11 >
12 > That's what I have, I think, sda1 is /boot approx 50M , sda2 is /
13 > approx 1G, then the rest of the SSD is spanned with the SD card,
14 > approx 11G, and committed to /usr /home /opt /var and /tmp just as in
15 > the gentoo doc LVM2.
16
17 How does that spare the SSD when frequently written directories,
18 like /var and /usr/portage on partially on the SSD? If you want to keep
19 them off the SSD, you must not use LVM like this.
20
21 Forget LVM, forget a separate /boot, just stick / on the SSD and mount
22 the likes of /var on the SD card. I use LVM on my Eee, but that's because
23 it has two SSDs, I wouldn't dream of including the SD card in there.
24
25
26 --
27 Neil Bothwick
28
29 C&W music backward: get yer dog, wife, job, truck, kids, and sobriety
30 back.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] lvm problem -- is timing? Maxim Wexler <maxim.wexler@×××××.com>