All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Very long startup times of the lv*-tools
@ 2004-12-29 16:42 Erik Wasser
  2004-12-30 19:12 ` Alasdair G Kergon
  0 siblings, 1 reply; 6+ messages in thread
From: Erik Wasser @ 2004-12-29 16:42 UTC (permalink / raw)
  To: linux-lvm

Hello linux-lvm@redhat.com,

I've just created a LVM here and the lv* commands are taking very long 
(lvcreate is working for 10 minutes and is keep on going). I used a 
'strace -p PID' to get some more infos and I was amazed:

------------------------------------------------------------------------

stat64
("/dev/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc125/ide/host0/bus0/target0/lun0/part1", 
0xbfffe31c) = -1 ENOENT (No such file or directory)
stat64
("/dev/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc10/discs/disc160/ide/host0/bus0/target0/lun0/part1", 
0xbfffe31c) = -1 ENOENT (No such file or directory)
[...]

There were thousand of lines with that or similar. Is that normal? Is it 
a bug?

------------------------------------------------------------------------

I've done the following (from the gentoo homepage: 
http://www.gentoo.org/doc/en/lvm2.xml):

% mkdir -p /etc/lvm
% echo 'devices { filter=["r/cdrom/"] }' >/etc/lvm/lvm.conf
% vgscan
% vgchange -a y
% pvcreate /dev/hde1 /dev/hdf1 /dev/hdg1
% vgcreate backup-raid /dev/hde1
% vgextend backup-raid /dev/hdf1
% vgextend backup-raid /dev/hdg1
% lvcreate -L566G -nmain  backup-raid

I'm using lvm2 2.00.08 on a 'Linux fuzz 2.6.9-gentoo-r13 #1 Wed Dec 29 
10:41:06 CET 2004 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux'

Is there is something known about this issue? What else can I check?

-- 
So long... Fuzz

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

* Re: [linux-lvm] Very long startup times of the lv*-tools
  2004-12-29 16:42 [linux-lvm] Very long startup times of the lv*-tools Erik Wasser
@ 2004-12-30 19:12 ` Alasdair G Kergon
  2004-12-30 19:17   ` David Brown
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alasdair G Kergon @ 2004-12-30 19:12 UTC (permalink / raw)
  To: LVM general discussion and development

On Wed, Dec 29, 2004 at 05:42:04PM +0100, Erik Wasser wrote:
> I'm using lvm2 2.00.08 on a 'Linux fuzz 2.6.9-gentoo-r13 #1 Wed Dec 29 
> 10:41:06 CET 2004 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux'
 
> Is there is something known about this issue? What else can I check?
 
Upgrade LVM2!

Anyone know why so many gentoo users find themselves using old 
versions like that and don't upgrade?
I don't see this with Debian or Fedora users.

Alasdair
-- 
agk@redhat.com

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

* Re: [linux-lvm] Very long startup times of the lv*-tools
  2004-12-30 19:12 ` Alasdair G Kergon
@ 2004-12-30 19:17   ` David Brown
  2004-12-30 19:20   ` Jani Averbach
  2005-01-01 14:20   ` Erik Wasser
  2 siblings, 0 replies; 6+ messages in thread
From: David Brown @ 2004-12-30 19:17 UTC (permalink / raw)
  To: LVM general discussion and development

On Thu, Dec 30, 2004 at 07:12:39PM +0000, Alasdair G Kergon wrote:
> On Wed, Dec 29, 2004 at 05:42:04PM +0100, Erik Wasser wrote:
> > I'm using lvm2 2.00.08 on a 'Linux fuzz 2.6.9-gentoo-r13 #1 Wed Dec 29 
> > 10:41:06 CET 2004 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux'
>  
> > Is there is something known about this issue? What else can I check?
>  
> Upgrade LVM2!
> 
> Anyone know why so many gentoo users find themselves using old 
> versions like that and don't upgrade?
> I don't see this with Debian or Fedora users.

Because the gentoo developers are very timid in marking new versions of
packages as stable.  This philosophy works well for packages that are
mostly stable.  It doesn't work all that well with things that are being
improved rapidly, such as lvm.

Putting the following lines in /etc/portage/package.keywords will cause
gentoo to use the newest versions of these packages:

  sys-libs/device-mapper ~x86
  sys-fs/lvm2 ~x86

Interestingly, the kernel mentioned is rather update on the kernel patches.

Dave

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

* Re: [linux-lvm] Very long startup times of the lv*-tools
  2004-12-30 19:12 ` Alasdair G Kergon
  2004-12-30 19:17   ` David Brown
@ 2004-12-30 19:20   ` Jani Averbach
  2004-12-30 19:28     ` Alasdair G Kergon
  2005-01-01 14:20   ` Erik Wasser
  2 siblings, 1 reply; 6+ messages in thread
From: Jani Averbach @ 2004-12-30 19:20 UTC (permalink / raw)
  To: LVM general discussion and development

On 2004-12-30 19:12+0000, Alasdair G Kergon wrote:
> Upgrade LVM2!
> 
> Anyone know why so many gentoo users find themselves using old 
> versions like that and don't upgrade?

At the moment gentoo list lvm2 as following:

lvm2-2.00.08:    KEYWORDS="x86 ppc sparc amd64"
lvm2-2.00.15:    KEYWORDS="~x86 ppc ~sparc ~amd64 ppc64 ~alpha"
lvm2-2.00.15-r1: KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~ppc64 ~alpha"
lvm2-2.00.25:    KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~ppc64 ~alpha hppa"

Where '~' meand "testing", and arch code w/o '~' means stable.

2.00.25 is the latest version offered by portage-system.

I am not any way accosiated to the those ebuilds, I just use them. If
you like, I could file a bug about the current state of offers to the
Gentoo's bugzilla.

BR, Jani

-- 
Jani Averbach

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

* Re: [linux-lvm] Very long startup times of the lv*-tools
  2004-12-30 19:20   ` Jani Averbach
@ 2004-12-30 19:28     ` Alasdair G Kergon
  0 siblings, 0 replies; 6+ messages in thread
From: Alasdair G Kergon @ 2004-12-30 19:28 UTC (permalink / raw)
  To: LVM general discussion and development

On Thu, Dec 30, 2004 at 12:20:23PM -0700, Jani Averbach wrote:
> lvm2-2.00.08:    KEYWORDS="x86 ppc sparc amd64"

> Where '~' meand "testing", and arch code w/o '~' means stable.

2.00.08 should not be regarded as stable.

> 2.00.25 is the latest version offered by portage-system.
which is OK, but .32 contains more bug fixes and should be the
most stable version for most people.
 
Alasdair
-- 
agk@redhat.com

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

* Re: [linux-lvm] Very long startup times of the lv*-tools
  2004-12-30 19:12 ` Alasdair G Kergon
  2004-12-30 19:17   ` David Brown
  2004-12-30 19:20   ` Jani Averbach
@ 2005-01-01 14:20   ` Erik Wasser
  2 siblings, 0 replies; 6+ messages in thread
From: Erik Wasser @ 2005-01-01 14:20 UTC (permalink / raw)
  To: LVM general discussion and development

On Thursday 30 December 2004 20:12, Alasdair G Kergon wrote:

> On Wed, Dec 29, 2004 at 05:42:04PM +0100, Erik Wasser wrote:
> > I'm using lvm2 2.00.08 on a 'Linux fuzz 2.6.9-gentoo-r13 #1 Wed Dec
> > 29 10:41:06 CET 2004 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD
> > GNU/Linux'
> >
> > Is there is something known about this issue? What else can I
> > check?
>
> Upgrade LVM2!

Thanks for your help. lvm 2.00.25 is now working here fine.

> Anyone know why so many gentoo users find themselves using old
> versions like that and don't upgrade?
> I don't see this with Debian or Fedora users.

Well I think we have to blame the distributation politics for this. B-) 

-- 
So long... Fuzz

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

end of thread, other threads:[~2005-01-01 14:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-29 16:42 [linux-lvm] Very long startup times of the lv*-tools Erik Wasser
2004-12-30 19:12 ` Alasdair G Kergon
2004-12-30 19:17   ` David Brown
2004-12-30 19:20   ` Jani Averbach
2004-12-30 19:28     ` Alasdair G Kergon
2005-01-01 14:20   ` Erik Wasser

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.