All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Òscar Álvarez Vilaplana" <grimborg@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] recovering a lvm volume group after one partition's deletion
Date: Tue, 7 Dec 2004 20:58:30 +0100	[thread overview]
Message-ID: <b9a453c20412071158609a6fbc@mail.gmail.com> (raw)
In-Reply-To: <b9a453c204120711564bb852b0@mail.gmail.com>

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
<grimborg@gmail.com> 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 <agk@redhat.com> 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/
> >
>

      parent reply	other threads:[~2004-12-07 19:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-07 18:47 [linux-lvm] recovering a lvm volume group after one partition's deletion Òscar Álvarez Vilaplana
2004-12-07 19:29 ` Alasdair G Kergon
2004-12-07 19:56   ` Òscar Álvarez Vilaplana
2004-12-07 19:58     ` Alasdair G Kergon
2004-12-07 20:16       ` Òscar Álvarez Vilaplana
2004-12-07 19:58     ` Òscar Álvarez Vilaplana [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=b9a453c20412071158609a6fbc@mail.gmail.com \
    --to=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.