public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: gentoo-amd64@lists.gentoo.org
Subject: [gentoo-amd64]  Re: Root on Raid and LVM - Solved
Date: Tue, 01 Nov 2005 05:41:48 -0700	[thread overview]
Message-ID: <pan.2005.11.01.12.41.47.97823@cox.net> (raw)
In-Reply-To: 4366CA93.3020400@nikon-sys.co.jp

Edward Middleton posted <4366CA93.3020400@nikon-sys.co.jp>, excerpted
below,  on Tue, 01 Nov 2005 10:53:23 +0900:

> Going on what you said before the /etc/conf.d/rc variable should be set
> to RC_VOLUME_ORDER="lvm" if you are using raidlvm.  There is a bug in
> the /lib/rcscripts/addons/lvm-stop.sh which assumes that mount returns
> the symbolic link /dev/[volume group]/[logical partition] but it
> actually returns the actual device /dev/mapper/[volume group]-[logical
> partition].  The following path patch fixes this.

[patch snipped]

Interesting, especially since I have lvm/dm merged in preparation for
going RAID later this week. Thanks!

You didn't mention what package that belonged to, or what version you have
merged.  However, I checked here and it looks as the patch says the
original does, and here's what I have:

$ equery b /lib/rcscripts/addons/lvm-stop.sh
[ Searching for file(s) /lib/rcscripts/addons/lvm-stop.sh in *... ]
sys-fs/lvm2-2.01.14 (/lib/rcscripts/addons/lvm-stop.sh)

So... that script is part of sys-fs/lvm2, version 2.01.14, here.

$cat /p/sys-fs/lvm2/lvm2-2.01.14.ebuild|grep amd64
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"

So... that ebuild is keyworded ~amd64.  What version are you running,
stable (equery l -p says 2.01.09 is latest stable) or ~?  Have you filed a
bug on it with your patch included?

Investigating a bit more...  All versions in the tree install the same
scripts, as found in sys-fs/lvm2/files.  So, the bug would apply to all
versions in the tree.

Checking bugzilla...  I didn't see anything there that looked like this
bug, or filed by you (name or address), altho there were 118 bugs for lvm2
listed.

It appears most aren't running into this bug, as the closest bugs I see
relate to a missing xargs (xargs in /usr/bin, /usr on an lvm, so once it's
unmounted at system shutdown, xargs can't be found, so the command
using xargs in the shutdown script failed -- that set of bugs and dups
fixed), yet the number of bugs suggests there's a fair number of users.

However, this appears to depend on which /dev entry is listed in fstab to
be mounted.  Perhaps the handbook or some other Gentoo doc says to use the
one, so everybody is, and nobody has run into this assumption busting
situation yet.

Anyway, I'd certainly recommend filing the bug.  As for me personally,
I'll keep this in mind, since I'll be working with it in the next few
days.  You may have saved me a quite a bit of going nuts over this,
myself! =8^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman in
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html


-- 
gentoo-amd64@gentoo.org mailing list



  reply	other threads:[~2005-11-01 12:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-31  7:46 [gentoo-amd64] Re: Root on Raid and LVM - Solved Edward Middleton
2005-10-31  8:58 ` Duncan
2005-11-01  1:53 ` Edward Middleton
2005-11-01 12:41   ` Duncan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-11-02  2:46 Edward Middleton
2005-11-08 12:43 ` Duncan
2005-11-10  2:14 Edward Middleton
2005-11-19  1:19 ` Duncan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2005.11.01.12.41.47.97823@cox.net \
    --to=1i5t5.duncan@cox.net \
    --cc=gentoo-amd64@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox