Linux LVM users
 help / color / mirror / Atom feed
From: Joe Thornber <thornber@btconnect.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] downgrade from beta8 to beta7
Date: Thu, 26 Jul 2001 10:41:00 +0100	[thread overview]
Message-ID: <20010726104100.C490@btconnect.com> (raw)
In-Reply-To: <15199.7603.761521.721280@rigel.oswf.de>; from john@oswf.de on Wed, Jul 25, 2001 at 09:27:47PM +0200

On Wed, Jul 25, 2001 at 09:27:47PM +0200, Werner John wrote:
> Hi folks
> 
> I just had to downgrade back to beta7. I got 5 PVs /dev/sda[1269] and
> /dev/md1. 
> 
> I ran through the instructions to upgrade from 7 to 8, did pvversion -2 for
> /dev/sda[1269] but *not* for /dev/md1 - I just missed it. Consequently, the
> upgrade was not complete. Ok, downgrade back from 8 to 7 by changing the
> version number with pvversion -1 /dev/sda[1269]. That failed. 
> 
> Lets read the docs: " ...  Note that the pvversion tool needs to have the
> "right" userland tools in the PATH to work correctly so if you are
> upgrading from beta7 to beta8 with the command "pvversion -2" then you
> should have the beta7 tools on your PATH. If you are downgrading from beta8
> to beta7 then you should have the beta8 tools on your PATH. ..."
>    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> I made it sure half a dozend times. Then I thought, well, try pvversion -1
> /dev/sda[1269] with the PATH pointing to the *old* tools. That worked.
> 
> Is this some kind of coincidence or a typo in README.1st?

I just skimmed through the pvversion script, it appears to be trying
to get the pe positions from pvdisplay even when doing a downgrade
(something it wont need to do).  Because you failed to upgrade fully,
the pvdisplay will fail with the beta8 tools, preventing you from
downgrading.  As far as I can tell you should be able to downgrade
with either your old or new tools (if they are working).  Sorry for
any trouble.

> Then I activated the VG with beta7 tools, ran pvversion -2 for *all* my PVs
> as recommended and now I'm all fine with beta8. 

Good.

- Joe

      reply	other threads:[~2001-07-26  9:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-25 19:27 [linux-lvm] downgrade from beta8 to beta7 Werner John
2001-07-26  9:41 ` Joe Thornber [this message]

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=20010726104100.C490@btconnect.com \
    --to=thornber@btconnect.com \
    --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