Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] LVM filter question
Date: Fri, 01 Jul 2011 20:09:25
Message-Id: 2221552.SqJE6SpXT6@weird
1 Hi there!
2
3 I am using LVM heavily, but I decided to not use it for some additional,
4 smaller hard drives I use for backups and that I do not want to spin up
5 every time I do LVM stuff, like pvscan, lvscan, vgchange. As all devices are
6 scanned in this case, I edited the filter in /etc/lvm/lvm.conf:
7
8 filter = [ "r|/dev/nbd.*|", "r|/dev/sdd|", "a/.*/" ]
9
10 This should reject /dev/sdd from scanning. But it doesn't, pvscan spins it
11 up. Any idea why it is not being ignored?
12
13 Wonko

Replies

Subject Author
Re: [gentoo-user] LVM filter question David W Noon <dwnoon@××××××××.com>