From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: References: Message-Id: <19be7debf29ebfd90339976d288dce0d@redhat.com> Content-Transfer-Encoding: 7bit From: Jonathan E Brassow Subject: Re: [linux-lvm] "vg doesn't exist" after removing a pv Date: Fri, 20 Jan 2006 11:40:42 -0600 Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: lists@tnotd.net, LVM general discussion and development There may be a better way, but here is what I did... > vgcfgrestore Errors out, but gives you the uuid of the PV that is missing. > pvcreate -u > vgcfgrestore 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/ >