-----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] ====================================================================== [email protected] (David W Noon) ====================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk4PF4oACgkQRQ2Fs59Psv/rLQCffhO28wgWhz/zE+FYwkgRlOfO 8xEAoJvn8soQYrXjiuyRxb5ue+rwUuTt =691b -----END PGP SIGNATURE-----

