All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [linux-lvm] pvmove problem
@ 2003-02-07 11:51 B. Dobalina
  2003-02-10  7:57 ` Heinz J . Mauelshagen
  2003-02-17  9:20 ` [linux-lvm] problem in /proc/lvm/global help please abbireddy venkatram reddy
  0 siblings, 2 replies; 5+ messages in thread
From: B. Dobalina @ 2003-02-07 11:51 UTC (permalink / raw)
  To: linux-lvm

Its linux 2.4.19 (with the sgi xfs patch) and lvm 1.0.6. I have two volumes, 
the other volume (vol1) is unaffected. All lvm operations seem to be working 
on vol1. For vol2 (the one that I executed a pvmove on), I cannot get lvm to 
recognize it so I cannot perform any lvm operations.

-skip




Which LVM and Linux  version is this ?
Does everything else irt LVM with the exception of pvmove ru fine
(i.e. creating/removing LVs etc.) ?

Regards,
Heinz    -- The LVM Guy --


On Thu, Feb 06, 2003 at 11:26:44PM +0000, B. Dobalina wrote:
>I am trying to remove an old harddrive from one of my volumes using:
>   pvmove -v /dev/hdh3
>It was chugging along just find until about half way through when it froze. 
>Linux was not "frozen", but I do not think it would allow any io to the 
>block devices (logins, ls's, etc would stall). I waited about an hour, at 
>which point it was still stuck on the same extent, and had no other option 
>but to hard reboot. When the system was booted, the volume to which hdh3 
>belonged, would no longer mount:
>
>$ vgscan
>vgscan -- reading all physical volumes (this may take a while...)
>vgscan -- found active volume group "vol1"
>vgscan -- only found 2523 of 768 LEs for LV /dev/vol2/software (1)
>vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get 
>data of volume group "vol2" from physical volume(s)
>vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
>vgscan -- WARNING: This program does not do a VGDA backup of your volume 
>groups
>
>
>Looks like some lvm metadata has been corrupted. So I ran vgcfgrestore on 
>/dev/hdh3: same result. Then I ran it on all the PVs in vol2: same result. 
>Does anybody have a solution to get this volume mounted? There is a bunch 
>of data on vol2, but not all that much in /dev/hdh3, so a partial restore 
>would be ok.
>
>Thanks,
>Skip
>
>
>_________________________________________________________________
>Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
>http://join.msn.com/?page=features/junkmail
>
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

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



_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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

* Re: [linux-lvm] pvmove problem
  2003-02-07 11:51 [linux-lvm] pvmove problem B. Dobalina
@ 2003-02-10  7:57 ` Heinz J . Mauelshagen
  2003-02-17  9:20 ` [linux-lvm] problem in /proc/lvm/global help please abbireddy venkatram reddy
  1 sibling, 0 replies; 5+ messages in thread
From: Heinz J . Mauelshagen @ 2003-02-10  7:57 UTC (permalink / raw)
  To: linux-lvm

On Fri, Feb 07, 2003 at 05:50:21PM +0000, B. Dobalina wrote:
> Its linux 2.4.19 (with the sgi xfs patch) and lvm 1.0.6. I have two volumes, 
> the other volume (vol1) is unaffected. All lvm operations seem to be working 
> on vol1. For vol2 (the one that I executed a pvmove on), I cannot get lvm to 
> recognize it so I cannot perform any lvm operations.

You've got the actual LVM software. Let's try to approach the problem
a bit more...

Have there been any syslog messages spotting some light on this ?
Are you still able to use vol2's content ?

Before changing anything, don't forget to keep recent backups!

Regards,
Heinz    -- The LVM Guy --

> 
> -skip
> 
> 
> 
> 
> Which LVM and Linux  version is this ?
> Does everything else irt LVM with the exception of pvmove ru fine
> (i.e. creating/removing LVs etc.) ?
> 
> Regards,
> Heinz    -- The LVM Guy --
> 
> 
> On Thu, Feb 06, 2003 at 11:26:44PM +0000, B. Dobalina wrote:
> >I am trying to remove an old harddrive from one of my volumes using:
> >   pvmove -v /dev/hdh3
> >It was chugging along just find until about half way through when it froze. 
> >Linux was not "frozen", but I do not think it would allow any io to the 
> >block devices (logins, ls's, etc would stall). I waited about an hour, at 
> >which point it was still stuck on the same extent, and had no other option 
> >but to hard reboot. When the system was booted, the volume to which hdh3 
> >belonged, would no longer mount:
> >
> >$ vgscan
> >vgscan -- reading all physical volumes (this may take a while...)
> >vgscan -- found active volume group "vol1"
> >vgscan -- only found 2523 of 768 LEs for LV /dev/vol2/software (1)
> >vgscan -- ERROR "vg_read_with_pv_and_lv(): allocated LE of LV" can't get 
> >data of volume group "vol2" from physical volume(s)
> >vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
> >vgscan -- WARNING: This program does not do a VGDA backup of your volume 
> >groups
> >
> >
> >Looks like some lvm metadata has been corrupted. So I ran vgcfgrestore on 
> >/dev/hdh3: same result. Then I ran it on all the PVs in vol2: same result. 
> >Does anybody have a solution to get this volume mounted? There is a bunch 
> >of data on vol2, but not all that much in /dev/hdh3, so a partial restore 
> >would be ok.
> >
> >Thanks,
> >Skip
> >
> >
> >_________________________________________________________________
> >Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
> >http://join.msn.com/?page=features/junkmail
> >
> >
> >_______________________________________________
> >linux-lvm mailing list
> >linux-lvm@sistina.com
> >http://lists.sistina.com/mailman/listinfo/linux-lvm
> >read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 

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

* [linux-lvm] problem in /proc/lvm/global help please..
  2003-02-07 11:51 [linux-lvm] pvmove problem B. Dobalina
  2003-02-10  7:57 ` Heinz J . Mauelshagen
@ 2003-02-17  9:20 ` abbireddy venkatram reddy
  2003-02-21  9:11   ` abbireddy venkatram reddy
  1 sibling, 1 reply; 5+ messages in thread
From: abbireddy venkatram reddy @ 2003-02-17  9:20 UTC (permalink / raw)
  To: linux-lvm

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

Hi all,


 I am reading information of lvms from the /proc/lvm directory.

 but the snapshot size is shown as same size as lv if I create with lesses size of lv also.

 can anybody help me please.

 thanks in advance.
 eg.

file information: /proc/lvm/global

VG:  vg01  [2 PV, 2 LV/2 open]  PE Size: 65536 KB
  Usage [KB/PE]: 52232192 /797 total  3866624 /59 used  48365568 /738 free
  PVs: [AA] rd/c0d0p5             41091072 /627      3080192 /47      38010880 /580
       [AA] rd/c0d0p6             11141120 /170            0 /0       11141120 /170
    LVs: [AWDL  ] lv01                       3080192 /47       1x open
         [ARDL  ] lv01_snap0217_1550         3080192 /47       1x open


 output from the lvscan :

lvscan -- ACTIVE   Original "/dev/vg01/lv01" [2.94 GB]
lvscan -- ACTIVE   Snapshot "/dev/vg01/lv01_snap0217_1550" [767.25 MB] of /dev/vg01/lv01

Please help me. what is the reason?. is kernel problem?

with regards
venkat.



 

 

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

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

* Re: [linux-lvm] problem in /proc/lvm/global help please..
  2003-02-17  9:20 ` [linux-lvm] problem in /proc/lvm/global help please abbireddy venkatram reddy
@ 2003-02-21  9:11   ` abbireddy venkatram reddy
  2003-02-25  9:36     ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 5+ messages in thread
From: abbireddy venkatram reddy @ 2003-02-21  9:11 UTC (permalink / raw)
  To: linux-lvm

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

Hi all,


 I am reading information of lvms from the /proc/lvm directory.

 but the snapshot size is shown as same size as lv if I create with lesses size of lv also.

 can anybody help me please.

 thanks in advance.
 eg.

file information: /proc/lvm/global

VG:  vg01  [2 PV, 2 LV/2 open]  PE Size: 65536 KB
  Usage [KB/PE]: 52232192 /797 total  3866624 /59 used  48365568 /738 free
  PVs: [AA] rd/c0d0p5             41091072 /627      3080192 /47      38010880 /580
       [AA] rd/c0d0p6             11141120 /170            0 /0       11141120 /170
    LVs: [AWDL  ] lv01                       3080192 /47       1x open
         [ARDL  ] lv01_snap0217_1550         3080192 /47       1x open


 output from the lvscan :

lvscan -- ACTIVE   Original "/dev/vg01/lv01" [2.94 GB]
lvscan -- ACTIVE   Snapshot "/dev/vg01/lv01_snap0217_1550" [767.25 MB] of /dev/vg01/lv01

Please help me. what is the reason?. is kernel problem?

with regards
venkat.

  ----- Original Message ----- 
  From: abbireddy venkatram reddy 
  To: linux-lvm@sistina.com 
  Sent: Monday, February 17, 2003 3:56 PM
  Subject: [linux-lvm] problem in /proc/lvm/global help please..


  Hi all,


   I am reading information of lvms from the /proc/lvm directory.

   but the snapshot size is shown as same size as lv if I create with lesses size of lv also.

   can anybody help me please.

   thanks in advance.
   eg.

  file information: /proc/lvm/global

  VG:  vg01  [2 PV, 2 LV/2 open]  PE Size: 65536 KB
    Usage [KB/PE]: 52232192 /797 total  3866624 /59 used  48365568 /738 free
    PVs: [AA] rd/c0d0p5             41091072 /627      3080192 /47      38010880 /580
         [AA] rd/c0d0p6             11141120 /170            0 /0       11141120 /170
      LVs: [AWDL  ] lv01                       3080192 /47       1x open
           [ARDL  ] lv01_snap0217_1550         3080192 /47       1x open


   output from the lvscan :

  lvscan -- ACTIVE   Original "/dev/vg01/lv01" [2.94 GB]
  lvscan -- ACTIVE   Snapshot "/dev/vg01/lv01_snap0217_1550" [767.25 MB] of /dev/vg01/lv01

  Please help me. what is the reason?. is kernel problem?

  with regards
  venkat.






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

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

* Re: [linux-lvm] problem in /proc/lvm/global help please..
  2003-02-21  9:11   ` abbireddy venkatram reddy
@ 2003-02-25  9:36     ` Heinz J . Mauelshagen
  0 siblings, 0 replies; 5+ messages in thread
From: Heinz J . Mauelshagen @ 2003-02-25  9:36 UTC (permalink / raw)
  To: linux-lvm

You can retrieve the information about the physical size of the snapshot
using the tools only.

Regards,
Heinz    -- The LVM Guy --

On Fri, Feb 21, 2003 at 10:07:12AM +0900, abbireddy venkatram reddy wrote:
> Hi all,
> 
> 
>  I am reading information of lvms from the /proc/lvm directory.
> 
>  but the snapshot size is shown as same size as lv if I create with lesses size of lv also.
> 
>  can anybody help me please.
> 
>  thanks in advance.
>  eg.
> 
> file information: /proc/lvm/global
> 
> VG:  vg01  [2 PV, 2 LV/2 open]  PE Size: 65536 KB
>   Usage [KB/PE]: 52232192 /797 total  3866624 /59 used  48365568 /738 free
>   PVs: [AA] rd/c0d0p5             41091072 /627      3080192 /47      38010880 /580
>        [AA] rd/c0d0p6             11141120 /170            0 /0       11141120 /170
>     LVs: [AWDL  ] lv01                       3080192 /47       1x open
>          [ARDL  ] lv01_snap0217_1550         3080192 /47       1x open
> 
> 
>  output from the lvscan :
> 
> lvscan -- ACTIVE   Original "/dev/vg01/lv01" [2.94 GB]
> lvscan -- ACTIVE   Snapshot "/dev/vg01/lv01_snap0217_1550" [767.25 MB] of /dev/vg01/lv01
> 
> Please help me. what is the reason?. is kernel problem?
> 
> with regards
> venkat.
> 
>   ----- Original Message ----- 
>   From: abbireddy venkatram reddy 
>   To: linux-lvm@sistina.com 
>   Sent: Monday, February 17, 2003 3:56 PM
>   Subject: [linux-lvm] problem in /proc/lvm/global help please..
> 
> 
>   Hi all,
> 
> 
>    I am reading information of lvms from the /proc/lvm directory.
> 
>    but the snapshot size is shown as same size as lv if I create with lesses size of lv also.
> 
>    can anybody help me please.
> 
>    thanks in advance.
>    eg.
> 
>   file information: /proc/lvm/global
> 
>   VG:  vg01  [2 PV, 2 LV/2 open]  PE Size: 65536 KB
>     Usage [KB/PE]: 52232192 /797 total  3866624 /59 used  48365568 /738 free
>     PVs: [AA] rd/c0d0p5             41091072 /627      3080192 /47      38010880 /580
>          [AA] rd/c0d0p6             11141120 /170            0 /0       11141120 /170
>       LVs: [AWDL  ] lv01                       3080192 /47       1x open
>            [ARDL  ] lv01_snap0217_1550         3080192 /47       1x open
> 
> 
>    output from the lvscan :
> 
>   lvscan -- ACTIVE   Original "/dev/vg01/lv01" [2.94 GB]
>   lvscan -- ACTIVE   Snapshot "/dev/vg01/lv01_snap0217_1550" [767.25 MB] of /dev/vg01/lv01
> 
>   Please help me. what is the reason?. is kernel problem?
> 
>   with regards
>   venkat.
> 
> 
> 
> 
> 

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

end of thread, other threads:[~2003-02-25  9:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-07 11:51 [linux-lvm] pvmove problem B. Dobalina
2003-02-10  7:57 ` Heinz J . Mauelshagen
2003-02-17  9:20 ` [linux-lvm] problem in /proc/lvm/global help please abbireddy venkatram reddy
2003-02-21  9:11   ` abbireddy venkatram reddy
2003-02-25  9:36     ` Heinz J . Mauelshagen

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.