All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Brian J. Murrell" <brian@interlinx.bc.ca>
To: bmr@redhat.com,
	LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] vgchange doesn't enable found VGs
Date: Fri, 27 Feb 2009 12:30:30 -0500	[thread overview]
Message-ID: <1235755830.1193.40.camel@pc.interlinx.bc.ca> (raw)
In-Reply-To: <49A81CA2.7080907@redhat.com>

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

On Fri, 2009-02-27 at 17:02 +0000, Bryn M. Reeves wrote:
> 
> So it's not scanning /dev/sda at all (only ramdisks?).

So it seems, yes.

> Do you have any
> filter settings in lvm.conf

devices {
    dir = "/dev"
    scan = [ "/dev" ]
    preferred_names = [ ]
    filter = [ "a/.*/" ]
    cache_dir = "/etc/lvm/cache"
    cache_file_prefix = ""
    write_cache_state = 1
    sysfs_scan = 1      
    md_component_detection = 1
    ignore_suspended_devices = 0
}

>  and are you sure that the SD device nodes
> will have been created at this point in the boot process?

Well, the data from the previous message was done on a fully booted
machine, complete with /dev/sda being present for many, many minutes if
not hours.

> You don't mention the distribution you're using

RHEL5.2.

> but most 2.6 based
> setups will use udev to manage driver loading and device node creation
> during boot. It's possible for these to get out of sync in some cases.

Yes, but again, the data I am giving you is being taken from a
completely up and running system.

> Is there any way you can grab a listing of /dev at the moment the
> vgchange runs during boot?

Not relevant per above.

> Did it scan /dev/sda this time?

Yes.

> Just to be clear, are you only seeing this problem during boot or are
> you able to reproduce once the system has completed booting (i.e.
> vgchange -ay fails but vgchange -ay <vg name> succeeds)?

As per the above, I can reproduce on a completed booted system.

b.


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-02-27 17:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-27 15:36 [linux-lvm] vgchange doesn't enable found VGs Brian J. Murrell
2009-02-27 16:29 ` Bryn M. Reeves
2009-02-27 16:38   ` Brian J. Murrell
2009-02-27 17:02     ` Bryn M. Reeves
2009-02-27 17:30       ` Brian J. Murrell [this message]
2009-02-27 20:00         ` Alasdair G Kergon
2009-02-27 20:19           ` Brian J. Murrell
2009-02-27 20:31             ` Brian J. Murrell
2009-02-27 21:26               ` Alasdair G Kergon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1235755830.1193.40.camel@pc.interlinx.bc.ca \
    --to=brian@interlinx.bc.ca \
    --cc=bmr@redhat.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.