Gentoo Archives: gentoo-user

From: "Michael [Plouj] Ploujnikov" <ploujj@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] root on EVMS, evms_activate, checkroot, rw/ro mount, gah
Date: Sat, 14 Oct 2006 22:23:58
Message-Id: 18e575130610141518l34221691r29813a5543998304@mail.gmail.com
In Reply to: Re: [gentoo-user] root on EVMS, evms_activate, checkroot, rw/ro mount, gah by Richard Fish
1 On 10/14/06, Richard Fish <bigfish@××××××××××.org> wrote:
2 > On 10/13/06, Michael [Plouj] Ploujnikov <ploujj@×××××.com> wrote:
3 > > I'll start by presenting some info about my system. You'll find the
4 > > actual problems (numbered) in the middle of this message.
5 > >
6 > > I have my root file system on RAID 1
7 > > I use an initrd image to get my system going. The image was simply taken from:
8 > > http://sourceforge.net/project/showfiles.php?group_id=25076
9 > >
10 > > I have added:
11 > >
12 > > mount / -n -o remount,rw
13 > > [[ -z ${CDBOOT} ]] && start_addon evms
14 >
15 > Hmm, why was this necessary?
16 I just got that from:
17 http://gentoo-wiki.com/HOWTO_setup_evms
18 (I'll try to fix the HOWTO once I figure out how to setup my system)
19
20 > In baselayout 1.12.5-r2,
21 (thankfully that's the baselayout version I have)
22
23 > the checkroot
24 > script will already remount the root filesystem as rw if necessary,
25 > and the /sbin/rc script will do a "start_addon evms" after starting
26 > checkroot and modules, if evms appears in RC_VOLUME_ORDER in
27 > /etc/conf.d/rc.
28 >
29 > > to /etc/init.d/checkroot
30 > > and removed anything evms related from /etc/init.d/checkfs
31 >
32 > My checkfs doesn't have anything related to evms to begin with...
33 Yeah, neither does mine. I was just referring to what the wiki HOWTO said.
34
35
36 >
37 > > mount: /dev/evms/system already mounted or / busy
38 > > mount: according to mtab, rootfs is already mounted on /
39 >
40 > Could it have already been activated by the initrd?
41 I'm not sure what you mean by activated. I think this message results
42 from this code:
43
44 mount / -n -o remount,rw
45
46 which tries to remount root read-write. If you mean that root was
47 already mounted by the initrd, you are right.
48
49
50 > > 2. It gets worse because I see:
51 > > "Activating EVMS" at least once after the checkroot script finishes running.
52 > >
53 > > I cannot find where this might be coming from.
54 >
55 > Probably because you have evms in RC_VOLUME_ORDER in /etc/conf.d/rc,
56 > which causes /sbin/rc to do a "start_addon evms" right after
57 > checkroot.
58
59 Actually, "evms" is all I have in RC_VOLUME_ORDER in /etc/conf.d/rc
60
61
62 I'll try to remove the EVMS activation from checkroot now and see how
63 that works.
64
65
66
67 Thanks.
68 --
69 () ASCII Ribbon Campaign
70 /\ - against HTML mail & vCards
71 --
72 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] root on EVMS, evms_activate, checkroot, rw/ro mount, gah "Michael [Plouj] Ploujnikov" <ploujj@×××××.com>