From owner-freebsd-fs@FreeBSD.ORG Tue Apr 17 13:17:39 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A358106566C for ; Tue, 17 Apr 2012 13:17:39 +0000 (UTC) (envelope-from zlatko.asenov@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 113268FC08 for ; Tue, 17 Apr 2012 13:17:38 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so6271205bkc.13 for ; Tue, 17 Apr 2012 06:17:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=nt219akUN39GT3rFKjtiFxZtOOeAdYSqbGAZCYFxLj0=; b=AVzAae9rEUOmqUmX/BfoVPQWSWKUXA6fRG3os0B9O4ovlEkgERLijndbdQuB6jDNep KuPT4TjLC9qxgiSp3HDeKnd4M7VwANCfNVayFOdIGS37Vta+NvSo5lKbbTlIJBYZETiZ lh/Cl3DgExZxCee4SHkdVBJRVvmZ0doc/Ahqf3GsjwevcvU2MX6QsLYHsAdy0lFSanpW 0EMDzcVvBn80X7daW3Bwo7c5vawciu+3eL4TnkG+38KR2sSiJ9GTq6Op4QjXgtfpNRKM AaLZLy8p/svx+oyNpaOD8mS5gXcccFiMPL/DFIsed2ekiDgtB0V+Cp3zrnA+9ToqFpmu x3vQ== Received: by 10.204.129.21 with SMTP id m21mr4817221bks.124.1334668657810; Tue, 17 Apr 2012 06:17:37 -0700 (PDT) Received: from zlatko.pc (office.spnet.net. [212.50.0.66]) by mx.google.com with ESMTPS id jr13sm37916779bkb.14.2012.04.17.06.17.35 (version=SSLv3 cipher=OTHER); Tue, 17 Apr 2012 06:17:36 -0700 (PDT) Message-ID: <4F8D6D68.50702@gmail.com> Date: Tue, 17 Apr 2012 16:17:28 +0300 From: Zlatko Asenov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120330 Thunderbird/10.0.3 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: "ZFS: zfs_alloc()/zfs_free() mismatch" Problem with 8.2 Stable X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2012 13:17:39 -0000 Hello everyone, I had set up a raidz2 ZFS on ROOT system with 4 SATA disks. Every disk had 64k freebsd-boot, 30G freebsd-zfs and freebsd-ufs for the rest space. I did it with the gpart utility. One of the disks failed and I offlined the faulty 30G partition from the pool. The system worked with "no known data errors". After reboot I saw this message: "ZFS: zfs_alloc()/zfs_free() mismatch" and the system goes no further. I booted with FreeBSD 9.0-RELEASE usb stick, imported the pool which did scrub by himself somehow. After the scrubbing finished all seemed ok, but after reboot I see the message again. The system was FreeBSD 8.2-STABLE AMD64 with 4GB RAM. Interesting to note is that this is my second issue with a faulted disk. However if I replace healthy HDD for upgrading purposes, everything passes fluently. I pulled the data from /usr/home/ however part of it was damaged. I also posted about the issue here: http://forums.freebsd.org/showthread.php?t=31215 What can I do to prevent such a malfunction in future? Best Regards! Zlatko Asenov