[linux-lvm] vgcfgrestore ouput

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I tarred up the /etc/lvm* stuff from one box that has a similar
configuration (two whole disks, /dev/sdb and /dev/sdc, in one vg), and
then put it on my target host and attempted to restore the
configuration. 

Below is the output I get. I guess, all I need to know right now, is are
the first 512 bytes of each disk all that is used for the pv
information, or is it more than that? 

Also, can pvcreate be used without destroying the underlying
filesystems? TIA!!!

<vgcfgrestore>
[root@localhost root]# vgcfgrestore -n data /dev/sdb
vgcfgrestore -- INFO: using backup file "/etc/lvmconf/data.conf"
vgcfgrestore -- ERROR "pv_read(): PV identifier invalid" reading
physical volume "/dev/sdb"

[root@localhost root]# vgcfgrestore -n data /dev/sdc
vgcfgrestore -- INFO: using backup file "/etc/lvmconf/data.conf"
vgcfgrestore -- ERROR "pv_read(): PV identifier invalid" reading
physical volume "/dev/sdc"
</vgcfgrestore>


Austin

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux