From mboxrd@z Thu Jan 1 00:00:00 1970 From: NeilBrown Subject: Re: Fwd: (user) Help needed: mdadm seems to constantly touch my disks Date: Tue, 20 Dec 2016 10:39:26 +1100 Message-ID: <87inqftro1.fsf@notabene.neil.brown.name> References: <871sxbz4yz.fsf@notabene.neil.brown.name> <87inqgvpyj.fsf@notabene.neil.brown.name> <87twa0tvma.fsf@notabene.neil.brown.name> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: Jure =?utf-8?Q?Erzno=C5=BEnik?= Cc: linux-raid@vger.kernel.org List-Id: linux-raid.ids --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, Dec 19 2016, Jure Erzno=C5=BEnik wrote: > I have made two blktraces at the same time: one for md0 and one for a > member of the array. I hope they will show something sensible. > > I dropped them here: > http://expirebox.com/download/ee081fa4f85ffbd0bfad68e4ee257e11.html > > The file will be available for 48 hours or so they say. Thanks. The blktrace_md0.txt file shows several writes that originate from iscsi_trx so it looks like 'md0' (or some other device that is built on it) is being exported as an iscsi target. Is that correct? There are also some large (1024 sector) writes being generated about once per second. That is very clearly something being written to md0, not something that md0 is doing itself. They are generated by a kworker. It might be iscsi related, but it might be something else. Try disabling the iscsi export and if the strange traffic still appears, collect another blktrace (maybe for a bit longer - 30 seconds?). Also please report output of ls -l /sys/block/md0/holders/ fuser /dev/md0 when the problem is occurring. NeilBrown --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAlhYb64ACgkQOeye3VZi gbkAIg/7BM6B3jWKn0MLMQxVJhBwGYaOLSXUeeHME4Xpakg3avUU0GKANq2yNK8f bCfC16RboFf03Gb/tBsS/ZoVNaTN+iv/FJcJxOyV2EW7HhxKmsw5A6ZdrzNAmA24 dEqE01NwJAD5djpfap5rZuvr84CicQd9yOdYHKFvTiOYTdAzgr/Q4kW0exDAABZo /fzrfewpCgbrUYukYzKqs7b00dgB2jpxIKJSRT9zvOuY4elvM14TuGoCgAHtnpeq ARMLeFfwFeDy5Ny1WP5WbQkVJWFitzQ8NOHGijlSVrxC+5Sh3aKAUIf5rDqoQ+Vl 6PMZy5xuf0sm8OyvEE4AEDfn17m9heUsZ1DD6HR/tZR5ubZ29znvK0iIBNLoFxzo R5d5/wl4HhC1BwjsbJXThG4ZnN1M50HaUQgMi3TNl1ldTJprNxl+vuZAT0E6UAvS 5hpI9AHWc2fs2TdBQ2EpySIIZticFRPPKsHJJOLcAidtWa133WDUxo59lJ/XF20n O3IqD3EdeR7lgt7FcTYDMOuPjXQKPzV24uBVOqQvuKZYPzL1ZyjlqaUShVWXASJy 9klc7unMKdo7fnMQj3NLIcMOxzFpFawZ9aLc3RTnKH/3yl4oZWvIwX3GKmOnBh+g 90UYV+elObGSUaRnxEpSGr4Bm7nWhpYe0BI7u9OWEIerjS05VeE= =Ga1t -----END PGP SIGNATURE----- --=-=-=--