HOWTO safely unmount remove USB zfs sdcard

Russell L. Carter rcarter at pinyon.org
Mon Dec 10 17:00:09 UTC 2018


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


More information about the freebsd-questions mailing list