From mboxrd@z Thu Jan 1 00:00:00 1970 From: NeilBrown Subject: Re: Understanding raid array status: Active vs Clean Date: Sat, 28 Jun 2014 15:29:39 +1000 Message-ID: <20140628152939.367e4b2d@notabene.brown> References: <20140529151658.3bfc97e5@notabene.brown> <1C901CF6-75BD-4B54-9F5D-7E2C35633CBC@gmail.com> <20140529160623.5b9e37e5@notabene.brown> <20140618150326.GA28569@cthulhu.home.robinhill.me.uk> <20140623120102.7d85ac52@notabene.brown> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/U2y3X.sEaJH44c+d=c3FBOy"; protocol="application/pgp-signature" Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: George Duffield Cc: "linux-raid@vger.kernel.org" List-Id: linux-raid.ids --Sig_/U2y3X.sEaJH44c+d=c3FBOy Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 28 Jun 2014 05:01:00 +0200 George Duffield wrote: > >> > changing the value to 0.500: > >> > # echo 0.503 > /sys/block/md0/md/safe_mode_delay > >> > > >> > makes no difference to the array state. > > > > What if you write a smaller number? e.g. 0.1 >=20 > No change to array state. >=20 > > What does /sys/block/md0/md/array_state show? >=20 > Funnily enough, it shows Clean Ahh - I found it. In get_array_info() in drivers/md/md.c: if (mddev->in_sync) info.state =3D (1<bitmap && mddev->bitmap_info.offset) info.state =3D (1<