[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] How to transit from Linux 2.4 to 2.6 with LVM inplay?

Hash: SHA1

On Tue, 30 Sep 2003, Patrick Caulfield wrote:
> If not then you'll need to patch device-mapper into your 2.4 kernel to
> allow you to run LVM2 on it. (LVM2 will read the LVM1 metadata)

OK, I hadn't understood that, while LVM2 will read LVM1 metadata, it must
read them through the device-mapper.  I patched up a 2.4.21 kernel and
tried again.  But I still get this:

# ~mhwood/build/LVM2.2.00.07/tools/lvm vgs
  /proc/lvm/VGs/vg1 exists: Is the original LVM driver using this volume group?
  Can't lock vg1: skipping

Well, of course the original LVM driver activated my one and only volume
group, otherwise /home wouldn't be mounted and the new 'lvm' wouldn't be
available for testing.  So it seems to mean that "switch between LVM1 and
LVM2" means "replace LVM1 tools with LVM2 tools and v.v.", not "you can
use one set to inspect storage objects activated by the other".  The only
point of compatibility between the two tool sets is that LVM2 tools
understand the LVM1 on-disk format; they won't run concurrently.

I had hoped to build some confidence in the LVM2 tools, and that I had
built them properly, by inspecting the output of read-only operations
using LVM2 on a system that currently uses LVM1 to access most of its
volumes.  Granted that my brain is a bit odd, it could be made more
explicit somewhere that this cannot be done.  I'll move the LVM1 tools
somewhere else on the root volume, then install LVM2 and see what happens.
That seems to be the intended meaning of "switch between LVM1 and LVM2".

I'm not complaining (much); this note is mainly to pass along information
about what some of the users are thinking and doing with the new tools.

- -- 
Mark H. Wood, Lead System Programmer   mwood IUPUI Edu
MS Windows *is* user-friendly, but only for certain values of "user".
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]