1 |
-----BEGIN PGP SIGNED MESSAGE-----
|
2 |
Hash: SHA1
|
3 |
|
4 |
On Sat, 02 Jul 2011 14:19:08 +0200, Alex Schuster wrote about "Re:
|
5 |
[gentoo-user] LVM filter question":
|
6 |
|
7 |
>David W Noon writes: |
8 |
[snip]
|
9 |
>> So, your r.e. should read: |
10 |
>> |
11 |
>> r|/dev/sdd.*| |
12 |
>> |
13 |
>> which decodes to "reject ^/dev/sdd.*$ ". |
14 |
>> |
15 |
>> This suppresses the scans of /dev/sdd1, /dev/sdd2, etc. |
16 |
>> |
17 |
>> Now, you might not have any partitions on /dev/sdd, but LVM cannot |
18 |
>> readily know that without reading the partition table, which spins up |
19 |
>> the drive. I guess LVM doesn't trust or, at least, depend upon udev |
20 |
>> to supply the partition details. |
21 |
> |
22 |
>Good idea, didn't think about this. I tried that, but it did not help. |
23 |
>/dev/sdd indeed has no partitions, the whole drive is a LUKS container. |
24 |
|
25 |
My best suggestion is to create a maximal primary partition as /dev/sdd1
|
26 |
and use that as your LUKS volume. That way, LVM will receive the
|
27 |
partition details from udev and *might* not bother re-reading the
|
28 |
partition table (but don't bet big bucks on it).
|
29 |
- --
|
30 |
Regards,
|
31 |
|
32 |
Dave [RLU #314465]
|
33 |
======================================================================
|
34 |
dwnoon@××××××××.com (David W Noon)
|
35 |
======================================================================
|
36 |
-----BEGIN PGP SIGNATURE-----
|
37 |
Version: GnuPG v2.0.17 (GNU/Linux)
|
38 |
|
39 |
iEYEARECAAYFAk4PF4oACgkQRQ2Fs59Psv/rLQCffhO28wgWhz/zE+FYwkgRlOfO
|
40 |
8xEAoJvn8soQYrXjiuyRxb5ue+rwUuTt
|
41 |
=691b
|
42 |
-----END PGP SIGNATURE----- |