From owner-freebsd-questions@FreeBSD.ORG Sun Dec 7 11:36:17 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36348B34 for ; Sun, 7 Dec 2014 11:36:17 +0000 (UTC) Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 01B076EB for ; Sun, 7 Dec 2014 11:36:17 +0000 (UTC) Received: by mail-ig0-f181.google.com with SMTP id l13so1583105iga.8 for ; Sun, 07 Dec 2014 03:36:16 -0800 (PST) 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=wr4gWSJQRHOADwRCj2gsHC64uBkAnSaJUWmPIjg+298=; b=NWQDuJ5JYOEUUryzVGEWzjDRvi3DjpRAHnXXtNjyy7gWTIdvbWBOPGls6S8jycHzTK 0qsgk/ehvVzEAV/1hK+ZJIG17e57JebYq/SVEzjHWG+IlmGIyRsY8qA2Y3hWKpekKOSm +K/T1SalgDoApgZDnJ8LEMVxpA1HDhoPDH3RSonCBGKly/ByMEM51H6QVRIZYuvPy9ly vH0i+FuyV4/8Gq0dz6+ZwW3gc3cp317vQzeS8WMUkbTa7fF1/1a0cgd811o0ndeiyGw4 X6d0T8meoMY4368hwe/AatZWTFY94R4iAuIcpyp7VIHJT8k2Iq3R6Xkd/3BMBWdNvQun XmNQ== MIME-Version: 1.0 X-Received: by 10.107.170.162 with SMTP id g34mr6530815ioj.2.1417952176302; Sun, 07 Dec 2014 03:36:16 -0800 (PST) Received: by 10.50.164.233 with HTTP; Sun, 7 Dec 2014 03:36:16 -0800 (PST) Date: Sun, 7 Dec 2014 11:36:16 +0000 Message-ID: Subject: ZFS create crashes my system. From: Pierre Ancelot To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2014 11:36:17 -0000 Hello, I'm trying to figure out how to get out of this situation and most importantly, to learn from it: In order to use poudriere, I attempted to create a zpool on a file vdev. Here is what I did. mkdir /vdev mkfile 8g /vdev/disk1 # I was surprised that the space wasn't showing as used by df zpool create tank /vdev/disk1 Then, my system crashed and every reboot kept on crashing. So I started it in single user mode and seen the "tank" pool was listed as "unavail". Single user mode won't crash until I mount -rw / Did I create a race condition having my vdev on / (which uses ZFS)? How can I recover from this? Cancel my create request (which is certainly trying to complete everytime it has a chance but never get there because of the crash)? Thank you. Pierre.