From: Jonathan E Brassow <jbrassow@redhat.com>
To: lists@tnotd.net,
LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] "vg doesn't exist" after removing a pv
Date: Fri, 20 Jan 2006 11:40:42 -0600 [thread overview]
Message-ID: <19be7debf29ebfd90339976d288dce0d@redhat.com> (raw)
In-Reply-To: <ac8rs15d9td9ke80r4mt1d2i294n99id4k@4ax.com>
There may be a better way, but here is what I did...
> vgcfgrestore <VG>
Errors out, but gives you the uuid of the PV that is missing.
> pvcreate -u <uuid given by failed command> <device>
> vgcfgrestore <VG>
All should be good now.
brassow
On Jan 18, 2006, at 4:37 PM, Alan Wise wrote:
>
> I just attempted to remove two physical volumes from one of my volume
> groups. Since I very recently added them, I knew (or thought I knew)
> that there was no data on them so I attempted to to remove them using
> "pvremove /dev/hda8 /dev/hdb1".
>
> The program complained, but suggested I try using the "-ff" option,
> which I promptly did, without considering the consequences of my
> actions (or backing up the data).
>
> Now I'm getting the following errors:
>
> Couldn't find device with uuid "..."
> Couldn't find all physical volumes for volume group my_vg
> Volume group "my_vg" doesn't exist
>
> Unfortunately, being rather new to LVM, I didn't know about
> vgcfgbackup until I started researching how to fix my problem, so I
> can't go that route.
>
> Is there any way I can recover my data. Any help would be MUCH
> appreciated.
>
> Alan
>
> _______________________________________________
> 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/
>
prev parent reply other threads:[~2006-01-20 17:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-18 22:37 [linux-lvm] "vg doesn't exist" after removing a pv Alan Wise
2006-01-20 17:40 ` Jonathan E Brassow [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=19be7debf29ebfd90339976d288dce0d@redhat.com \
--to=jbrassow@redhat.com \
--cc=linux-lvm@redhat.com \
--cc=lists@tnotd.net \
/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.