All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heinz Mauelshagen <mauelshagen@redhat.com>
To: "Òscar Álvarez Vilaplana" <grimborg@gmail.com>,
	"LVM general discussion and development" <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Can't access LVM volume group after changing a non-LVM partition
Date: Thu, 9 Dec 2004 12:55:08 +0100	[thread overview]
Message-ID: <20041209115508.GA30928@redhat.com> (raw)
In-Reply-To: <b9a453c204120705542e927fac@mail.gmail.com>

On Tue, Dec 07, 2004 at 02:54:39PM +0100, �scar �lvarez Vilaplana wrote:
> Hi,
> 
> When I try to access my lvm group (for example, running vgdisplay) I
> get the following error:
>   Couldn't find device with uuid '5VBBLW-70Dj-fwjf-Xvzc-7VZr-icQa-l9XQ2N'.
>   Couldn't find all physical volumes for volume group data.
>   Couldn't find device with uuid '5VBBLW-70Dj-fwjf-Xvzc-7VZr-icQa-l9XQ2N'.
>   Couldn't find all physical volumes for volume group data.
>   Volume group "data" doesn't exist
> 
> It happened just right after I deleted a /dev/hda6 (a *non-lvm*
> partition) and created two partitions in the space that the deleted
> partition was occupying (/dev/hda6 and /dev/hda8) (my idea was to
> shrink /dev/hda6, and that did work).
> 
> Here's what the partition table looked before and after the change:
> 
> before:
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hda1   *           1        1459    11719386   8e  Linux LVM
> /dev/hda2            1460        3891    19535040   83  Linux
> /dev/hda3            3892       14593    85963815    5  Extended
> /dev/hda5            3892        5107     9767488+  8e  Linux LVM
> /dev/hda6            5108       14225    73240303+  83  Linux
> /dev/hda7           14226       14471     1975963+  8e  Linux LVM
> /dev/hda8           14472       14593      979933+  82  Linux swap
> 
> after:
> /dev/hda1   *           1        1459    11719386   8e  Linux LVM
> /dev/hda2            1460        3891    19535040   83  Linux
> /dev/hda3            3892       14593    85963815    5  Extended
> /dev/hda5            3892        5107     9767488+  8e  Linux LVM
> /dev/hda6           11796       14225    19518943+  8e  Linux LVM
> /dev/hda7           14226       14471     1975963+  8e  Linux LVM
> /dev/hda8            5108       11795    53721328+  83  Linux
> 
> 
> I looked up (in /etc/lvm) the uuid lvm was complaining about and found
> out it corresponds to /dev/hda7. This seems odd, /dev/hda7 should not
> have been affected by the partition deleting & creation... its start
> and end cylinder remained the same throughout the process and there
> was no partition overlapping.
> 
> I thought maybe changing the uuid for /dev/hda7 in the /etc/lvm files,
> but I couldn't find how to get the correct uuid for /dev/hda7.
> 
> What course of action do you suggest? Is it possible to get the data back?

vgscan ; vgdisplay

> 
> Thanks a lot,
> Oscar.
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@RedHat.com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

      parent reply	other threads:[~2004-12-09 11:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-07 13:54 [linux-lvm] Can't access LVM volume group after changing a non-LVM partition Òscar Álvarez Vilaplana
2004-12-07 16:58 ` David Mohr
2004-12-09 11:55 ` Heinz Mauelshagen [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=20041209115508.GA30928@redhat.com \
    --to=mauelshagen@redhat.com \
    --cc=grimborg@gmail.com \
    --cc=linux-lvm@redhat.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.