All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] about to give up
@ 2001-07-11 13:30 Eli Criffield
  0 siblings, 0 replies; 13+ messages in thread
From: Eli Criffield @ 2001-07-11 13:30 UTC (permalink / raw
  To: linux-lvm

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


Well I've run out of things to try and am about to start the process of
reinstalling everything. But i thought I'd give it one last try to see if
anyone had any ideas?

The story goes, I have three partitions on one hard drive /dev/hda1 (a 30
meg /boot) /dev/hda2, and /dev/hda3 are both LVM.

/dev/hda3 was the only LVM partition. I vgextened to include /dev/hda2,
then rebooted and now vgscan finds no volume groups.

pvscan only shoes that /dev/hda3 is part of a volume group and doesn't see
anything about /dev/hda2

uud_fixer gives me 
#./uuid_fixer /dev/hda2 /dev/hda3
/dev/hda2 - pv_read{}: PV identifier invalid 

but if i run it just against /dev/hda3 i get
#./uuid_fixer /dev/hda3                                               
Error: number of PVs passed in does not match number of PVs in /dev/hda3s       
VG                                                                              
1 PVs where passed in and 2 where expected        

#pvdata -U /dev/hda2 gives
pvdata -- ERROR "pv_read{}: PV identifier invalid" reading physical volume       
uuid list from physical volume "/dev/hda2"   

#pvdata -U /dev/hda3 gives
--- List of physical volume UUIDs ---                                            
                                                                                
000: elhLXoMw5J8qaEgN2DzEYoWoqhqH7H5a                                           
001: 9AoOf5F6c58dcyJ30pfwNp153TI5PjLF 


So /dev/hda2 has no information about being in volumegroup rootvg but
rootvg thinks it is, or at least thats as near as i can tell what's
wrong. Is there some way to remove /dev/hda2 from the volume group even if
i can't find it with vgscan. Is there some way to change /dev/hda2 so it
thinks there it is part of the volume group?


Thanks again for any help


eli

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

* RE: [linux-lvm] about to give up
@ 2001-07-11 15:30 Gonyou, Austin
  2001-07-11 15:39 ` Eli Criffield
  2001-07-11 17:25 ` lembark
  0 siblings, 2 replies; 13+ messages in thread
From: Gonyou, Austin @ 2001-07-11 15:30 UTC (permalink / raw
  To: 'linux-lvm@sistina.com'

perhaps just blowing away your VG, then re-setting the volumes as PVs in
that vg, then growing them one at a time?

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: austin@coremetrics.com 

> -----Original Message-----
> From: Eli Criffield [mailto:eli@zendo.net]
> Sent: Wednesday, July 11, 2001 8:30 AM
> To: linux-lvm@sistina.com
> Subject: [linux-lvm] about to give up
> 
> 
> 
> Well I've run out of things to try and am about to start the 
> process of
> reinstalling everything. But i thought I'd give it one last 
> try to see if
> anyone had any ideas?
> 
> The story goes, I have three partitions on one hard drive 
> /dev/hda1 (a 30
> meg /boot) /dev/hda2, and /dev/hda3 are both LVM.
> 
> /dev/hda3 was the only LVM partition. I vgextened to include 
> /dev/hda2,
> then rebooted and now vgscan finds no volume groups.
> 
> pvscan only shoes that /dev/hda3 is part of a volume group 
> and doesn't see
> anything about /dev/hda2
> 
> uud_fixer gives me 
> #./uuid_fixer /dev/hda2 /dev/hda3
> /dev/hda2 - pv_read{}: PV identifier invalid 
> 
> but if i run it just against /dev/hda3 i get
> #./uuid_fixer /dev/hda3                                               
> Error: number of PVs passed in does not match number of PVs 
> in /dev/hda3s       
> VG                                                            
>                   
> 1 PVs where passed in and 2 where expected        
> 
> #pvdata -U /dev/hda2 gives
> pvdata -- ERROR "pv_read{}: PV identifier invalid" reading 
> physical volume       
> uuid list from physical volume "/dev/hda2"   
> 
> #pvdata -U /dev/hda3 gives
> --- List of physical volume UUIDs ---                         
>                    
>                                                               
>                   
> 000: elhLXoMw5J8qaEgN2DzEYoWoqhqH7H5a                         
>                   
> 001: 9AoOf5F6c58dcyJ30pfwNp153TI5PjLF 
> 
> 
> So /dev/hda2 has no information about being in volumegroup rootvg but
> rootvg thinks it is, or at least thats as near as i can tell what's
> wrong. Is there some way to remove /dev/hda2 from the volume 
> group even if
> i can't find it with vgscan. Is there some way to change 
> /dev/hda2 so it
> thinks there it is part of the volume group?
> 
> 
> Thanks again for any help
> 
> 
> eli
> 

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

* Re: [linux-lvm] about to give up
  2001-07-11 15:30 Gonyou, Austin
@ 2001-07-11 15:39 ` Eli Criffield
  2001-07-11 17:25 ` lembark
  1 sibling, 0 replies; 13+ messages in thread
From: Eli Criffield @ 2001-07-11 15:39 UTC (permalink / raw
  To: linux-lvm

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

On Wed, Jul 11, 2001 at 10:30:10AM -0500, Gonyou, Austin wrote:
> perhaps just blowing away your VG, then re-setting the volumes as PVs in
> that vg, then growing them one at a time?

How would you do that? I'm booted to a rescue disk now and have no vg's at
all, sence vgscan finds nothing. How do i reset the volumes as
PVs? /dev/hda3 is the only one i care about, its the only one with data on
it. Right now /dev/hda3 shows its part of the rootvg.

thanks

eli

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

* RE: [linux-lvm] about to give up
@ 2001-07-11 16:17 Gonyou, Austin
  2001-07-11 16:22 ` Eli Criffield
  0 siblings, 1 reply; 13+ messages in thread
From: Gonyou, Austin @ 2001-07-11 16:17 UTC (permalink / raw
  To: 'linux-lvm@sistina.com'

OOOOH....crap..Ok..SOrry. Well..can you mount /? or was that hda2?

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: austin@coremetrics.com 

> -----Original Message-----
> From: Eli Criffield [mailto:eli@zendo.net]
> Sent: Wednesday, July 11, 2001 10:39 AM
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] about to give up
> 
> 
> On Wed, Jul 11, 2001 at 10:30:10AM -0500, Gonyou, Austin wrote:
> > perhaps just blowing away your VG, then re-setting the 
> volumes as PVs in
> > that vg, then growing them one at a time?
> 
> How would you do that? I'm booted to a rescue disk now and 
> have no vg's at
> all, sence vgscan finds nothing. How do i reset the volumes as
> PVs? /dev/hda3 is the only one i care about, its the only one 
> with data on
> it. Right now /dev/hda3 shows its part of the rootvg.
> 
> thanks
> 
> eli
> 

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

* Re: [linux-lvm] about to give up
  2001-07-11 16:17 Gonyou, Austin
@ 2001-07-11 16:22 ` Eli Criffield
  0 siblings, 0 replies; 13+ messages in thread
From: Eli Criffield @ 2001-07-11 16:22 UTC (permalink / raw
  To: linux-lvm

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

/ was /dev/rootvg/root_lv :( its located somewhere on the pv /dev/hda3

On Wed, Jul 11, 2001 at 11:17:54AM -0500, Gonyou, Austin wrote:
> OOOOH....crap..Ok..SOrry. Well..can you mount /? or was that hda2?
> 
> -- 
> Austin Gonyou
> Systems Architect, CCNA
> Coremetrics, Inc.
> Phone: 512-796-9023
> email: austin@coremetrics.com 
> 
> > -----Original Message-----
> > From: Eli Criffield [mailto:eli@zendo.net]
> > Sent: Wednesday, July 11, 2001 10:39 AM
> > To: linux-lvm@sistina.com
> > Subject: Re: [linux-lvm] about to give up
> > 
> > 
> > On Wed, Jul 11, 2001 at 10:30:10AM -0500, Gonyou, Austin wrote:
> > > perhaps just blowing away your VG, then re-setting the 
> > volumes as PVs in
> > > that vg, then growing them one at a time?
> > 
> > How would you do that? I'm booted to a rescue disk now and 
> > have no vg's at
> > all, sence vgscan finds nothing. How do i reset the volumes as
> > PVs? /dev/hda3 is the only one i care about, its the only one 
> > with data on
> > it. Right now /dev/hda3 shows its part of the rootvg.
> > 
> > thanks
> > 
> > eli
> > 
> _______________________________________________
> 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: application/pgp-signature, Size: 232 bytes --]

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

* RE: [linux-lvm] about to give up
@ 2001-07-11 16:52 Gonyou, Austin
  0 siblings, 0 replies; 13+ messages in thread
From: Gonyou, Austin @ 2001-07-11 16:52 UTC (permalink / raw
  To: 'linux-lvm@sistina.com'

Man..Heinz!!!...Wheeerrrrre are youuuu! :) 

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: austin@coremetrics.com 

> -----Original Message-----
> From: Eli Criffield [mailto:eli@zendo.net]
> Sent: Wednesday, July 11, 2001 11:23 AM
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] about to give up
> 
> 
> / was /dev/rootvg/root_lv :( its located somewhere on the pv /dev/hda3
> 
> On Wed, Jul 11, 2001 at 11:17:54AM -0500, Gonyou, Austin wrote:
> > OOOOH....crap..Ok..SOrry. Well..can you mount /? or was that hda2?
> > 
> > -- 
> > Austin Gonyou
> > Systems Architect, CCNA
> > Coremetrics, Inc.
> > Phone: 512-796-9023
> > email: austin@coremetrics.com 
> > 
> > > -----Original Message-----
> > > From: Eli Criffield [mailto:eli@zendo.net]
> > > Sent: Wednesday, July 11, 2001 10:39 AM
> > > To: linux-lvm@sistina.com
> > > Subject: Re: [linux-lvm] about to give up
> > > 
> > > 
> > > On Wed, Jul 11, 2001 at 10:30:10AM -0500, Gonyou, Austin wrote:
> > > > perhaps just blowing away your VG, then re-setting the 
> > > volumes as PVs in
> > > > that vg, then growing them one at a time?
> > > 
> > > How would you do that? I'm booted to a rescue disk now and 
> > > have no vg's at
> > > all, sence vgscan finds nothing. How do i reset the volumes as
> > > PVs? /dev/hda3 is the only one i care about, its the only one 
> > > with data on
> > > it. Right now /dev/hda3 shows its part of the rootvg.
> > > 
> > > thanks
> > > 
> > > eli
> > > 
> > _______________________________________________
> > 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
> 

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

* RE: [linux-lvm] about to give up
  2001-07-11 15:30 Gonyou, Austin
  2001-07-11 15:39 ` Eli Criffield
@ 2001-07-11 17:25 ` lembark
  2001-07-11 18:41   ` Eli Criffield
  1 sibling, 1 reply; 13+ messages in thread
From: lembark @ 2001-07-11 17:25 UTC (permalink / raw
  To: linux-lvm


-- "Gonyou, Austin" <austin@coremetrics.com> on 07/11/01 10:30:10 -0500

> perhaps just blowing away your VG, then re-setting the volumes as PVs in
> that vg, then growing them one at a time?

blowing off the VG will loose data.

try:

    vgexport blah;
    vgimport blah PV PV PV;

Export will remove the vg from local disk but leave
the VG info on the platters.  Import will re-build 
the VG on the disk.

sl

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

* RE: [linux-lvm] about to give up
@ 2001-07-11 18:09 Gonyou, Austin
  0 siblings, 0 replies; 13+ messages in thread
From: Gonyou, Austin @ 2001-07-11 18:09 UTC (permalink / raw
  To: 'linux-lvm@sistina.com'

I know it would lose data. But, from the sounds..it sounded as though that
has already happened. 

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: austin@coremetrics.com 

> -----Original Message-----
> From: lembark@wrkhors.com [mailto:lembark@wrkhors.com]
> Sent: Wednesday, July 11, 2001 12:26 PM
> To: linux-lvm@sistina.com
> Subject: RE: [linux-lvm] about to give up
> 
> 
> 
> 
> -- "Gonyou, Austin" <austin@coremetrics.com> on 07/11/01 
> 10:30:10 -0500
> 
> > perhaps just blowing away your VG, then re-setting the 
> volumes as PVs in
> > that vg, then growing them one at a time?
> 
> blowing off the VG will loose data.
> 
> try:
> 
>     vgexport blah;
>     vgimport blah PV PV PV;
> 
> Export will remove the vg from local disk but leave
> the VG info on the platters.  Import will re-build 
> the VG on the disk.
> 
> sl
> _______________________________________________
> 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
> 

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

* Re: [linux-lvm] about to give up
  2001-07-11 17:25 ` lembark
@ 2001-07-11 18:41   ` Eli Criffield
  2001-07-11 19:20     ` lembark
  0 siblings, 1 reply; 13+ messages in thread
From: Eli Criffield @ 2001-07-11 18:41 UTC (permalink / raw
  To: linux-lvm

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

> try:
> 
>     vgexport blah;
>     vgimport blah PV PV PV;
> 

I can't export it because it doesn't know it exists because vgscan can't find
it.

eli

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

* Re: [linux-lvm] about to give up
  2001-07-11 18:41   ` Eli Criffield
@ 2001-07-11 19:20     ` lembark
  2001-07-11 19:37       ` Eli Criffield
  0 siblings, 1 reply; 13+ messages in thread
From: lembark @ 2001-07-11 19:20 UTC (permalink / raw
  To: linux-lvm


-- Eli Criffield <eli@zendo.net> on 07/11/01 13:41:23 -0500

>> try:
>> 
>>     vgexport blah;
>>     vgimport blah PV PV PV;
>> 
> 
> I can't export it because it doesn't know it exists because vgscan can't
> find it.

Peachy.  Now just try vgimporting it.  The PV's themselves
may have sufficient metadata to get away with it.

sl

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

* Re: [linux-lvm] about to give up
  2001-07-11 19:20     ` lembark
@ 2001-07-11 19:37       ` Eli Criffield
  0 siblings, 0 replies; 13+ messages in thread
From: Eli Criffield @ 2001-07-11 19:37 UTC (permalink / raw
  To: linux-lvm

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

nope 
ERROR: physical volume "/dev/hda3" doesn't belong to an exported volume
group

eli

On Wed, Jul 11, 2001 at 02:20:51PM -0500, lembark@wrkhors.com wrote:
> 
> 
> -- Eli Criffield <eli@zendo.net> on 07/11/01 13:41:23 -0500
> 
> >> try:
> >> 
> >>     vgexport blah;
> >>     vgimport blah PV PV PV;
> >> 
> > 
> > I can't export it because it doesn't know it exists because vgscan can't
> > find it.
> 
> Peachy.  Now just try vgimporting it.  The PV's themselves
> may have sufficient metadata to get away with it.
> 
> sl
> _______________________________________________
> 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: application/pgp-signature, Size: 232 bytes --]

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

* RE: [linux-lvm] about to give up
@ 2001-07-11 19:40 Gonyou, Austin
  2001-07-11 19:53 ` Eli Criffield
  0 siblings, 1 reply; 13+ messages in thread
From: Gonyou, Austin @ 2001-07-11 19:40 UTC (permalink / raw
  To: 'linux-lvm@sistina.com'

Since you cat access /etc..you have no way of getting to /etc/lvmtab.d or
/etc/lvmtab. If you could get to either of those, I believe it would work. 

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: austin@coremetrics.com 

> -----Original Message-----
> From: Eli Criffield [mailto:eli@zendo.net]
> Sent: Wednesday, July 11, 2001 2:38 PM
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] about to give up
> 
> 
> nope 
> ERROR: physical volume "/dev/hda3" doesn't belong to an 
> exported volume
> group
> 
> eli
> 
> On Wed, Jul 11, 2001 at 02:20:51PM -0500, lembark@wrkhors.com wrote:
> > 
> > 
> > -- Eli Criffield <eli@zendo.net> on 07/11/01 13:41:23 -0500
> > 
> > >> try:
> > >> 
> > >>     vgexport blah;
> > >>     vgimport blah PV PV PV;
> > >> 
> > > 
> > > I can't export it because it doesn't know it exists 
> because vgscan can't
> > > find it.
> > 
> > Peachy.  Now just try vgimporting it.  The PV's themselves
> > may have sufficient metadata to get away with it.
> > 
> > sl
> > _______________________________________________
> > 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
> 

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

* Re: [linux-lvm] about to give up
  2001-07-11 19:40 Gonyou, Austin
@ 2001-07-11 19:53 ` Eli Criffield
  0 siblings, 0 replies; 13+ messages in thread
From: Eli Criffield @ 2001-07-11 19:53 UTC (permalink / raw
  To: linux-lvm

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



On Wed, Jul 11, 2001 at 02:40:17PM -0500, Gonyou, Austin wrote:
> Since you cat access /etc..you have no way of getting to /etc/lvmtab.d or
> /etc/lvmtab. If you could get to either of those, I believe it would work. 

there still in /dev/hda3 somewhere

/ was part in /dev/rootvg/root_lv and all of the lvs where in /dev/hda3

is there some way to use pvdata and dd to get the files out of there?

eli

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

end of thread, other threads:[~2001-07-11 19:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-11 16:52 [linux-lvm] about to give up Gonyou, Austin
  -- strict thread matches above, loose matches on Subject: below --
2001-07-11 19:40 Gonyou, Austin
2001-07-11 19:53 ` Eli Criffield
2001-07-11 18:09 Gonyou, Austin
2001-07-11 16:17 Gonyou, Austin
2001-07-11 16:22 ` Eli Criffield
2001-07-11 15:30 Gonyou, Austin
2001-07-11 15:39 ` Eli Criffield
2001-07-11 17:25 ` lembark
2001-07-11 18:41   ` Eli Criffield
2001-07-11 19:20     ` lembark
2001-07-11 19:37       ` Eli Criffield
2001-07-11 13:30 Eli Criffield

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.