All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] pb with vgimport
@ 2002-06-11  8:58 sgallet
  2002-06-18  6:14 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 5+ messages in thread
From: sgallet @ 2002-06-11  8:58 UTC (permalink / raw)
  To: linux-lvm

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)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] pb with vgimport
  2002-06-11  8:58 [linux-lvm] pb with vgimport sgallet
@ 2002-06-18  6:14 ` Heinz J . Mauelshagen
  2002-06-18  9:50   ` Sébastien GALLET
  0 siblings, 1 reply; 5+ messages in thread
From: Heinz J . Mauelshagen @ 2002-06-18  6:14 UTC (permalink / raw)
  To: linux-lvm

"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

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] pb with vgimport
  2002-06-18  6:14 ` Heinz J . Mauelshagen
@ 2002-06-18  9:50   ` Sébastien GALLET
  2002-06-18 10:33     ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 5+ messages in thread
From: Sébastien GALLET @ 2002-06-18  9:50 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 2741 bytes --]

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 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
>>    
>>
>
>  
>


[-- Attachment #2: Type: text/html, Size: 3582 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] pb with vgimport
  2002-06-18  9:50   ` Sébastien GALLET
@ 2002-06-18 10:33     ` Heinz J . Mauelshagen
  2002-06-18 11:20       ` Sébastien GALLET
  0 siblings, 1 reply; 5+ messages in thread
From: Heinz J . Mauelshagen @ 2002-06-18 10:33 UTC (permalink / raw)
  To: linux-lvm

On Tue, Jun 18, 2002 at 04:49:45PM +0200, Sébastien GALLET wrote:
> 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??? 

Nope :-(

Which LVM version was it?

Regards,
Heinz    -- The LVM Guy --


> 
> 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 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
> >>    
> >>
> >
> >  
> >
> 

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [linux-lvm] pb with vgimport
  2002-06-18 10:33     ` Heinz J . Mauelshagen
@ 2002-06-18 11:20       ` Sébastien GALLET
  0 siblings, 0 replies; 5+ messages in thread
From: Sébastien GALLET @ 2002-06-18 11:20 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 4756 bytes --]

1.0.4 with redhat 7.3 (2.4.18 patched by myself)
More informations :
When i did

vgimport lvmvg1 /dev/hde1 /dev/hdf1 /dev/hdg1 :
vgimports said that only 3 PVs ( of the 4) were given in arguments

but when i did 

vgimport lvmvg1 /dev/hde1 /dev/hdf1 /dev/hdk :
vgimport said : 
vgimport -- ERROR: wrong number of physical volumes to import volume group "lvmvg1

That's why i think that there's a problem with hdk (which is a whole LVM 
disk not a LVM partition).
But data on this disk seems to be good because i've restore them by 
changing
PV_EXPlvmvg1PV_EXPPV_EXPPV_EXP
into
PV_IMPlvmvg1 with Linux Disk Editor
Any idea ???

Ps : Sorry for my english ...:">
Heinz J . Mauelshagen wrote:

>On Tue, Jun 18, 2002 at 04:49:45PM +0200, S�bastien GALLET wrote:
>  
>
>>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??? 
>>    
>>
>
>Nope :-(
>
>Which LVM version was it?
>
>Regards,
>Heinz    -- The LVM Guy --
>
>
>  
>
>>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 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
>>>>   
>>>>
>>>>        
>>>>
>>> 
>>>
>>>      
>>>
>
>*** Software bugs are stupid.
>    Nevertheless it needs not so stupid people to solve them ***
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>Heinz Mauelshagen                                 Sistina Software Inc.
>Senior Consultant/Developer                       Am Sonnenhang 11
>                                                  56242 Marienrachdorf
>                                                  Germany
>Mauelshagen@Sistina.com                           +49 2626 141200
>                                                       FAX 924446
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>_______________________________________________
>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
>
>  
>


[-- Attachment #2: Type: text/html, Size: 5955 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-06-18 11:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-11  8:58 [linux-lvm] pb with vgimport sgallet
2002-06-18  6:14 ` Heinz J . Mauelshagen
2002-06-18  9:50   ` Sébastien GALLET
2002-06-18 10:33     ` Heinz J . Mauelshagen
2002-06-18 11:20       ` Sébastien GALLET

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.