[OpenIndiana-discuss] export 2 pools from linux running zfs : import with OI

Stephan Althaus Stephan.Althaus at Duedinghausen.eu
Mon Feb 22 05:59:39 UTC 2021


On 02/21/21 11:43 PM, reader wrote:
> I'd like to eventually figure some way to get oi installed on my HP
> xw8600
>
> There was a time, A little before build 147 when I was able to install
> OI onto this same hardware, and able to run it for several years.
> Updating periodically.
>
> A sort of catastrophe happened a few months ago involving disk
> failures causing me to replace 2 and add 2 more, But needing to
> reinstall from scratch.
>
> However all my attempts just fail repeatedly.  I've tried both DVD and
> USB media, I've gone back to 2018, 2019, 201031.  Eventually the
> attempted install collapses with all services failed into `maint' mode
> where nothing seems to be possible.
>
> Someone more skilled than I may be able to get it going... I haven't
> been able.
>
> I heard a few other people have had similar trouble .. not sure how
> similar.
>
> In the meantime I decided to go with linux running zfs (ubuntu 20.04).
> Which on my hardware, is possible to install from Either DVD or usb,
> with no problem.
>
> I'm hoping I may eventually get OI installed with new releases.  If that
> seems possible, will I be able to export 2 zpools (not rpool) from the
> linux install, and then install OI erasing what was rpool in linux, and
> make that the rpool for OI, then import the pools exported under
> linux?
>
> I suspect that may not be possible but would like to hear about it
> from someone who isn't guessing like I am.
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss

Hello!

Sorry to hear about your installation troubles.

You should be able to send/recv a zfs stream between Linux and OI,
and/or use linux pools with OI,
if you take care about the used zpool/zfs features.

In this regard, at the momant OI is "superior' to the state of ZFS on 
linux V8.6x,
but this will change soon with zfs 2.x.x in "production ready" state.
(so do *not* switch to zfs 2.x.x and do zpool upgrade in your case)

Have a look at "zpool get all" and "zfs get all".
If you create a new pool to be shared, use "zpool create -d " to disable 
all of them.
At any time after that you could enable features that are shared amongst 
your OS Versions.

I am using used a pool with debian and with OI on the same host.


NAME   PROPERTY VALUE                                SOURCE
...
home1  feature at async_destroy enabled                        local
home1  feature at empty_bpobj active                         local
home1  feature at lz4_compress active                         local
home1  feature at multi_vdev_crash_dump enabled                        local
home1  feature at spacemap_histogram active                         local
home1  feature at enabled_txg active                         local
home1  feature at hole_birth active                         local
home1  feature at extensible_dataset active                         local
home1  feature at embedded_data active                         local
home1  feature at bookmarks enabled                        local
home1  feature at filesystem_limits enabled                        local
home1  feature at large_blocks enabled                        local
home1  feature at large_dnode disabled                       local
home1  feature at sha512 enabled                        local
home1  feature at skein enabled                        local
home1  feature at edonr enabled                        local
home1  feature at device_removal disabled                       local
home1  feature at obsolete_counts disabled                       local
home1  feature at zpool_checkpoint disabled                       local
home1  feature at spacemap_v2 disabled                       local
home1  feature at allocation_classes disabled                       local
home1  feature at resilver_defer disabled                       local
home1  feature at encryption active                         local
home1  feature at bookmark_v2 enabled                        local
home1  feature at userobj_accounting disabled                       local
home1  feature at project_quota disabled                       local
home1  feature at log_spacemap disabled                       local

Greetings,

Stephan





More information about the openindiana-discuss mailing list