From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from o.ww.redhat.com (vpn50-3.rdu.redhat.com [172.16.50.3]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i1EAHhi11029 for ; Sat, 14 Feb 2004 05:17:44 -0500 From: Heinz Mauelshagen Subject: Re: [linux-lvm] Problems importing volume group Message-ID: <20040214101743.GD22753@redhat.com> References: <2022.63.106.141.106.1076694581.squirrel@www.fusion-hosting.net> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <2022.63.106.141.106.1076694581.squirrel@www.fusion-hosting.net> Sender: linux-lvm-admin@redhat.com Errors-To: linux-lvm-admin@redhat.com Reply-To: linux-lvm@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: Date: Sat Feb 14 05:17:00 2004 List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-lvm@redhat.com Chris, looks like the installation toasted your PVs (writing partition tables to the drives?). Run vgcfgrestore (you've got a backup of /etc/lvmconf/*, right?). Regards, Heinz -- The LVM Guy -- On Fri, Feb 13, 2004 at 12:49:41PM -0500, Chris Wells wrote: > Hello all, > > I'm still a newbie to LVM but I've followed a FAQ in exporting my VG (I > had to replace a failing system drive - not in the VG). When I replaced > the drive and tried to import the volume group, I get the following > errors: > > vgimport kbvg /dev/hde /dev/hdf > vgimport -- ERROR "pv_check_consistency(): PE size" checking physical > volume consistency of "/dev/hde" > vgimport -- ERROR "pv_check_consistency(): PE size" checking physical > volume consistency of "/dev/hdf" > vgimport -- ERROR: no valid physical volumes found to import volume group > "kbvg" > > When I do a pvscan, I get: > > pvscan > pvscan -- reading all physical volumes (this may take a while...) > pvscan -- inactive PV "/dev/hde" is in EXPORTED VG "kbvg" [0 / 0 free] > pvscan -- inactive PV "/dev/hdf" is in EXPORTED VG "kbvg" [0 / 0 free] > pvscan -- total: 2 [37.46 MB] / in use: 2 [37.46 MB] / in no VG: 0 [0] > > > I get these errors even when replacing the old drive and trying to import > back. Any ideas on what I can do next or what the problem could be? Or.. > at least, does anyone know of any tools which I can use to retrieve data > from these drives? > > Any help is greatly appreciated! > > -- > Thanks, > Chris Wells > Fusion Hosting & Design > Lexington, KY > chris@fusion-hosting.net > http://www.fusion-hosting.net > Phone: (859) 492-6439 > > > _______________________________________________ > 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/ *** Software bugs are stupid. Nevertheless it needs not so stupid people to solve them *** =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Heinz Mauelshagen Red Hat, Inc. Consulting Development Engineer Am Sonnenhang 11 56242 Marienrachdorf Germany Mauelshagen@RedHat.com +49 2626 141200 FAX 924446 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-