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 1QdjhK-0004ep-05 for garchives@archives.gentoo.org; Mon, 04 Jul 2011 14:00:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B493E0517; Mon, 4 Jul 2011 13:59:03 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [94.23.166.77]) by pigeon.gentoo.org (Postfix) with ESMTP id E8E16E0517 for ; Mon, 4 Jul 2011 13:59:02 +0000 (UTC) Received: from weird.localnet (p5B274C3C.dip.t-dialin.net [91.39.76.60]) (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 DAC274A800C for ; Mon, 4 Jul 2011 15:59:01 +0200 (CEST) From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] LVM filter question Date: Mon, 04 Jul 2011 15:59:01 +0200 Message-ID: <3516868.EHezChmIEh@weird> User-Agent: KMail/4.6.0 (Linux/2.6.38-pf8; KDE/4.6.4; x86_64; ; ) In-Reply-To: <20110702140506.675c4b5f@memphis.local> References: <2221552.SqJE6SpXT6@weird> <1650610.1AM32QgSHt@weird> <20110702140506.675c4b5f@memphis.local> 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: defe42bf61a9a0af15db2ec62d95e6d3 David W Noon wrote: > 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). OK, I tried that now with an external drive that also spins down after some minutes - hdparm -Y does not work for external drives it seems. I made a single partition /dev/sdj1 (BTW, what will happen if I add 17 more drives? and I run out of letters?), waited until the drive spun down, issued pvscan and whooooooosh, the drive is back. So it seems there is no solution, I think I just have to live with this. AFAIK spinning up and down often is not too bad for a drive nowadays, but some drives are 5 years old. All drives also spin up when I let Digikam retrieve photos from my camera. And it seems drives with mounted partitions also sometimes spin down then I delete files, but I cannot reproduce this right now. Strange. But this would be great, because it's annoying to let a drive spin up just because I delete a file somewhere. Thanks for your ideas David, too bad it didn't work. Wonko