Compatibility with other ZFS systems

Moderators: jhartley, MSR734, nola

… with non-stable versions of MacZFS

Post by grahamperrin » Sun Mar 31, 2013 2:44 am

The full installer for ZEVO 1.1 predates the current development/experimental generation of MacZFS.

At viewtopic.php?p=4486#p4486

mnos3c wrote:… suspect that precedent maczfs installation and … cause some sort of instability …


I wonder whether greater care is required where an installation and update of ZEVO is over a non-stable version of MacZFS.

Cross reference, in the ZEVO installation area:

grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

… with pool versions greater than 28

Post by grahamperrin » Sun Mar 31, 2013 3:33 am

spl/zfs-0.6.1 released (cross-post) draws attention to ZFS on Linux where the pool version is:

  • 5000

If you use ZFS on Linux and wish for compatibility with implementations of ZFS that use pool version 28, I guess that it's appropriate to both:

  1. include -o version=28 if/when you use ZFS on Linux to create a pool; and
  2. however you create your v28 pool, give long-term consideration to feature flags.

(Don't expect ZEVO Community Edition 1.1.1 at pool version 28 to import a pool with a version that's greater.)

Background

A few weeks ago I watched parts of the three videos at ZFS Feature Flags - YouTube (2012-01). Illumos Meetup January 2012 | Chris Siden offers a complementary PDF with a point that echoes the discussion:

  • Enabling a feature automatically upgrades the pool legacy version to version 1000

1000, 5000

I guess, the January 2012 notion of version 1000 became outdated. From a few months, later I find mentions of pool version 5000 related to both illumos and OpenIndiana, for example:


From the latter:

… Do not update your pool when you need compatibilty to Solaris 11 or other ZFS implementations
unless they also updated their suppported ZFS to Pool 5000 (on the way for all Illumos-based Distributions
and distributions like FreeBSD and ZFSonLinux that use Illumos as upstream for ZFS development) …


References

illumos: manual page: zpool-features(5)

zfs / man / man5 / zpool-features.5 at master • zfsonlinux/zfs • GitHub

Features:

async_destroy

  • com.delphix:async_destroy

empty_bpobj

  • com.delphix:empty_bpobj

lz4_compress

  • org.illumos:lz4_compress
  • not in the man page that's currently published by illumos.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

FreeBSD use of 516E7CBA-6ECF-11D6-8FF8-00022D09712B

Post by grahamperrin » Sat Apr 13, 2013 12:17 pm

At viewtopic.php?p=4625#p4625 from RHB:

Code: Select all
daniel@rogosx:~$ sudo gpt -r show /dev/disk1
       start        size  index  contents
           0           1         PMBR
           1           1         Pri GPT header
           2          32         Pri GPT table
          34        2014
        2048   524288000      1  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
   524290048   524288000      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  1048578048  2858446848      3  GPT part - 516E7CBA-6ECF-11D6-8FF8-00022D09712B
  3907024896        4239
  3907029135          32         Sec GPT table
  3907029167           1         Sec GPT header


Alongside the Apple_HFS slices (48465300-0000-11AA-AA11-00306543ECAC) there is:

  • 516E7CBA-6ECF-11D6-8FF8-00022D09712B

That's:


A ZEVO example:

Code: Select all
macbookpro08-centrim:~ gjp22$ sudo gpt -r show /dev/disk7
Password:
       start        size  index  contents
           0           1         PMBR
           1           1         Pri GPT header
           2          32         Pri GPT table
          34           6         
          40      409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
      409640  1249591904      2  GPT part - 6A898CC3-1DD2-11B2-99A6-080020736631
  1250001544      262150         
  1250263694          32         Sec GPT table
  1250263726           1         Sec GPT header
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: FreeBSD use of 516E7CBA-6ECF-11D6-8FF8-00022D09712B

Post by monkeyfoahead » Tue Jun 11, 2013 10:19 am

grahamperrin wrote:At viewtopic.php?p=4625#p4625 from RHB:

Code: Select all
daniel@rogosx:~$ sudo gpt -r show /dev/disk1
       start        size  index  contents
           0           1         PMBR
           1           1         Pri GPT header
           2          32         Pri GPT table
          34        2014
        2048   524288000      1  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
   524290048   524288000      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
  1048578048  2858446848      3  GPT part - 516E7CBA-6ECF-11D6-8FF8-00022D09712B
  3907024896        4239
  3907029135          32         Sec GPT table
  3907029167           1         Sec GPT header


Alongside the Apple_HFS slices (48465300-0000-11AA-AA11-00306543ECAC) there is:

  • 516E7CBA-6ECF-11D6-8FF8-00022D09712B

That's:


A ZEVO example:

Code: Select all
macbookpro08-centrim:~ gjp22$ sudo gpt -r show /dev/disk7
Password:
       start        size  index  contents
           0           1         PMBR
           1           1         Pri GPT header
           2          32         Pri GPT table
          34           6         
          40      409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
      409640  1249591904      2  GPT part - 6A898CC3-1DD2-11B2-99A6-080020736631
  1250001544      262150         
  1250263694          32         Sec GPT table
  1250263726           1         Sec GPT header

So will a Zevo zpool work on FreeBSD or not?
monkeyfoahead Offline


 
Posts: 76
Joined: Thu Dec 27, 2012 2:32 pm

Re: FreeBSD use of 516E7CBA-6ECF-11D6-8FF8-00022D09712B

Post by ilovezfs » Wed Jun 12, 2013 10:35 am

monkeyfoahead wrote:So will a Zevo zpool work on FreeBSD or not?

I think he is implying that the use of that GUID indicates that guy was using a pool created by FreeBSD. However, without more information it would be a poor inference to assume there were no compatibility issues experienced by that guy. Hence, we are reading bird entrails.
ilovezfs Online


 
Posts: 249
Joined: Sun Feb 10, 2013 9:02 am

Re: FreeBSD use of 516E7CBA-6ECF-11D6-8FF8-00022D09712B

Post by monkeyfoahead » Wed Jun 12, 2013 10:50 am

ilovezfs wrote:
monkeyfoahead wrote:So will a Zevo zpool work on FreeBSD or not?

I think he is implying that the use of that GUID indicates that guy was using a pool created by FreeBSD. However, without more information it would be a poor inference to assume there were no compatibility issues experienced by that guy. Hence, we are reading bird entrails.

Ahh i see, damn
monkeyfoahead Offline


 
Posts: 76
Joined: Thu Dec 27, 2012 2:32 pm

Cross reference

Post by grahamperrin » Wed Jun 12, 2013 1:35 pm

grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

MacZFS prototype compatibility with ZEVO, vice versa

Post by grahamperrin » Mon Jun 24, 2013 12:41 pm

At viewtopic.php?p=5088#p5088

ilovezfs wrote:… if for some reason ZEVO pools end up not 100% compatible …


For what it's worth, I do have a very close eye on compatibility (from MacZFS prototype and ZEVO perspectives) in my testing on Mavericks.

Some of the discussion is necessarily private but if there's anything significant on the compatibility front, my hunch is that it will fall easily on the public side of the NDA line. So for updates, keep an eye on areas such as Issues · zfs-osx/zfs.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

FreeBSD use of 516E7CBA-6ECF-11D6-8FF8-00022D09712B

Post by grahamperrin » Mon Jul 08, 2013 4:27 am

If you wish to change the type of a partition, there's a user-friendly utility:


A disk with partition type 516E7CBA-6ECF-11D6-8FF8-00022D09712B (FreeBSD ZFS) can be imported, but not dynamically, by ZEVO.

As operating systems such as Mountain Lion will not recognise 516E7CBA-6ECF-11D6-8FF8-00022D09712B as ZFS, you should be prepared to Ignore the disk if the operating system offers that option. Then, for example:

Code: Select all
sudo zpool import -d /dev MacZFS-prototype


Thanks to ilovezfs and others in irc://chat.freenode.net/#mac-zfs for the hints.

Side note: do not assume that 516E7CBA-6ECF-11D6-8FF8-00022D09712B will be used by MacZFS prototype. This is simply an example.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Compatibility with other ZFS systems: NFD

Post by grahamperrin » Wed Jul 24, 2013 2:35 pm

grahamperrin wrote:… are there any precautions to using that form of normalisation with ZFS with systems such as FreeBSD® or PC-BSD™?


I asked in irc://chat.freenode.net/#zfsonlinux

>> Is any Linux distro (or other ZFS-cabable OS) likely to have difficulty with ZFS file systems that use normalization=formD (normalisation form D)?

Richard Yao responded:

> I use normalization=formD on Gentoo (and include it in my zfs-install notes). I do not have any issues and no one has reported issues.

https://github.com/ryao/zfs-overlay/blo ... fs-install
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 0 guests

cron