exporting/importing a LVM volume

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

 



Title: Melding
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

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

  Powered by Linux