From: "Bryn M. Reeves" <bmr@redhat.com>
To: "Brian J. Murrell" <brian@interlinx.bc.ca>
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] vgchange doesn't enable found VGs
Date: Fri, 27 Feb 2009 17:02:26 +0000 [thread overview]
Message-ID: <49A81CA2.7080907@redhat.com> (raw)
In-Reply-To: <1235752705.1193.32.camel@pc.interlinx.bc.ca>
Brian J. Murrell wrote:
> /dev/ram14: Not using O_DIRECT Opened /dev/ram14 RO /dev/ram14:
> block size is 4096 bytes /dev/ram14: No label detected Closed
> /dev/ram14 /dev/ram15: Not using O_DIRECT Opened /dev/ram15 RO
> /dev/ram15: block size is 4096 bytes /dev/ram15: No label detected
> Closed /dev/ram15 No volume groups found
So it's not scanning /dev/sda at all (only ramdisks?). Do you have any
filter settings in lvm.conf and are you sure that the SD device nodes
will have been created at this point in the boot process?
You don't mention the distribution you're using 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.
Is there any way you can grab a listing of /dev at the moment the
vgchange runs during boot?
>
> When I specify the volume group, I see this:
>
> Processing: vgchange -v -v -v -a n lustre O_DIRECT will be used
> Setting global/locking_type to 1 File-based locking selected.
> Setting global/locking_dir to /var/lock/lvm Using volume group(s)
> on command line Locking /var/lock/lvm/V_lustre RB Finding volume
> group "lustre" ...
Did it scan /dev/sda this time?
> Wiping cache of LVM-capable devices /dev/console: Not a block
> device /dev/core: Not a block device /dev/evtchn: Not a block
> device /dev/fd: Symbolic link to directory ...
>
> and it considers a whole boatload more devices, including /dev/sda,
> where my volume groups is. Now the one thing that just occurred
> to me as relevant is that my root filesystem (/) is read-only.
Shouldn't matter.
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)?
Your earlier messages didn't make that clear.
Regards,
Bryn.
next prev parent reply other threads:[~2009-02-27 17:02 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 [this message]
2009-02-27 17:30 ` Brian J. Murrell
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=49A81CA2.7080907@redhat.com \
--to=bmr@redhat.com \
--cc=brian@interlinx.bc.ca \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox