linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Migrating to an LVM system (boot/root) disk
Date: Mon, 04 Jun 2001 03:11:13 +0400	[thread overview]
Message-ID: <3B1AC411.D6E307CD@tls.msk.ru> (raw)
In-Reply-To: NBBBKLKHMJHIJLHOGAOJIEANIPAA.steve.wray@the.net.nz

Steve Wray wrote:
> 
> uh?
> I really don't understand this part -- the lvm tools on my system
> work for more than one kernel, why not the tools on the init ramdrive?

I'd ask the opposite: if your initrd is for exactly ONE kernel, why
it should contain stuff for many kernels?  See below.

[]
> Whats IOP anyhow?

Don't remember exactly, or maybe even misspelled.  I mean
an lvm protocol version between kernel and userland tools
here.  In short, protocol in kernel and userland should
match or else things will not work.  Due to many protocol
changes, some lvmtools wan't work with some kernels (or
again the opposite: only a few lvm tools will work with
any given kernel).  This is a headache, and someone (Andreas
Dilger?) introduced wrapper for every lvm program, that
first asks kernel for a protocol it implements, and then
calls appropriate lvm tools from /lib/lvm-$VERSION or
something like that.  When you're in initrd, you already
know (before even that initrd was created) what version
will be used in a kernel for that you make this initrd,
and the above wrappers not needed at all, you can jjust
put appropriate lvmtools there.  Yes, you can put tools
for all versions of a protocol and use a wrapper in initrd,
but *why*?? ;)  Sed is needed to find that proto version
based on output of an utility, and used inside a wrapper.

[Please someone correct me if I'm wrong here about sed's
usage.]

Regards,
 Michael.

  reply	other threads:[~2001-06-03 23:11 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-03  2:16 [linux-lvm] Migrating to an LVM system (boot/root) disk Brian J. Murrell
2001-06-03  5:02 ` Steve Wray
2001-06-03 10:22   ` Brian J. Murrell
2001-06-03 10:59     ` Steve Wray
2001-06-03 18:27       ` Michael Tokarev
2001-06-03 21:12         ` Steve Wray
2001-06-03 23:11           ` Michael Tokarev [this message]
2001-06-04 17:34             ` Andreas Dilger
2001-06-04 18:59               ` Michael Tokarev
2001-06-04 21:03                 ` Steve Wray
2001-06-04 22:15               ` AJ Lewis
2001-06-04 23:15                 ` Michael Tokarev
2001-06-04 23:28                   ` Luca Berra
2001-06-05 16:57                     ` AJ Lewis
2001-06-05 17:55                   ` Andreas Dilger
2001-06-05 18:08                     ` Luca Berra
2001-06-04  3:40 ` Andreas Dilger
2001-06-04  6:04   ` Brian J. Murrell
2001-06-04 17:37     ` Andreas Dilger

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=3B1AC411.D6E307CD@tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=linux-lvm@sistina.com \
    /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;
as well as URLs for NNTP newsgroup(s).