From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iB7Jwlr29744 for ; Tue, 7 Dec 2004 14:58:47 -0500 Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.200]) by mx3.redhat.com (8.12.11/8.12.11) with ESMTP id iB7Jwfq3017101 for ; Tue, 7 Dec 2004 14:58:42 -0500 Received: by rproxy.gmail.com with SMTP id c16so434301rne for ; Tue, 07 Dec 2004 11:58:41 -0800 (PST) Message-ID: Date: Tue, 7 Dec 2004 20:58:30 +0100 From: =?ISO-8859-1?Q?=D2scar_=C1lvarez_Vilaplana?= Subject: Re: [linux-lvm] recovering a lvm volume group after one partition's deletion In-Reply-To: Mime-Version: 1.0 References: <20041207192907.GD24229@agk.surrey.redhat.com> Content-Transfer-Encoding: 8bit Reply-To: =?ISO-8859-1?Q?=D2scar_=C1lvarez_Vilaplana?= , 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="utf-8" To: LVM general discussion and development I've just noticed that the files in /dev/mygroup/volumeN are actually symlinks to /dev/mapper/mygroup-volumeN, which doesn't exist. Any ideas on how to proceed? Thanks! On Tue, 7 Dec 2004 20:56:14 +0100, �scar �lvarez Vilaplana wrote: > Thanks! > > I did a pvcreate --restorefile thefile --uuid theuuid mygroup and then > vgcfgrestore thefile. > > Now the logical volumes appear in /dev/mygroup/, but when I try to > mount them I get the error "mount: special device /mount/mygroup/myvol > does not exist" > > I googled for an answer but I couldn't find anything relevant. > > Any ideas? > > Thanks! > > > > On Tue, 7 Dec 2004 19:29:07 +0000, Alasdair G Kergon wrote: > > On Tue, Dec 07, 2004 at 07:47:57PM +0100, �scar �lvarez Vilaplana wrote: > > > What I've tried is running pvcreate on the formatted partition, but > > > vgdisplay complains that that it can't find the partition with the > > > uuid of the lost partition. I then tried hexedit'ing the partition and > > > changing its uuid, but this didn't fool lvm either: i got the same > > > error. > > > > man vgcfgrestore > > > > Alasdair > > -- > > agk@redhat.com > > > > _______________________________________________ > > 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/ > > >