ZFS Moving OmniOS ZFS pool to FreeBSD?

Greetings all,

I have a movie/music server running on OmniOS, which was a logical step as I used Sun's Solaris while working for BigCompany (tm). Over the years I have been using FreeBSD more, so I would like to move the pool.

There does not appear much information regarding this, and the existing information is - Internet being Internet - inconsistent or even contradictory. The only consistent information is that at least the feature flags on the OmniOS pool must be implemented on the FreeBSD pool, otherwise the pool will not import. Regretfully, I was unable to find any information what is the version of OpenZFS on the release of OmniOS I am running. Even considering that the OpenZFS were the same version, some of the sources argue that FreeBSD may not implement some of the feature flags that OmniOS does.

Anybody familiar enough with this to advise how to proceed?

Kindest regards,

M
 
If you have a system you can use the pool on, maybe dump the features, especially the enabled ones. Then take the list and compare to a current (15.x) FreeBSD system
 
mefizto, you didn't specify the OmniOS version, just tested Long-term support (LTS) Release omnios-r151054r.iso in VirtualBox. After installation, booting up a 15.1-RELEASE installer media, enter "Live System", the OmniOS pool can be imported without problems.

It seems to be save to import the OmniOS pool, you might want to import the pool first with the "readonly" property on, though. Of course, you should have a confirmed working backup of the OmniOS pool before attempting to import the pool on FreeBSD in any case. Better save than sorry.

First time (forced) import:
FBSD-15.1-import-OmniOS.png

Second time import after export in the same session (note supported features status message):
FBSD-15.1-import-OmniOS-2.png
 
Hi MG,

thank you for your reply. I do not know, as I have not tried yet; I was afraid to cause some non-recoverable problem. Hence my question.

Hi cracauer@,

thank you for your reply. The inconsistent feature flags is exactly the worry. It is unclear from my research whether they can be turned off, and even then, whether such would affect the files already in the pool.

Hi drhowarddrfine,

thank you for your reply. Yes, I have read the chapter, especially the heading 23.3.18., but it appears to deal with FreeBSD pools only, and I am still not sure about the interplay of the feature flags and the files already in the pool.

Hi mer,

thank you for your reply. See the other replies, especially Erichans' who provided the command to use for what you have suggested.

Hi Erichans,

thank you, thank you, thank you. I have compared the results and the ZFS on FreeBSD 14.4 that I am running, does support all the the features of theZFS of the OmniOS release plus some additional ones. So unless there is another issue I have ovelooked, I should be able to import the pool.

Hi T-Daemon,

thank you for your reply. As I have been planning this for a while, I purposely stayed on an older release - omnios-r151050, which is even older than the LTS release that you are running, and given your information and Erichans' command's provided information, I should be able to import the pool.

Unlike you, I am still on FreeBSD 14.4, since reading about the issues with the FreeBSD 15.1 that some people report on this forum, I will wait for the next release, where hopefully some of the issues will be solved.

And yes, I do have (sort of a backup), as the backup-ed files have been spread over several machines, before I had had centralized them on the server.

Kindest regards,

M
 
Back
Top