Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2018 10:00:05 -0700
From:      "Russell L. Carter" <rcarter@pinyon.org>
To:        Yuri Pankov <yuripv@yuripv.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: HOWTO safely unmount remove USB zfs sdcard
Message-ID:  <eea6865a-98c5-4dca-5eb1-1e0fd3fc4c28@pinyon.org>
In-Reply-To: <2217f3f1-0df3-6f13-d4c4-4eed9c661f87@yuripv.net>
References:  <e42f74e5-4791-0036-924c-8ac0daf634f8@pinyon.org> <2217f3f1-0df3-6f13-d4c4-4eed9c661f87@yuripv.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <pool>`; on
> another system -- `zfs import <pool>`.  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eea6865a-98c5-4dca-5eb1-1e0fd3fc4c28>