From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qck1l-0001XB-5E for garchives@archives.gentoo.org; Fri, 01 Jul 2011 20:09:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98EED1C056; Fri, 1 Jul 2011 20:05:13 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [94.23.166.77]) by pigeon.gentoo.org (Postfix) with ESMTP id 60BA41C056 for ; Fri, 1 Jul 2011 20:05:13 +0000 (UTC) Received: from weird.localnet (p5B274E10.dip.t-dialin.net [91.39.78.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id BF1574A800C for ; Fri, 1 Jul 2011 22:05:12 +0200 (CEST) From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] LVM filter question Date: Fri, 01 Jul 2011 22:05:12 +0200 Message-ID: <2221552.SqJE6SpXT6@weird> User-Agent: KMail/4.6.0 (Linux/2.6.38-pf8; KDE/4.6.4; x86_64; ; ) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: X-Archives-Hash: a36f2b53f90c49a9e596b3881acc4506 Hi there! I am using LVM heavily, but I decided to not use it for some additional, smaller hard drives I use for backups and that I do not want to spin up every time I do LVM stuff, like pvscan, lvscan, vgchange. As all devices are scanned in this case, I edited the filter in /etc/lvm/lvm.conf: filter = [ "r|/dev/nbd.*|", "r|/dev/sdd|", "a/.*/" ] This should reject /dev/sdd from scanning. But it doesn't, pvscan spins it up. Any idea why it is not being ignored? Wonko