From owner-freebsd-questions@FreeBSD.ORG Sun Feb 24 15:37:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A8A8C18D for ; Sun, 24 Feb 2013 15:37:01 +0000 (UTC) (envelope-from rob@midsummerdream.org) Received: from p3plsmtpa08-05.prod.phx3.secureserver.net (p3plsmtpa08-05.prod.phx3.secureserver.net [173.201.193.106]) by mx1.freebsd.org (Postfix) with ESMTP id 82319725 for ; Sun, 24 Feb 2013 15:37:01 +0000 (UTC) Received: from titania.midsummerdream.org ([107.197.157.90]) by p3plsmtpa08-05.prod.phx3.secureserver.net with id 4FaQ1l0061xJNYB01FaRzL; Sun, 24 Feb 2013 08:34:25 -0700 Subject: Re: Strange delays in ZFS scrub or resilver Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Rob Rati In-Reply-To: <20130224042340.11192.qmail@joyce.lan> Date: Sun, 24 Feb 2013 10:34:24 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <62D55343-CDFA-483B-AB6E-6F877AD6D093@midsummerdream.org> References: <20130224042340.11192.qmail@joyce.lan> To: John Levine X-Mailer: Apple Mail (2.1283) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2013 15:37:01 -0000 A bit of a stab in the dark here, but are any of the disks in your array = Advanced Format drives? If so, did you create a pool with a block size = of 4k? Lastly, are all the partitions on your disks (if any) aligned to = 4k sector boundaries (in the case of the Advanced Format disks)? Rob On Feb 23, 2013, at 11:23 PM, John Levine wrote: > I have a raidz of three 1 TB SATA drives, in USB enclosures. One of > the disks went bad, so I replaced it last night and it's been > resilvering ever since. I can watch the activity lights on the disks > and it cranks away for a minute or so, then stops for a minute, then > cranks for a minute, and so forth. If I do a zpool status while it's > stopped, the zpool waits until the I/O resumes, and a ^T shows it > waiting for zio->io_cv. >=20 > I'm running FreeBSD 9.1, amd64 version, totally vanilla install on a > mini-itx box with 4GB of RAM. The root/swap disk is an SSD separate > from the zfs disks. When the disks are active, top shows about 10% > system time and 4% interrupt. When it isn't, top shows about 99.8% > idle. The server isn't doing much else, and nothing else currently > touches the disks. (They're for remote backup of a system somewhere > else, and I have the backup job turned off until resilvering > completes.) >=20 > I'm running this on the console, and there are no disk error messages. >=20 > Any idea what's going on or how to fix it? I could move the disks to > an ESATA enclosure if USB is losing interrupts or something. >=20 > My recollection is that when I've done a scrub, it does the same = thing, > work, pause, work, pause. >=20 > R's, > John > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" >=20