linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] vgscan -- no volume groups found
@ 2001-04-04 14:42 Jonathan DeHaan
  2001-04-04 20:35 ` Andreas Dilger
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan DeHaan @ 2001-04-04 14:42 UTC (permalink / raw)
  To: linux-lvm

Please forgive an LVM newbie who has not kept sufficient backups. If at all
possible, I would like to keep my data intact.

Having successfully installed LVM on /dev/md0 (sd[ab]1) including root on
LVM, I was finally ready to kill my online backup on /dev/hda6. I pvcreated
it, vgextended it, and lvextended an lv that needed more room. When I
rebooted, however, vgscan cannot find my vg. I am using kernel 2.4.2 and
0.9.1_beta5.

I downloaded beta6 tools and created a separate initrd on another machine
that gives me a bash prompt, but vgscan now complains of invalid i/o
protocol v. 11. I did try the UUID trick found in the mailing list archives,
and I have verified that both my PV's have the correct list of UUIDs in
order, but beta5 vgscan still complains of no volume groups found.

Does anyone know how to build /etc/lvmtab and /etc/lvmtab.d/* manually, so
that I can get back into my normal root volume? And how can I fix my VGDA so
that vgscan can use it?

Yours in Need,
jdehaan@home.com

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

* Re: [linux-lvm] vgscan -- no volume groups found
  2001-04-04 14:42 [linux-lvm] vgscan -- no volume groups found Jonathan DeHaan
@ 2001-04-04 20:35 ` Andreas Dilger
  2001-04-04 21:06   ` Jonathan DeHaan
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Dilger @ 2001-04-04 20:35 UTC (permalink / raw)
  To: linux-lvm

You write:
> Having successfully installed LVM on /dev/md0 (sd[ab]1) including root on
> LVM, I was finally ready to kill my online backup on /dev/hda6. I pvcreated
> it, vgextended it, and lvextended an lv that needed more room. When I
> rebooted, however, vgscan cannot find my vg. I am using kernel 2.4.2 and
> 0.9.1_beta5.
> 
> I downloaded beta6 tools and created a separate initrd on another machine
> that gives me a bash prompt, but vgscan now complains of invalid i/o
> protocol v. 11. I did try the UUID trick found in the mailing list archives,
> and I have verified that both my PV's have the correct list of UUIDs in
> order, but beta5 vgscan still complains of no volume groups found.

Beta5 was a strange beast, and it is the only one with IOP 11.  You need
to run beta5 tools with a beta5 kernel.  Otherwise, you should run beta6
tools with beta6 kernel, or beta[234] tools with beta[2346] kernel.

I don't recall which problems were fixed beta5 -> beta6.  Is it possible
for you to get another kernel (beta6 preferrably) so you can run beta6
tools?

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

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

* RE: [linux-lvm] vgscan -- no volume groups found
  2001-04-04 20:35 ` Andreas Dilger
@ 2001-04-04 21:06   ` Jonathan DeHaan
  2001-04-04 21:19     ` Les Hazelton
  2001-04-04 21:56     ` Andreas Dilger
  0 siblings, 2 replies; 5+ messages in thread
From: Jonathan DeHaan @ 2001-04-04 21:06 UTC (permalink / raw)
  To: linux-lvm

beta 6 tools vgscan seems to work, and with a beta6 kernel, I am finally
back into my system. However, I cannot mount loop devices. losetup works,
but mount fails with no messages, and it's process cannot be killed even
with kill -9. ps lists it's state as D (uninterruptable sleep). Any ideas?

Jonathan DeHaan
jdehaan@home.com

> > Having successfully installed LVM on /dev/md0 (sd[ab]1)
> including root on
> > LVM, I was finally ready to kill my online backup on /dev/hda6.
> I pvcreated
> > it, vgextended it, and lvextended an lv that needed more room. When I
> > rebooted, however, vgscan cannot find my vg. I am using kernel 2.4.2 and
> > 0.9.1_beta5.
> >
> > I downloaded beta6 tools and created a separate initrd on
> another machine
> > that gives me a bash prompt, but vgscan now complains of invalid i/o
> > protocol v. 11. I did try the UUID trick found in the mailing
> list archives,
> > and I have verified that both my PV's have the correct list of UUIDs in
> > order, but beta5 vgscan still complains of no volume groups found.
>
> Beta5 was a strange beast, and it is the only one with IOP 11.  You need
> to run beta5 tools with a beta5 kernel.  Otherwise, you should run beta6
> tools with beta6 kernel, or beta[234] tools with beta[2346] kernel.
>
> I don't recall which problems were fixed beta5 -> beta6.  Is it possible
> for you to get another kernel (beta6 preferrably) so you can run beta6
> tools?
>
> Cheers, Andreas
> --
> Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
>                  \  would they cancel out, leaving him still hungry?"
> http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
>

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

* Re: [linux-lvm] vgscan -- no volume groups found
  2001-04-04 21:06   ` Jonathan DeHaan
@ 2001-04-04 21:19     ` Les Hazelton
  2001-04-04 21:56     ` Andreas Dilger
  1 sibling, 0 replies; 5+ messages in thread
From: Les Hazelton @ 2001-04-04 21:19 UTC (permalink / raw)
  To: linux-lvm

Jonathan DeHaan wrote:
> 
> beta 6 tools vgscan seems to work, and with a beta6 kernel, I am finally
> back into my system. However, I cannot mount loop devices. losetup works,
> but mount fails with no messages, and it's process cannot be killed even
> with kill -9. ps lists it's state as D (uninterruptable sleep). Any ideas?
> 
----  snip ----

This sounds like a 2.4.2 kernel.  I had the same problem with that
kernel.  Loopback is broken in that kernel.  When I moved to the 2.4.3
kernel the problem was corrected.

> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

-- 

Good Journey, longevity and prosperity to all

Les Hazelton

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

* Re: [linux-lvm] vgscan -- no volume groups found
  2001-04-04 21:06   ` Jonathan DeHaan
  2001-04-04 21:19     ` Les Hazelton
@ 2001-04-04 21:56     ` Andreas Dilger
  1 sibling, 0 replies; 5+ messages in thread
From: Andreas Dilger @ 2001-04-04 21:56 UTC (permalink / raw)
  To: linux-lvm

Jonathan DeHaan writes:
> beta 6 tools vgscan seems to work, and with a beta6 kernel, I am finally

Yes, I know.  I have submitted a patch for this already.

> back into my system. However, I cannot mount loop devices. losetup works,
> but mount fails with no messages, and it's process cannot be killed even
> with kill -9. ps lists it's state as D (uninterruptable sleep). Any ideas?

If you have 2.4.2 then this is a bug in the kernel.  I think it is fixed
in 2.4.3.  I just had the same problem this afternoon.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

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

end of thread, other threads:[~2001-04-04 21:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-04 14:42 [linux-lvm] vgscan -- no volume groups found Jonathan DeHaan
2001-04-04 20:35 ` Andreas Dilger
2001-04-04 21:06   ` Jonathan DeHaan
2001-04-04 21:19     ` Les Hazelton
2001-04-04 21:56     ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).