Gentoo Archives: gentoo-user

From: Dirk Heinrichs <dirk.heinrichs.ext@×××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Upgrading without breaking LVM
Date: Thu, 19 Jun 2008 05:33:39
Message-Id: 200806190733.17640.dirk.heinrichs.ext@nsn.com
In Reply to: Re: [gentoo-user] Upgrading without breaking LVM by Matt Harrison
1 Am Donnerstag, 19. Juni 2008 schrieb ext Matt Harrison:
2
3 > And in reply to Alan's post, no I'm not (intentionally) useing BL2.
4 > Nothing is marked unstable on this machine with the example of a ruby
5 > module i quite like.
6 >
7 > This was the problem before, if I let emerge upgrade mdadm and lvm2, its
8 > starts trying to run BL2 initscripts and complaining that I'm not using
9 > BL2.
10
11 Well, then upgrade to BL2! And upgrade all the other packages as well. You
12 only have to keep in mind to tell the initscripts that your RAID and LVM
13 devices need to be activated, too.
14
15 This is done in /etc/rc.conf, like
16
17 rc_<this_init_script>_need="<another_init_script>"
18
19 In my case, I need to activate EVMS volumes, so I let fsck depend on it:
20
21 rc_fsck_need="evms"
22
23 On my laptop, which also has its disks encrypted, I have this:
24
25 rc_dmcrypt_need="evms"
26 rc_fsck_need="dmcrypt"
27
28 For you, this would be (guess)
29
30 rc_lvm_need="mdadm" (or whatever this init script is called)
31 rc_fsck_need="lvm"
32
33 HTH...
34
35 Dirk
36 --
37 Dirk Heinrichs | Tel: +49 (0)162 234 3408
38 Configuration Manager | Fax: +49 (0)211 47068 111
39 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
40 Wanheimerstraße 68 | Web: http://www.capgemini.com
41 D-40468 Düsseldorf | ICQ#: 110037733
42 GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net

Attachments

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

Replies

Subject Author
Re: [gentoo-user] Upgrading without breaking LVM Matt Harrison <iwasinnamuknow@×××××××××.com>