I don't have this issue with anything critical, but I know the time is coming. I know how to do it when I have the original system, but I would like to find a reliable way when someone brings me a drive from a dead system and wants to pull data off of it.

On Wed, Apr 16, 2008 at 12:44 PM, Matt Graham <danceswithcrows@usa.net> wrote:
After a long battle with technology, Shawn Badger wrote:
> Speaking of LVM stuff. Is there a good way to do a vgimport on a PV that
> wasn't exported before the machine died?

Not vgimport specifically, but the VG metadata *should* have been backed up
the last time you made a change to the VG in /etc/lvm/backup/ .  It looks
like you can restore that with vgcfgrestore according to the man pages.  If
that dir is no longer available or the file containing the metadata has been
zorched, I don't know for sure what you'd do.

> I have personally been shying away form using [LVM] on non-raided systems
> because of past issues I have had with disk that have [PVs] on them from
> dead machines.

This is why you do regular backups of the important junk.  If a system is
using LVM, /etc/lvm/ is in the "important junk" category.

--
 "Bother," said Pooh.  "Eeyore, ready two photon torpedoes and lock
 phasers on the Heffalump; Piglet, meet me in transporter room three."
 My blog and resume: http://crow202.dyndns.org:8080/wordpress/
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss