public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: David W Noon <dwnoon@ntlworld.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] LVM filter question
Date: Sat, 2 Jul 2011 14:05:06 +0100	[thread overview]
Message-ID: <20110702140506.675c4b5f@memphis.local> (raw)
In-Reply-To: <1650610.1AM32QgSHt@weird>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 02 Jul 2011 14:19:08 +0200, Alex Schuster wrote about "Re:
[gentoo-user] LVM filter question":

>David W Noon writes:
[snip]
>> So, your r.e. should read:
>> 
>>    r|/dev/sdd.*|
>> 
>> which decodes to "reject ^/dev/sdd.*$ ".
>> 
>> This suppresses the scans of /dev/sdd1, /dev/sdd2, etc.
>> 
>> Now, you might not have any partitions on /dev/sdd, but LVM cannot
>> readily know that without reading the partition table, which spins up
>> the drive.  I guess LVM doesn't trust or, at least, depend upon udev
>> to supply the partition details.
>
>Good idea, didn't think about this. I tried that, but it did not help. 
>/dev/sdd indeed has no partitions, the whole drive is a LUKS container.

My best suggestion is to create a maximal primary partition as /dev/sdd1
and use that as your LUKS volume.  That way, LVM will receive the
partition details from udev and *might* not bother re-reading the
partition table (but don't bet big bucks on it).
- -- 
Regards,

Dave  [RLU #314465]
======================================================================
dwnoon@ntlworld.com (David W Noon)
======================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk4PF4oACgkQRQ2Fs59Psv/rLQCffhO28wgWhz/zE+FYwkgRlOfO
8xEAoJvn8soQYrXjiuyRxb5ue+rwUuTt
=691b
-----END PGP SIGNATURE-----

  reply	other threads:[~2011-07-02 13:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-01 20:05 [gentoo-user] LVM filter question Alex Schuster
2011-07-01 20:38 ` David W Noon
2011-07-02 12:19   ` Alex Schuster
2011-07-02 13:05     ` David W Noon [this message]
2011-07-04 13:59       ` Alex Schuster

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=20110702140506.675c4b5f@memphis.local \
    --to=dwnoon@ntlworld.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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