Rob,

You might need to use this:
-o, --oldpath OldPhysicalVolumePath
              If  the  path  to  the  physical  volume has changed
between backup time and
              restore time, this option enables you to choose the
corresponding  physical
              volume path in the backup file.


Mark Post 

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Rob Schwartz
Sent: Thursday, October 19, 2006 10:20 PM
To: [email protected]
Subject: vgcfgrestore -o

Hey everyone,

I'm having some difficulties... kernel 2.4.19 and lvm 3.0.6.   I'm
trying to restore a vg config .   On the cfg backup the original pv was
/dev/dasdt1 (PV UUID last digits KgtiDw).  The current pv is /dev/dasdu1
and I mucked up the VGDA on that PV so that it has another PV UUID).
Now I'm trying to fix it... 

 vgcfgrestore -f /etc/lvmconf/vgdata.conf.1.old  --name vgdata -o
/dev/dasdt1 -v /dev/dasdu1

says
vgcfgrestore -- "/dev/dasdu1" may not be an actual physical volume of
volume group "vgdata"

Why can't I get LVM to just write the /dev/dasdt1 backup onto the
/dev/dasdu1 VGDA??

Thanks,
Rob

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to