From owner-freebsd-questions@freebsd.org Sat Aug 20 23:51:40 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 D5BA3BC0EAA for ; Sat, 20 Aug 2016 23:51:40 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 69C3E152A for ; Sat, 20 Aug 2016 23:51:40 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id f65so76168140wmi.0 for ; Sat, 20 Aug 2016 16:51:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=cq15f3z5fiHJ2lCIRwBu2jE+x1DqpvA3khfReAqTfOE=; b=qNaVAXij6N4BGHuGSxcVFvTHcUjo7ZNcDKCcZ3jmBQzhq0YQFxxY7K9N7IPEdBu6ka gmK0MKNixE+Q5oPjNhzukuhkg9sO6tPoQ3JDLceAWdg80ylnRjaVE4BQsqKjNFhn9ySo cmLLSwGq+J6Q5dU3++XHbNKpAjyDfc8C22fgmVftJcdRALGel89AqSSVSv9IRGztvclx 86hW+0BKLdqcEl1v+TxIIatmqLA/M0g4NI5wugLHWgHD7is31r9sFVjiW7TzDa/SRzlp ycHHUi9keYEf61qOHJtaFBkP9y5djjVYl3hcmkjP8nLwpVJ/ZmBhl4oo3FdvFx9FiwWQ OSIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=cq15f3z5fiHJ2lCIRwBu2jE+x1DqpvA3khfReAqTfOE=; b=bFDHFn4Ed6IMp3WMyEF22BY8br8cKLj+2qGoenYhJZe/QOgxChJIoR/XLWfkrWt+FX qzd9XwHTrAZvinZeLpTyquNaFtKnpLMLV074mQQ4IFmpdfkArWxSWn9TvpzlQQiFB0A0 d/QDVU3XM1kUCp1r8sWUo7DB39GwCV3YlonUvhjEWRdvAWsP8xO20Dg4n1MCh5gfvLsa sO5PTZgCVrWMUXp4UZlvynagklY17eBONKWSTWQDpdLPszAi7sMCFK8irQRd5TvJc3SV 06C9Ka2p7f+I4gVbATu5wkzZN2lcqE0WO825hzv0DRHpFg/mplkeitncEvWU3Mk4roQM 4swg== X-Gm-Message-State: AEkoouvqj928iHYebX7o8tRIcJX22lSVX8ineaNsq3+okcQ5jobIR4yAfM3jQx1f1u8nLg== X-Received: by 10.194.156.195 with SMTP id wg3mr11587421wjb.152.1471737098730; Sat, 20 Aug 2016 16:51:38 -0700 (PDT) Received: from osk.homenet ([2001:470:196e:13:f2de:f1ff:fed1:783c]) by smtp.googlemail.com with ESMTPSA id z18sm11913217wmz.6.2016.08.20.16.51.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Aug 2016 16:51:38 -0700 (PDT) Subject: Re: erm shot my foot off with zfs, q on rescue To: freebsd-questions@freebsd.org References: From: Shamim Shahriar Message-ID: <614e5532-b929-1e68-aa86-2e75b157565a@gmail.com> Date: Sun, 21 Aug 2016 00:51:37 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 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:51:40 -0000 On 21/08/2016 00:44, Russell L. Carter wrote: > > 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. I'm not sure it is supposed to -- your boot disc has no knowledge of available pools or the zfs available. The better way of doing it, if I understand right as to what you are trying to do, would be to run zpool import that will show you available zpools. Then you can import the pool using zpool import you can even set different mountpoints etc., the export it, and then fix the mountpoints as to where they are supposed to be. Hope this helps. Regards