From owner-freebsd-questions@FreeBSD.ORG Sun Dec 7 14:04:54 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9AA493FB for ; Sun, 7 Dec 2014 14:04:54 +0000 (UTC) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (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 6C2736DB for ; Sun, 7 Dec 2014 14:04:54 +0000 (UTC) Received: by mail-ig0-f179.google.com with SMTP id r2so1573202igi.6 for ; Sun, 07 Dec 2014 06:04:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=rtnkL0EWEVrzCY657571WOWliMmm9KrsExeRBfgrwII=; b=y+FjkiO2ZvWlkgnXa6zUcp39gJY1UUNISZcJ7YUqESF+60j5ZmNdk0jXT/VOGIzTip PUnd7ytBBti9r5uuCK0avBuZNoGRh2BjkU1MC2fAIqq9Hj9xpylwuG1MkEeINkBO1wWm 68K+nxtkv7HbLlyulWDirH6ZiWZIIPbKMDzMf6qUyM4/JVZ+NUiePW0WJ70kqq7RjsEv nQzjD7cvQuO2h6DzHaboTPxqHy9dehEv2pI60RAsA+0o2rxL40ZHdNjZ45AeUko6GW0N VKntfohBx65T2NbcAY+EpyM3AaHUKG5gGsb/XOEr8N3IYk5XRNhiSGyq/FoEmkZgl31W WOBA== MIME-Version: 1.0 X-Received: by 10.42.205.197 with SMTP id fr5mr18033676icb.5.1417961093709; Sun, 07 Dec 2014 06:04:53 -0800 (PST) Received: by 10.50.164.233 with HTTP; Sun, 7 Dec 2014 06:04:53 -0800 (PST) In-Reply-To: References: Date: Sun, 7 Dec 2014 14:04:53 +0000 Message-ID: Subject: Re: ZFS create crashes my system. From: Pierre Ancelot To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 14:04:54 -0000 I have found the solution, I will post it here shortly (busy with something else now). Pointers, http://lists.freebsd.org/pipermail/freebsd-stable/2014-November/081024.html https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195061 On Sun, Dec 7, 2014 at 11:36 AM, Pierre Ancelot wrote= : > 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. --=20 http://www.neko-consulting.com =E2=80=9CLive as if you were to die tomorrow. Learn as if you were to live = forever.=E2=80=9D =E2=80=95 Mahatma Gandhi