From: Message-ID: <001201c3c24c$cc77c450$0200000a@ray1> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0013_01C3C255.2E3C2C50" Subject: [linux-lvm] exporting/importing a LVM volume Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Mon Dec 15 07:57:04 2003 List-Id: To: linux-lvm@sistina.com This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C3C255.2E3C2C50 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_0013_01C3C255.2E3C2C50 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Melding
Hi = all,=20
 
 
I need = to move a lvm=20 volme over to a new os install. And this is what i = did.
 
Before = installing=20 the new os, i did a vgexport name
and = acording to the=20 howto, all i need to do on my new os is pvscan and then vgimport name = /dev/dev1=20 + + + +
 
(http://tldp.org/HOWTO/= LVM-HOWTO/x978.html)
 
However when trying=20 to import it i get these messages:
 
pvscan = -- reading=20 all physical volumes (this may take a while....)
pvscan = -- inactive=20 PV "/dev/sdc1" is in no VG [111.76GB]
pvscan = -- total: 1=20 [111.76GB] / in use: 0 [0] / in no VG: 1 [111.76GB]
 
Its = supposed to say=20 something like this: (paste from the howto)
 
pvscan -- reading all physical = volumes (this=20 may take a while...)
pvscan -- inactive PV "/dev/sdb1"  is in = EXPORTED=20 VG "design" [996 MB / 996 MB free]
pvscan -- inactive PV = "/dev/sdb2"  is=20 in EXPORTED VG "design" [996 MB / 244 MB free]
pvscan -- total: 2 = [1.95 GB] /=20 in use: 2 [1.95 GB] / in no VG: 0 [0]
If i = try the=20 vgimport i get this message:
 
vgimport -- ERROR=20 "pv_read(): PV identifier invalid" reading physical volume=20 "/dev/sda1"
 
Anyone = got a hint=20 what i need to do to get this LVM up and running again = ?
 
Ray
------=_NextPart_000_0013_01C3C255.2E3C2C50--