From owner-freebsd-drivers@FreeBSD.ORG Thu Jul 18 07:08:50 2013 Return-Path: Delivered-To: freebsd-drivers@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 75B69102 for ; Thu, 18 Jul 2013 07:08:50 +0000 (UTC) (envelope-from sowmya@cloudbyte.co) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by mx1.freebsd.org (Postfix) with ESMTP id 037E3ADD for ; Thu, 18 Jul 2013 07:08:49 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id z5so2184482lbh.21 for ; Thu, 18 Jul 2013 00:08:41 -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=TGTXJ7aCw2iJ4pxhtmYKbbIHTiVeggeXkKLr+PWJZls=; b=oc7cQ5S8NQJVH8wePUUubZZ8GapolseYuu8wFilznNeYhbyexw9vvT8hLhJ8z2i6ae B8lYx15JtNxL/ScT4r9cZ2ADtw5EcJRL96ltzw4JFKvgjWCy5LJxjEUppZ4i1y5Cxr9B mG1Blg63Ipgz3nINkTrbfoQ2zNvQfvLbOANPTeXD6Lea4M5S4DRdA1X8eFPuKpHcktQX ZhSgzaFxA+lyZLpoqwVoNUGBWB8ZwH4foaTDIB643VYk3WWCRjg7BCtsLElOaX8HYL5N IA9H3rIz8Wgj4iOGXmBqO4XDlMH57Id9rfPpPUHKEHosUDNYf/m38lontzIlIOSzTkK1 Vgiw== MIME-Version: 1.0 X-Received: by 10.112.5.199 with SMTP id u7mr4729040lbu.67.1374131321875; Thu, 18 Jul 2013 00:08:41 -0700 (PDT) Received: by 10.114.13.138 with HTTP; Thu, 18 Jul 2013 00:08:41 -0700 (PDT) Date: Thu, 18 Jul 2013 12:38:41 +0530 Message-ID: Subject: Data corruption seen on the pool when an active path is pulled from geom_multipath device while running I/O From: Sowmya L To: freebsd-drivers@freebsd.org X-Gm-Message-State: ALoCoQl2rxFjkZx92bfKpAQ0yqxGzanUqS1a+F43MP6VWiGJOTOrD+IVHSaebCtXh97nDnoe0HgV Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 07:08:50 -0000 Hi , 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?? will be waiting for your reply. -- Thanks & Regards, Sowmya L