linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] will pvcreate destroy lvm data on an already exsiting PV
@ 2005-04-30 19:31 Lance Reed
  2005-05-03 13:59 ` David Mohr
  0 siblings, 1 reply; 2+ messages in thread
From: Lance Reed @ 2005-04-30 19:31 UTC (permalink / raw)
  To: Linux-LVM

I know you guys don't normally respond to direct email about LVM.

But I have a situation that the PV in a VG seems to have lost its 
metadata, and
there is a discrepancy between What the OS thinks the partition for a 
device that uses
LVM is and what LVM thinks it should be (/dev/sde vs /dev/sde1).  A 
vgrestore complains
about pv_read not working.  So my question is, if I run a new pvcreate 
on the disk device,
will it destroy the LVM data on the existing device.  Or will it just 
setup a placeholder for
the metadata, and I can then just do a vgcgrestore and put that back in 
place without
losing data.

Thanks for any suggestions and your time.

Sincerely,

Lance Reed
lreed@ruckusnetwork.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] will pvcreate destroy lvm data on an already exsiting PV
  2005-04-30 19:31 [linux-lvm] will pvcreate destroy lvm data on an already exsiting PV Lance Reed
@ 2005-05-03 13:59 ` David Mohr
  0 siblings, 0 replies; 2+ messages in thread
From: David Mohr @ 2005-05-03 13:59 UTC (permalink / raw)
  To: LVM general discussion and development

I'm just a listener on this list and by no means an expert on this:
should my memory not fail me, then pvcreate on an existing PV should
be safe to run. I think the reason why noone answers you is because
you really should read through the archive and probably some howto's,
I'm pretty sure I've seen this question a couple of times on this
list. Noone likes to give answers that have already been given a
couple of times.

~David

On 4/30/05, Lance Reed <lreed@ruckusnetwork.com> wrote:
> I know you guys don't normally respond to direct email about LVM.
> 
> But I have a situation that the PV in a VG seems to have lost its
> metadata, and
> there is a discrepancy between What the OS thinks the partition for a
> device that uses
> LVM is and what LVM thinks it should be (/dev/sde vs /dev/sde1).  A
> vgrestore complains
> about pv_read not working.  So my question is, if I run a new pvcreate
> on the disk device,
> will it destroy the LVM data on the existing device.  Or will it just
> setup a placeholder for
> the metadata, and I can then just do a vgcgrestore and put that back in
> place without
> losing data.
> 
> Thanks for any suggestions and your time.
> 
> Sincerely,
> 
> Lance Reed
> lreed@ruckusnetwork.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/
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-03 14:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-30 19:31 [linux-lvm] will pvcreate destroy lvm data on an already exsiting PV Lance Reed
2005-05-03 13:59 ` David Mohr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).