From: Timo Reimann Subject: Re: NFS server waking up sleeping disks Date: Sun, 09 Mar 2008 03:58:17 +0100 Message-ID: <47D35249.7020000@foo-lounge.de> References: <1204969522.11220.680.camel@hurina> <47D29BC2.9000806@foo-lounge.de> <1205018864.11220.689.camel@hurina> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Cc: linux-nfs@vger.kernel.org To: Timo Sirainen Return-path: Received: from server3.hostprice.de ([213.239.211.250]:41614 "EHLO server3.hostprice.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750755AbYCIC60 (ORCPT ); Sat, 8 Mar 2008 21:58:26 -0500 In-Reply-To: <1205018864.11220.689.camel@hurina> Sender: linux-nfs-owner@vger.kernel.org List-ID: Timo Sirainen wrote: > On Sat, 2008-03-08 at 14:59 +0100, Timo Reimann wrote: >> Timo Sirainen wrote: >>> My Linux 2.6.24.1 NFS server has two disks. One of them is rarely used, >>> so it's normally sleeping and is not even mounted anywhere. But after >>> the NFS mount hasn't been used for a while (some hours?) doing just a >>> "ls" on NFS client causes the sleeping disk to wake up and the "ls" >>> reply is delayed a few seconds until the wakeup is finished. >>> >>> Any ideas why it's waking up the disk that has nothing to do with NFS, >>> and how to prevent it from doing this? >> Your issue might be related to the same that I have (which is still >> unresolved). Basically, my non-mounted backup disk keeps spinning up >> after a rough 20-25 minutes of sleeping. Check out my archived thread >> for details and hints how to determine disk-accessing processes: >> >> http://marc.info/?l=linux-nfs&m=120354580303104&w=2 >> >> However, there is no `ls' or similar call required to wake up my disk. >> It just happens. > > Thanks, mountd is indeed the problem: > > I'll go figure out why it's doing this. If you find a solution prior to the other guys who offered their help to me, please let us (especially me :) ) know. --Timo