linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] odd problem
@ 2001-05-01 22:36 Todd Underwood
  2001-05-01 23:12 ` Andreas Dilger
  0 siblings, 1 reply; 6+ messages in thread
From: Todd Underwood @ 2001-05-01 22:36 UTC (permalink / raw)
  To: linux-lvm

folx,

i have 2.4.3 with beta-7 patches installed and beta-7 userland tools.  i'm
using lvm-initrd with a boot partition on /dev/hda2 and LVM root and other
filesystems on a few scsi disks.  all was working well but recently i
needed to reboot (i was unable to increase the size of my / with the
online ext2 tools and it was full--not sure what the error was there, or
whether that is relevant).

in any case, now i reboot and i get
lvm -- lvm_chr_ioctl:  unknown command 4004fe0a
vgchange -- volume group "rootvg" successfully activated

VGS: Mounted root (ext2 filesystem) readonly.
change_root: old root has d_count=3
Trying to unmount old root ... <7>uhci.c: suspect_hd
okay

a bunch of other stuff

then:

Activating swap partitions swapon: /dev/rootvg/swap: Invalid argument
Setting hostname zapata.staff.osogrande.net execvp: No such file or
directory

/etc/rc.d/rc.sysinit:  domainname: command not found

and so on.  looks like nothing's mounted.  the same kernel boots fine with
an older root fs on a 'real' partition.

any suggestions?

todd underwood
chief technology officer
oso grande technologies, inc.
todd@osogrande.com

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

* RE: [linux-lvm] odd problem
@ 2001-05-01 22:48 Day, Evan
  2001-05-01 22:58 ` Todd Underwood
  0 siblings, 1 reply; 6+ messages in thread
From: Day, Evan @ 2001-05-01 22:48 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

It sounds like the kernel patch revision doesn't match the revision of 
the user-level tools - I saw these types of messages when running beta-7 
tools with a stock 2.4.3 kernel.  Have you made sure the tools/libraries 
on your initrd image are up to date?

-Evan

-----Original Message-----
From: Todd Underwood [mailto:todd@osogrande.com]
Sent: Tuesday, May 01, 2001 3:36 PM
To: linux-lvm@sistina.com
Subject: [linux-lvm] odd problem


folx,

i have 2.4.3 with beta-7 patches installed and beta-7 userland tools.  i'm
using lvm-initrd with a boot partition on /dev/hda2 and LVM root and other
filesystems on a few scsi disks.  all was working well but recently i
needed to reboot (i was unable to increase the size of my / with the
online ext2 tools and it was full--not sure what the error was there, or
whether that is relevant).

in any case, now i reboot and i get
lvm -- lvm_chr_ioctl:  unknown command 4004fe0a
vgchange -- volume group "rootvg" successfully activated

VGS: Mounted root (ext2 filesystem) readonly.
change_root: old root has d_count=3
Trying to unmount old root ... <7>uhci.c: suspect_hd
okay

a bunch of other stuff

then:

Activating swap partitions swapon: /dev/rootvg/swap: Invalid argument
Setting hostname zapata.staff.osogrande.net execvp: No such file or
directory

/etc/rc.d/rc.sysinit:  domainname: command not found

and so on.  looks like nothing's mounted.  the same kernel boots fine with
an older root fs on a 'real' partition.

any suggestions?

todd underwood
chief technology officer
oso grande technologies, inc.
todd@osogrande.com


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

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

* RE: [linux-lvm] odd problem
  2001-05-01 22:48 [linux-lvm] odd problem Day, Evan
@ 2001-05-01 22:58 ` Todd Underwood
  0 siblings, 0 replies; 6+ messages in thread
From: Todd Underwood @ 2001-05-01 22:58 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

howdy,

i'm almost positive (i know... famous last words) that they are up to
date, because the same kernel boots with a different root. 

i lost some files in /etc/ due to stupidity and had to restore them (the
wonders of ext2 file undeletion by hand!) but i ran vgck to check volumes
and it seems fine.  i even copied all of /etc/ over from the working linux
root partition to the non-working logical volume and that didn't seem to
help.  i've run fsck on it to no avail.  

happy to provide addl info.  i'm going to double check that the patches
are on the kernel and the kernel is recompiled and the initrd is right and
the user tools are right.

todd underwood
chief technology officer
oso grande technologies, inc.
todd@osogrande.com

On Tue, 1 May 2001, Day, Evan wrote:

> Date: Tue, 1 May 2001 15:48:28 -0700
> From: "Day, Evan" <Evan.Day@SUMMITSITE.COM>
> Reply-To: linux-lvm@sistina.com
> To: "'linux-lvm@sistina.com'" <linux-lvm@sistina.com>
> Subject: RE: [linux-lvm] odd problem
> 
> It sounds like the kernel patch revision doesn't match the revision of 
> the user-level tools - I saw these types of messages when running beta-7 
> tools with a stock 2.4.3 kernel.  Have you made sure the tools/libraries 
> on your initrd image are up to date?
> 
> -Evan
> 
> -----Original Message-----
> From: Todd Underwood [mailto:todd@osogrande.com]
> Sent: Tuesday, May 01, 2001 3:36 PM
> To: linux-lvm@sistina.com
> Subject: [linux-lvm] odd problem
> 
> 
> folx,
> 
> i have 2.4.3 with beta-7 patches installed and beta-7 userland tools.  i'm
> using lvm-initrd with a boot partition on /dev/hda2 and LVM root and other
> filesystems on a few scsi disks.  all was working well but recently i
> needed to reboot (i was unable to increase the size of my / with the
> online ext2 tools and it was full--not sure what the error was there, or
> whether that is relevant).
> 
> in any case, now i reboot and i get
> lvm -- lvm_chr_ioctl:  unknown command 4004fe0a
> vgchange -- volume group "rootvg" successfully activated
> 
> VGS: Mounted root (ext2 filesystem) readonly.
> change_root: old root has d_count=3
> Trying to unmount old root ... <7>uhci.c: suspect_hd
> okay
> 
> a bunch of other stuff
> 
> then:
> 
> Activating swap partitions swapon: /dev/rootvg/swap: Invalid argument
> Setting hostname zapata.staff.osogrande.net execvp: No such file or
> directory
> 
> /etc/rc.d/rc.sysinit:  domainname: command not found
> 
> and so on.  looks like nothing's mounted.  the same kernel boots fine with
> an older root fs on a 'real' partition.
> 
> any suggestions?
> 
> todd underwood
> chief technology officer
> oso grande technologies, inc.
> todd@osogrande.com
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> 
> 

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

* Re: [linux-lvm] odd problem
  2001-05-01 22:36 Todd Underwood
@ 2001-05-01 23:12 ` Andreas Dilger
  2001-05-02 11:23   ` Todd Underwood
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Dilger @ 2001-05-01 23:12 UTC (permalink / raw)
  To: linux-lvm

Todd Underwood writes:
> All was working well but recently i needed to reboot (i was unable to
> increase the size of my / with the online ext2 tools and it was full
> --not sure what the error was there, or whether that is relevant).

Probably not relevant, but it is of interest to me what sort of problems
you had.  I assume you have patched the kernel with the online ext2
kernel patches and also enabled CONFIG_EXT2_RESIZE?  You should not have
any problems resizing root.

> lvm -- lvm_chr_ioctl:  unknown command 4004fe0a

Expected behaviour with new tools (compatibility reasons).  However, it
_does_ indicate that you do not have beta7 LVM kernel code.

> VGS: Mounted root (ext2 filesystem) readonly.
> change_root: old root has d_count=3
> Trying to unmount old root ... <7>uhci.c: suspect_hd
> okay

Don't know about this.

> a bunch of other stuff

Hmm...

> Activating swap partitions swapon: /dev/rootvg/swap: Invalid argument
> Setting hostname zapata.staff.osogrande.net execvp: No such file or
> directory
> 
> /etc/rc.d/rc.sysinit:  domainname: command not found
> 
> and so on.  looks like nothing's mounted.  the same kernel boots fine with
> an older root fs on a 'real' partition.

Do you run "vgchange -a y" (and optionally vgscan) in startup scripts?
There is a "LVM root howto" somewhere on the Sistina site.

Cheers, Andreas
-- 
Andreas Dilger                               Turbolinux filesystem development
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

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

* RE: [linux-lvm] odd problem
@ 2001-05-01 23:28 Day, Evan
  0 siblings, 0 replies; 6+ messages in thread
From: Day, Evan @ 2001-05-01 23:28 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

From: Andreas Dilger [mailto:adilger@turbolinux.com]
>Todd Underwood writes:
>> VGS: Mounted root (ext2 filesystem) readonly.
>> change_root: old root has d_count=3
>> Trying to unmount old root ... <7>uhci.c: suspect_hd
>> okay
>
>Don't know about this.

Is he using a USB storage device?  Isn't uhci.c part of the USB subsys?

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

* Re: [linux-lvm] odd problem
  2001-05-01 23:12 ` Andreas Dilger
@ 2001-05-02 11:23   ` Todd Underwood
  0 siblings, 0 replies; 6+ messages in thread
From: Todd Underwood @ 2001-05-02 11:23 UTC (permalink / raw)
  To: linux-lvm

andreas, folx,

thanks for the replies and suggestions.  comments below...

On Tue, 1 May 2001, Andreas Dilger wrote:

> Todd Underwood writes:
> > All was working well but recently i needed to reboot (i was unable to
> > increase the size of my / with the online ext2 tools and it was full
> > --not sure what the error was there, or whether that is relevant).
> 
> Probably not relevant, but it is of interest to me what sort of problems
> you had.  I assume you have patched the kernel with the online ext2
> kernel patches and also enabled CONFIG_EXT2_RESIZE?  You should not have
> any problems resizing root.

i am using the kernel patch and have CONFIG_EXT2_RESIZE.  i have had
problems with resizing when i resize several filesystems repeatedly by
small amounts (that is always my preference, rather than giving one big
boost that may waste space).  at the time i had difficulties the root was
full (except for space reserved for root), but i don't know if that is
relevant.  unfortunately, i've got no specifics to report, but i'll try to
reproduce it today.  

> > lvm -- lvm_chr_ioctl:  unknown command 4004fe0a
> 
> Expected behaviour with new tools (compatibility reasons).  However, it
> _does_ indicate that you do not have beta7 LVM kernel code.
> 

interesting.  i will recompile, recompile, re-lilo and try again.  this
really *was* working with that kernel before. sigh.  this is helpful to
know, though.

> Do you run "vgchange -a y" (and optionally vgscan) in startup scripts?
> There is a "LVM root howto" somewhere on the Sistina site.
> 

yes.  i put vgchange -a y and vgscan in /etc/rc.sysinit (it's a RH box)
and that seems to be working well for now without the LVM root, but given
the problems i've had with /etc, i will recheck the faq and try again.

again, thanks for the help.


todd

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

end of thread, other threads:[~2001-05-02 11:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-01 22:48 [linux-lvm] odd problem Day, Evan
2001-05-01 22:58 ` Todd Underwood
  -- strict thread matches above, loose matches on Subject: below --
2001-05-01 23:28 Day, Evan
2001-05-01 22:36 Todd Underwood
2001-05-01 23:12 ` Andreas Dilger
2001-05-02 11:23   ` Todd Underwood

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