[linux-lvm] exporting/importing a LVM volume

brad.p at frisurf.no brad.p at frisurf.no
Mon Dec 15 07:57:04 UTC 2003


Hi all, 
 
 
I need to move a lvm volme over to a new os install. And this is what i
did.
 
Before installing the new os, i did a vgexport name
and acording to the howto, all i need to do on my new os is pvscan and
then vgimport name /dev/dev1 + + + + 
 
(http://tldp.org/HOWTO/LVM-HOWTO/x978.html)
 
However when trying to import it i get these messages:
 
pvscan -- reading all physical volumes (this may take a while....)
pvscan -- inactive PV "/dev/sdc1" is in no VG [111.76GB]
pvscan -- total: 1 [111.76GB] / in use: 0 [0] / in no VG: 1 [111.76GB]
 
Its supposed to say something like this: (paste from the howto)
 
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/sdb1"  is in EXPORTED VG "design" [996 MB /
996 MB free]
pvscan -- inactive PV "/dev/sdb2"  is in EXPORTED VG "design" [996 MB /
244 MB free]
pvscan -- total: 2 [1.95 GB] / in use: 2 [1.95 GB] / in no VG: 0 [0]

If i try the vgimport i get this message:
 
vgimport -- ERROR "pv_read(): PV identifier invalid" reading physical
volume "/dev/sda1"
 
Anyone got a hint what i need to do to get this LVM up and running again
?
 
Ray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20031215/133f6ea7/attachment.htm>


More information about the linux-lvm mailing list