From owner-freebsd-questions@freebsd.org Sat Aug 20 23:44:49 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75B82BC0A25 for ; Sat, 20 Aug 2016 23:44:49 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.5.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 501831A07 for ; Sat, 20 Aug 2016 23:44:48 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: by h2.pinyon.org (Postfix, from userid 58) id 30FCE34C8A; Sat, 20 Aug 2016 16:44:42 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1471736682; bh=BPxCfz1v7NhP32xFlFiJl8khQsAQrRaPE5R4Z6T9CBk=; h=To:From:Subject:Date; b=Hz1gBv8x8mhO+33lPbswe6Z4dQZ/EKNK8yJHdaQ42fvgEmNJBCcM5vf2YY0/Kz222 yFGhNADJtJy8r5VQ89c0vzfkhFkNmgNdw+7YHdlvNR601tmVTJQepFE+BoTTAxf28x wmcyBTsHsMpzLEQ9wO2S6ZGqT0E+02qHvHtI9Lzs= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on h2.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.1 Received: from [10.0.10.15] (h4.esturion.net [65.101.5.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id 898F734C83 for ; Sat, 20 Aug 2016 16:44:41 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1471736681; bh=BPxCfz1v7NhP32xFlFiJl8khQsAQrRaPE5R4Z6T9CBk=; h=To:From:Subject:Date; b=lilyODqtte2M75Ma3NrGDK/VUE0WMQbHcZDYzKifAvZGCfixJBf8LFX8wJc3iAA8e mRbYB3cGQCDFDisR4R/NfaM8CrbcNqlCZCBW9qfCMtajta7ijPmRKkheamefvXsFIl Es8b10SYxcOL09d6VPIagQNa1DHkuIPH3I9zNMWA= To: freebsd-questions@freebsd.org From: "Russell L. Carter" Subject: erm shot my foot off with zfs, q on rescue Message-ID: Date: Sat, 20 Aug 2016 16:44:41 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Aug 2016 23:44:49 -0000 Hi, So I misfired and hosed my 10/stable zfs / mounts by running zfs set mountpoint=/ zroot/zetc so that now I don't seem to actually have any of the uh mandatory system directories visible. (turns red) No emergency thankfully, I've got three border gateways and just got all three happily configured so if I had to I could just reinstall this poor innocent one that I accidentally shot in the face. But as it happens I pulled it and have it interfaced with a keyboard and monitor and have booted a USB 10.3 stable install image. I dropped into the shell, and ran zfs list and it comes up with nothing. My thought is I'll just do zfs destroy zroot/zetc once I get the zroot pool imported. So the questions are, how to import the existing zpools from the install image shell and once that is done, what is the best strategy for undoing the damage? (I absolutely *love* zfs, just got done moving a fully configured poudriere installation to another box via zrep, wow is all I can say. My botch here comes from wanting to make a lot more things zrep compatible.) Thanks! Russell