From owner-freebsd-scsi@FreeBSD.ORG Fri Jul 19 11:53:06 2013 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0F0C922E for ; Fri, 19 Jul 2013 11:53:06 +0000 (UTC) (envelope-from sowmyagowda90@gmail.com) Received: from mail-vb0-x234.google.com (mail-vb0-x234.google.com [IPv6:2607:f8b0:400c:c02::234]) by mx1.freebsd.org (Postfix) with ESMTP id C9683303 for ; Fri, 19 Jul 2013 11:53:05 +0000 (UTC) Received: by mail-vb0-f52.google.com with SMTP id f12so3132658vbg.11 for ; Fri, 19 Jul 2013 04:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=YUSz3928zKrOFI2+E4THbft4yCxmg5ftZTM/Id0Bx3g=; b=Er60GgrMwpPt+Z4xetvGhcMnStGcwOfkuyjCluvef5hV4Pa1eTIiHxBP8QNmhVeKLp R4r/8V2Q0GeaypvvyTuAUeZobudrfLJX+0R+WhzHWOPhoaBCEvnhHfvTx9W3hKqQUz74 v3VFUQnhQdNFCmFZhJbWiN0uFPu9Xz1lJoehwTtJ7cJljhZEktZGbdTZZhvlgg0gOI9n eLZk8HiJUt4ItiC/7pmQAbIOBFX9Vp1BqshQehEvoaJi//v8SMS79myphQwX1C0NwLnZ 1UIxWeQakWkQvZADE1p1VRcaoV33fb3ubuJlLty/ePKq70jeGOp7CkEQeVMcdlhLfAe5 9DDg== MIME-Version: 1.0 X-Received: by 10.220.97.134 with SMTP id l6mr5592117vcn.44.1374234785274; Fri, 19 Jul 2013 04:53:05 -0700 (PDT) Received: by 10.58.151.137 with HTTP; Fri, 19 Jul 2013 04:53:05 -0700 (PDT) Date: Fri, 19 Jul 2013 17:23:05 +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: "$owmya gowda" To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 11:53:06 -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) * * scsi messages in the log: (da0:mpslsi0:0:136:0): READ(10). CDB: 28 0 0 4a bc d6 0 1 0 0 length 131072 SMID 516 terminated ioc 804b scsi 0 state 0 xfer 0 (da0:mpslsi0:0:136:0): READ(10). CDB: 28 0 0 4a bc d6 0 1 0 0 length 131072 SMID 516 terminated ioc 804b scsi 0 state 0 xfer 0 (da0:mpslsi0:0:136:0): READ(10). CDB: 28 0 0 4a bd d6 0 1 0 0 length 131072 SMID 538 terminated ioc 804b scsi 0 state 0 xfer 0 (da0:mpslsi0:0:136:0): READ(10). CDB: 28 0 0 4a bd d6 0 1 0 0 length 131072 SMID 538 terminated ioc 804b scsi 0 state 0 xfer 0 *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.