From owner-freebsd-questions@freebsd.org Mon Dec 10 17:00:09 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B8EB132C8F5 for ; Mon, 10 Dec 2018 17:00:09 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (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 A7605830CB for ; Mon, 10 Dec 2018 17:00:08 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: by h2.pinyon.org (Postfix, from userid 58) id 1AD189E68; Mon, 10 Dec 2018 10:00:09 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1544461209; bh=87ECx583sUALeb4RsRLvoL596ivhYNe73DRiNBOJOfU=; h=From:Subject:To:References:Cc:Date:In-Reply-To; b=KKA8BYaSUCB0V5m59aQGYbrRbNgBJpkYLl2rtzkJC6fyzwTDhGIcIzr4CE53HoFpP KjjtR8lChz56MYN/cAR1puIzZMUA9kXazL1ur0YtiUBdFbqZiBC+OJs6c2rexLqtYY fqoF9UWABvfGmqxelyIER4a3WdiSXfALV2LWzXFE= X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on h2.n1.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,URIBL_BLOCKED shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from [10.0.10.15] (h1.pinyon.org [65.101.20.169]) (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 EB0309E5D; Mon, 10 Dec 2018 10:00:07 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1544461207; bh=87ECx583sUALeb4RsRLvoL596ivhYNe73DRiNBOJOfU=; h=From:Subject:To:References:Cc:Date:In-Reply-To; b=BuGzM8dBlFwExMDce6wx0d++Y5pbuu6AnhKbAsfbaQZxiOCy8FNXcKt+w+RCeYPKb A9GujeT6ypqTJVtu0DqipkI40z+unxmNYUss8ta2RECacnv2CGccG6bPBOtM4FelCe Qpd8fLxrbTU1QPWVtZgoj0a8LOL13DOV0TE28NOc= From: "Russell L. Carter" Subject: Re: HOWTO safely unmount remove USB zfs sdcard To: Yuri Pankov References: <2217f3f1-0df3-6f13-d4c4-4eed9c661f87@yuripv.net> Cc: freebsd-questions@freebsd.org Message-ID: Date: Mon, 10 Dec 2018 10:00:05 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: <2217f3f1-0df3-6f13-d4c4-4eed9c661f87@yuripv.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A7605830CB X-Spamd-Result: default: False [-3.26 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[pinyon.org]; NEURAL_HAM_MEDIUM(-0.92)[-0.920,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-0.99)[-0.994,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[pinyon.org]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: h2.pinyon.org]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[pinyon.org:+]; NEURAL_HAM_SHORT(-0.79)[-0.794,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.04)[asn: 209(-0.12), country: US(-0.09)]; ASN(0.00)[asn:209, ipnet:65.100.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2018 17:00:09 -0000 On 12/9/18 5:16 PM, Yuri Pankov wrote: > Russell L. Carter wrote: >> Greetings, >> I can easily create a ZFS filesystem on a USB sdcard, >> but I have not yet found the recipe for safely unmounting >> it and then mounting it on another 12.0 FreeBSD system. > > You mean you have created a ZFS pool on that sdcard? Yes. >> Ideally, the answer is just a google search away, but >> alas, that has not turned out to be the case.  Yeah, >> I suck at google, evidently. >> >> Can anybody help? > > Should be the same as for any ZFS pool -- `zpool export `; on > another system -- `zfs import `. You could possibly need '-f' > flag for import if you forgot to export the pool first. > Thank you. So simple! With the aid of the -R option on import I am good to go. Russell