Linux LVM users
 help / color / mirror / Atom feed
From: Andres Salomon <dilinger@mp3revolution.net>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Re: device-mapper transition
Date: Fri Oct 11 17:09:53 2002	[thread overview]
Message-ID: <20021011220839.GA8694@chunk.voxel.net> (raw)
In-Reply-To: <20021011090446.GA5506@sparcbox.net>

We should probably have lvm2 tools check the driver (and libdevmapper)
version after processing arguments.  So, after making sure the user
doesn't just want to run vgchange --help, vgchange should check to make
sure that
a) there _is_ a version of dm in the kernel
b) the version in the kernel is compatible w/ it

This would lead to some better error messages, and hopefully less
questions.  Instead of:
[dilinger@wax tools]$ sudo vgchange -a y
  No volume groups found

Perhaps:
[dilinger@wax tools]$ sudo vgchange -a y
  Error: device-mapper driver not found; support must be compiled into
  the kernel!
[dilinger@wax tools]$ sudo vgchange -a y
  Error: the version of device-mapper in the kernel is incompatible with
  this lvm package; please upgrade device-mapper.

Support is already in the kernel and libdevmapper for driver version
querying; should be just an issue of adding the check to the lvm2 tools.


On Fri, Oct 11, 2002 at 02:04:46AM -0700, Steven Stillaway wrote:
[...]
> 
> The only really tricky bit has been the fact that the
> lvm tools (in particular vgscan) are completely
> different between the two version.  Actually LVM 2 just
> seems to have one tool with a lot of symlinks.
> 
> So when I switch from 2.4.19 w/ LVM 1 to 2.5.41 w/
> LVM2 I have to make sure to switch from one vgscan to
> the other.
> 
> The obviously solution is to upgrade my 2.4.19 to 
> LVM2, but not tonight -- it is late.
> 
> If I notice anything I will let you know.  If you
> have any questions or want some data from my test
> box please let me know.
> 
> Off to bed now -- later
> 
> --
> 
> Steven Stillaway
> steve@stillaway.net
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 
It's not denial.  I'm just selective about the reality I accept.
	-- Bill Watterson

  parent reply	other threads:[~2002-10-11 17:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1034276879.2396.11.camel@mars.goatskin.org>
2002-10-11  2:53 ` [linux-lvm] Re: device-mapper transition Joe Thornber
2002-10-11  4:05   ` Steven Stillaway
2002-10-11  4:25     ` [linux-lvm] device-mapper & proc Steven Stillaway
2002-10-11  4:48       ` Joe Thornber
2002-10-11  4:32     ` [linux-lvm] Re: device-mapper transition Joe Thornber
2002-10-11 17:09     ` Andres Salomon [this message]
2002-10-11 18:09       ` Alasdair G Kergon
2002-10-14  2:59         ` Heinz J . Mauelshagen
2002-10-12 12:30   ` Steven Stillaway

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=20021011220839.GA8694@chunk.voxel.net \
    --to=dilinger@mp3revolution.net \
    --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