From owner-freebsd-geom@FreeBSD.ORG Wed Sep 27 18:42:37 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1271F16A403 for ; Wed, 27 Sep 2006 18:42:37 +0000 (UTC) (envelope-from rexroof@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id F12ED43D55 for ; Wed, 27 Sep 2006 18:42:35 +0000 (GMT) (envelope-from rexroof@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so136166nzn for ; Wed, 27 Sep 2006 11:42:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=O47sum3irgmlv+mZ9Hp3Yj5HAEjixOQq8BGXgLtzpbnX8HyQdchG7mCM2eKDWi9VumzUzQVClaAb1sRmnZ9jOVdIM0plG1JLsmiFrs4h6NZBuWabaPDNHqwg0CIf+Y77J5uBUSxnULl8AO/3ZdUDyTXkWr6iGYhtda9zhq/ztBw= Received: by 10.65.139.9 with SMTP id r9mr455658qbn; Wed, 27 Sep 2006 11:42:34 -0700 (PDT) Received: by 10.65.40.1 with HTTP; Wed, 27 Sep 2006 11:42:34 -0700 (PDT) Message-ID: <6afb69aa0609271142v7bb6fe4bkbc1dd588bfaa5607@mail.gmail.com> Date: Wed, 27 Sep 2006 14:42:34 -0400 From: "Rex Roof" To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: mirror/stripe freezing under FreeBSD 5.5 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 18:42:37 -0000 I have 6 SATA drives set up as 3 separate mirrors of 2 disks each, and then have those 3 volumes striped together. I originally set this up on a FreeBSD 5.4 machine and then moved the SATA controllers and the disks over to a newer FreeBSD 5.5 machine. after putting geom_mirror_load="YES" and geom_stripe_load="YES" in my loader.conf and rebooting, the drives and the volumes appeared and my data came up as I expected. But now, I'm getting intermittent freezing on this machine. before adding these disks, this machine functioned fine as my workstation with the same OS install for a few months. During the freezing, I'm not seeing any dmesg errors, but once I changed kern.geom.mirror.debug: 1 and kern.geom.stripe.debug: 1 using sysctl, I am seeing this on each side of the freezing: GEOM_MIRROR[1]: Disk ad12 (device mirtwo) marked as dirty. GEOM_MIRROR[1]: Disk ad16 (device mirthr) marked as dirty. GEOM_MIRROR[1]: Disk ad4 (device mirone) marked as dirty. GEOM_MIRROR[1]: Disk ad6 (device mirtwo) marked as dirty. GEOM_MIRROR[1]: Disk ad14 (device mirthr) marked as dirty. GEOM_MIRROR[1]: Disk ad8 (device mirone) marked as dirty. GEOM_MIRROR[1]: Disk ad16 (device mirthr) marked as clean. GEOM_MIRROR[1]: Disk ad14 (device mirthr) marked as clean. GEOM_MIRROR[1]: Disk ad12 (device mirtwo) marked as clean. GEOM_MIRROR[1]: Disk ad6 (device mirtwo) marked as clean. GEOM_MIRROR[1]: Disk ad4 (device mirone) marked as clean. GEOM_MIRROR[1]: Disk ad8 (device mirone) marked as clean. I see this freezing every 10 or 20 minutes, and it remains frozen for about 90 seconds. I run screen on this machine, and my screen sessions work fine, but trying to run dmesg or w or similar commands results in blocking until the disks start responding again. I tried increasing the debug level to 2, using sysctl, but that gave me way too much info and started constant disk hangups. This volume stores mostly music , accessed via mt-daapd and nfsd. In the previous FreeBSD 5.4 machine, this disk setup worked fine. Also, when I moved the disks from one machine to the other, neither the sata controllers or the disks were connected in the same order, but I was under the impression that that wouldn't matter. Anyone have any ideas? or any suggestions for further debugging?