From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3D0F4889.4080704@ibourgogne.net> From: =?ISO-8859-1?Q?S=E9bastien_GALLET?= MIME-Version: 1.0 Subject: Re: [linux-lvm] pb with vgimport References: <20020618130736.C26268@sistina.com> Content-Type: multipart/alternative; boundary="------------060702000104020902010500" 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: Tue Jun 18 09:50:02 2002 List-Id: To: linux-lvm@sistina.com --------------060702000104020902010500 Content-Type: text/plain; charset="iso-8859-1"; format="flowed" Content-Transfer-Encoding: quoted-printable Thank you for your answer, but I found a solution by editing disc and=20 partitions with Linux Disk Editor .... Now, everything is ok and I found my data back.=20 lvmvg1PV_EXPPV_EXPPV_EXP: I exported 3 times the VG. Is the result=20 normal???=20 It would seem that the problem comes from export (or the importation) on=20 hdk. . Heinz J . Mauelshagen wrote: >"lvmvg1PV_EXPPV_EXPPV_EXP" looks very strange. >The suffix PV_EXP should only be there once. > >Which LVM versions of the tools and driver did you use? >Do you remmeber the steps which lead to this situation? > >Please send a bzipped tasball which contains the output files retrieved wi= th > >for d in /dev/hd[e-g]1 /dev/hdk >do > dd if=3D$d of=3D`basename $d`.vgda bs=3D1k count=3D4k >done > >to me directly to fix this. > >On Tue, Jun 11, 2002 at 03:58:03PM +0200, sgallet@netcourrier.com wrote: > =20 > >>Hello, >>I have an error when i do=20 >>vgimport lvmvg1 /dev/hde1 /dev/hdf1 /dev/hdg1 /dev/hdk >>vgimport -- ERROR: wrong number of physical volumes to import volume grou= p "lvmvg1 >> >>This is my pvscan >>pvscan -- reading all physical volumes (this may take a while...) >>pvscan -- inactive PV "/dev/hdk" is in EXPORTED VG "lvmvg1PV_EXPPV_EXPP= V_EXP" [76.69 GB / 0 free] >>pvscan -- inactive PV "/dev/hdg1" is in EXPORTED VG "lvmvg1PV_EXPPV_EXPP= V_EXP" [37.27 GB / 0 free] >>pvscan -- ACTIVE PV "/dev/hdh1" of VG "lvmvg2" = [74.52 GB / 55.89 GB free] >>pvscan -- inactive PV "/dev/hde1" is in EXPORTED VG "lvmvg1PV_EXPPV_EXPP= V_EXP" [38.34 GB / 0 free] >>pvscan -- inactive PV "/dev/hdf1" is in EXPORTED VG "lvmvg1PV_EXPPV_EXPP= V_EXP" [28.62 GB / 0 free] >>pvscan -- total: 5 [255.47 GB] / in use: 5 [255.47 GB] / in no VG: 0 [0] >> >>Help me please >> >>CONFIDENTIALITE :=20 >>Ce message et les =EF=BF=BDventuelles pi=EF=BF=BDces attach=EF=BF=BDes so= nt confidentiels.=20 >>Si vous n'=EF=BF=BDtes pas dans la liste des destinataires, veuillez info= rmer l'exp=EF=BF=BDditeur imm=EF=BF=BDdiatement et ne pas divulguer le cont= enu =EF=BF=BD une tierce personne, ne pas l'utiliser pour quelque raison qu= e ce soit, ne pas stocker ou copier l'information qu'il contient sur un que= lconque support. >> >>------------------------------------------------------------- >>NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Too= lbar... >>Web/Wap : www.netcourrier.com >>T=EF=BF=BDl=EF=BF=BDphone/Fax : 08 92 69 00 21 (0,34 EUR TTC/min) >>Minitel: 3615 NETCOURRIER (0,15 EUR TTC/min) >> >> >>_______________________________________________ >>linux-lvm mailing list >>linux-lvm@sistina.com >>http://lists.sistina.com/mailman/listinfo/linux-lvm >>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html >> =20 >> > > =20 > --------------060702000104020902010500 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Thank you for your answer, but I found a solution by editing  disc and partitions with Linux Disk Editor ....
Now, everything is ok and I found my data back. 

lvmvg1PV_EXPPV_EXPPV_EXP:  I exported 3 times the VG.  Is the result normal??? 

It would seem that the problem comes from export (or the importation) on hdk.
.


Heinz J . Mauelshagen wrote:
"lvmvg1PV_EXPPV_EXPPV_EXP" looks very strange.
The suffix PV_EXP should only be there once.

Which LVM versions of the tools and driver did you use?
Do you remmeber the steps which lead to this situation?

Please send a bzipped tasball which contains the output files retrieved with

for d in /dev/hd[e-g]1 /dev/hdk
do
	dd if=$d of=`basename $d`.vgda bs=1k count=4k
done

to me directly <mge@sistina.com> to fix this.

On Tue, Jun 11, 2002 at 03:58:03PM +0200, sgallet@netcourrier.com wrote:
  
Hello,
I have an error when i do 
vgimport lvmvg1 /dev/hde1 /dev/hdf1 /dev/hdg1 /dev/hdk
vgimport -- ERROR: wrong number of physical volumes to import volume group "lvmvg1

This is my pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/hdk"   is in EXPORTED VG "lvmvg1PV_EXPPV_EXPPV_EXP" [76.69 GB / 0 free]
pvscan -- inactive PV "/dev/hdg1"  is in EXPORTED VG "lvmvg1PV_EXPPV_EXPPV_EXP" [37.27 GB / 0 free]
pvscan -- ACTIVE   PV "/dev/hdh1" of VG "lvmvg2"                         [74.52 GB / 55.89 GB free]
pvscan -- inactive PV "/dev/hde1"  is in EXPORTED VG "lvmvg1PV_EXPPV_EXPPV_EXP" [38.34 GB / 0 free]
pvscan -- inactive PV "/dev/hdf1"  is in EXPORTED VG "lvmvg1PV_EXPPV_EXPPV_EXP" [28.62 GB / 0 free]
pvscan -- total: 5 [255.47 GB] / in use: 5 [255.47 GB] / in no VG: 0 [0]

Help me please

CONFIDENTIALITE : 
Ce message et les éventuelles pièces attachées sont confidentiels. 
Si vous n'êtes pas dans la liste des destinataires, veuillez informer l'expéditeur immédiatement et ne pas divulguer le contenu à une tierce personne, ne pas l'utiliser pour quelque raison que ce soit, ne pas stocker ou copier l'information qu'il contient sur un quelconque support.

-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
Minitel: 3615 NETCOURRIER (0,15 € TTC/min)


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
    

  

--------------060702000104020902010500--