All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] LVM skips /dev/hde3 because sysfs tells it not to use it
Date: Thu, 05 Feb 2009 22:24:30 +0100	[thread overview]
Message-ID: <498B590E.3020901@redhat.com> (raw)
In-Reply-To: <jwvfxisobi2.fsf-monnier+gmane.linux.lvm.general@gnu.org>

Stefan Monnier wrote:
> I had to disable sysfs_scan before pvcreate accepted to use /dev/hde3 on
> a little MIPS box.
> 
> How does LVM decide whether sysfs tells it to use a block device or not?
> And why would /dev/hde (an internal IDE drive) be presented by sysfs as
> "not to be used by LVM"?

It should be possible to use the device unless there is some filter set.

Run the command with debug on (add -vvvv) and you will see which filter disabled
the device and why.

I guess you can also hit this "known" problem with 
old lvm toolset (<2.02.29) and new kernel with new sysfs layout.

*If* it is this situation you can fix it using one of the following
	1) disable sysfs scan
	2) upgrade lvm 
	3) switch CONFIG_SYSFS_DEPRECATED_V2 kernel config on and recompile kernel

Milan
--
mbroz@redhat.com

  parent reply	other threads:[~2009-02-05 21:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-05 20:51 [linux-lvm] LVM skips /dev/hde3 because sysfs tells it not to use it Stefan Monnier
2009-02-05 21:16 ` Alasdair G Kergon
2009-02-05 21:24 ` Milan Broz [this message]
2009-02-06 15:25   ` [linux-lvm] " Stefan Monnier

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=498B590E.3020901@redhat.com \
    --to=mbroz@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.