All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulrich Wiederhold <U.Wiederhold@gmx.net>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Problems after upgrading LVM
Date: Thu Dec  6 04:00:02 2001	[thread overview]
Message-ID: <20011206100443.GA7973@sky.net> (raw)
In-Reply-To: <1007626843.693.0.camel@ultra>

Hello,
try to use uuid_fixer on every pv you have in your vg.
Then do a "vgcfgrestore -n your_vgname -l" and if this works a 
"vgcfgrestore -n vg_name /dev/hdXX (for each pertitions in the VG)".
Run vgscan again, then vgchange -ay. I think this should work.
I prefered it to run vgcfgbackup after it´s done.
Btw, this was discussed the last mouth several time on this list,
searching in the archive would have been helped you. :)
Regards
Uli


* Klaus Agnoletti <ultra@mailme.dk> [011206 09:20]:
> I got my problem solved.
> It seems like I can't restore a vg created with an older version of LVM
> than the one I am currently using.
> This means that VGs in my stup created with LVM 0.9 can't be restored
> after upgrading to 1.0.1.
> Is this a bug ? (I would say yes) - if not, what is the correct
> procedure to get your VG up and running after an update ?
> 
> I tried doing a 
> vgcfgrestore -n vg_name /dev/hdXX (for each pertitions in the VG)
> vgchange -ay
> 
> And after that just a regular mount.
> 
> After this discovery, my setup is debian linux with kernel 2.4.16 (which
> has lvm 1.0.1rc4) and the tools for lvm 0.9 which I originally created
> the vg with) - to me this sounds rather weird.
> 
> What did I miss ?
> 
> 
> Thanks,
> 
> Klaus Pedersen
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
-- 
'The box said, 'Requires Windows 95 or better', so i installed Linux - TKK 5

  reply	other threads:[~2001-12-06  4:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-03 12:36 [linux-lvm] Problems after upgrading LVM Klaus Agnoletti
2001-12-03 15:04 ` Petro
2001-12-04  0:55   ` Klaus Agnoletti
2001-12-06  0:18     ` Klaus Agnoletti
2001-12-06  4:00       ` Ulrich Wiederhold [this message]
2001-12-10 21:05         ` [linux-lvm] reinstall system with volumes intact? Steve Wray
2001-12-12  0:15         ` [linux-lvm] reinstall, import, export question Steve Wray
2001-12-12  0:47           ` Steven Lembark
2001-12-12  7:46           ` Lewis Bergman
2001-12-12 16:12             ` Steve Wray

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=20011206100443.GA7973@sky.net \
    --to=u.wiederhold@gmx.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 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.