* [linux-lvm] downgrade from beta8 to beta7
@ 2001-07-25 19:27 Werner John
2001-07-26 9:41 ` Joe Thornber
0 siblings, 1 reply; 2+ messages in thread
From: Werner John @ 2001-07-25 19:27 UTC (permalink / raw)
To: linux-lvm
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?
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.
BTW, all tools are linked statically - to avoid fiddeling with
LD_LIBRARY_PATH.
Regards
Werner
--
Werner John Tel: +49 (0)69 829 757-0
Offenbacher Stanzwerkzeugfabrik Fax: +49 (0)69 829 757-25
Ludwigstr. 30 E-Mail: john at oswf dot de
63067 Offenbach, Germany
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] downgrade from beta8 to beta7
2001-07-25 19:27 [linux-lvm] downgrade from beta8 to beta7 Werner John
@ 2001-07-26 9:41 ` Joe Thornber
0 siblings, 0 replies; 2+ messages in thread
From: Joe Thornber @ 2001-07-26 9:41 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-26 9:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-25 19:27 [linux-lvm] downgrade from beta8 to beta7 Werner John
2001-07-26 9:41 ` Joe Thornber
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.