From owner-freebsd-stable@FreeBSD.ORG Thu Jul 18 09:45:32 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 41D68842 for ; Thu, 18 Jul 2013 09:45:32 +0000 (UTC) (envelope-from sowmya@cloudbyte.co) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by mx1.freebsd.org (Postfix) with ESMTP id C32B21FB for ; Thu, 18 Jul 2013 09:45:31 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id 10so2303350lbf.22 for ; Thu, 18 Jul 2013 02:45:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=s81wwHMJI6m4JdcNUvO0LFmbp4QmLLrUVq0EC5Fu2wI=; b=av9mIb78A1spMQQ122mUN4nb7iNvyiRWG5Dz3n5MIe3Cw+KnrfA4dgLv0QTw1TH00R Q4/3ZfF0rketu80Ic5z0NedkdhX+XVch7/pBHMhsb34DwLTxi30fZ1WsRcAkTTmMaN8G LQNvCwCMQnMc4Svxq4h8YBuNtXdW/QOnxoTRe/IFOLKi494EgiT0LgZ8XG6CKj7+iU00 mjfWqHQAyreZ3OcknGBrPsA/SmCSyOynlNP1O5l+c0zbuiJn78I22D3AFAiHOqkGc1LY MIstk+9LvPmK0RKP/A+PXz6umj/iryFNQ32q1e8S41aCE1gb0OnAAyuGrv9vj1hm4wtF TacA== MIME-Version: 1.0 X-Received: by 10.112.88.169 with SMTP id bh9mr5023061lbb.12.1374140724658; Thu, 18 Jul 2013 02:45:24 -0700 (PDT) Received: by 10.114.13.138 with HTTP; Thu, 18 Jul 2013 02:45:24 -0700 (PDT) Date: Thu, 18 Jul 2013 15:15:24 +0530 Message-ID: Subject: Seeing data corruption with g_multipath utility From: Sowmya L To: killing@multiplay.co.uk, freebsd-stable@freebsd.org X-Gm-Message-State: ALoCoQmnNgUmNACl8kw54lJHfIO6OmWxE8HSObBOeQzDm0+qv2SnFj6QAutZbIwtwvzkCo9oZiO6 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 09:45:32 -0000 Hi Steven, Read/Write errors are recorded when an active path of the geom_multipath device is pulled while running the i/o on dataset created for the pool. Running I/o on dataset using dd. *Freebsd version :* 9.0 *Patch imported from stable 9 : *r229303, r234916 *zpool status:* * * pool: poola state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM poola ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 multipath/newdisk4 ONLINE 0 0 0 multipath/newdisk2 ONLINE 0 0 0 errors: No known data errors * * * * *gmultipath status:* * * Name Status Components multipath/newdisk2 OPTIMAL da7 (ACTIVE) da2 (PASSIVE) multipath/newdisk1 OPTIMAL da6 (ACTIVE) da1 (PASSIVE) multipath/newdisk4 OPTIMAL da3 (ACTIVE) da4 (PASSIVE) multipath/newdisk OPTIMAL da0 (ACTIVE) da5 (PASSIVE) multipath/newdisk3 OPTIMAL da8 (ACTIVE) da9 (PASSIVE) * * *zpool status after pulling the active path g_multipath device*: pool: mypool1 state: ONLINE status: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected. action: Determine if the device needs to be replaced, and clear the errors using 'zpool clear' or replace the device with 'zpool replace'. see: http://www.sun.com/msg/ZFS-8000-9P scan: resilvered 27.2M in 0h0m with 0 errors on Thu Jul 4 19:47:44 2013 config: NAME STATE READ WRITE CKSUM mypool1 ONLINE 0 0 0 mirror-0 ONLINE 0 12 0 multipath/newdisk4 ONLINE 0 27 0 multipath/newdisk2 ONLINE 0 12 0 spares multipath/newdisk AVAIL errors: No known data errors Are there any dependencies for the patch that is picked from stable 9 as mentioned above?? sorry for posting it in many areas of the forum its just to find the rite fit. -- Thanks & Regards, Sowmya L