Gentoo Archives: gentoo-user

From: Jarry <jarry@×××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] raid1 + lvm2
Date: Sat, 10 Dec 2005 09:41:38
Message-Id: 439AA1F6.9020403@gmx.net
1 Hi,
2
3 I'm going to re-install gentoo on a small hobby-server and because
4 I need both redundancy and flexibility, I thought in addition to
5 raid1 (2x 160GB ata-disk) this time I would also use lvm2:
6
7 /dev/md0 /boot (~50MB)
8 /dev/md1 / (2GB)
9 /dev/md2 <swap> (2GB)
10 /dev/md3 lvm2 (rest for /var /tmp /usr /opt /chroot /home)
11
12 Is this generaly advisable solution (lvm2 over raid1), or is there
13 some risk in using raid1 together with lvm2 ?
14
15 One more question concerning partition type:
16 If I want to use raid1, I have to set all those 2x4 (hda+hdc) primary
17 partitions as type fd (raid autodetect). Is it not problem later for
18 lvm2 when preparing and creating volume-group? Because lvm-guide says
19 something about setting partition type to 8e (linux lvm), which I can
20 not do, if I want to use raid1...
21
22 Jarry
23 --
24 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] raid1 + lvm2 Jim Burwell <jimb@××××.cc>
Re: [gentoo-user] raid1 + lvm2 Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] raid1 + lvm2 Thomas Harold <tgh@××××××××.com>