NFSv4 and ZFS on OS X Leopard

NFSv4 is in. iSCSI is not (by default, still looking through options). ZFS is in!!!

Macintosh:~ tamr$ sudo zpool
Password:
ZFS Readonly implemntation is loaded!
To download the full ZFS read/write kext with all functionality enabled, please go to http://developer.apple.com
Read-Only ZFS Implementation
missing command
usage: zpool command args ...
where 'command' is one of the following:

	list [-H] [-o field[,field]*] [pool] ...
	iostat [-v] [pool] ... [interval [count]]
	status [-vx] [pool] ...

	online
  ...
	offline [-t]
  ...

	scrub [-s]
 ...

	import [-d dir] [-D]
	import [-d dir] [-D] [-f] [-o opts] [-R root] -a
	import [-d dir] [-D] [-f] [-o opts] [-R root ]
 [newpool]

	history [
]
Macintosh:~ tamr$ uname -a
Darwin Macintosh.local 9.0.0 Darwin Kernel Version 9.0.0: Tue Oct  9 21:35:55 PDT 2007; root:xnu-1228~1/RELEASE_I386 i386

w00t! A big big big congrats to Jeff, Bill, Eric, and the whole ZFS team!!

12 Responses to “NFSv4 and ZFS on OS X Leopard”

  1. Che Kristo says:

    Once I get this on the Mac i’ll be sure to try out the Read/Write Kext. Now all I need is ZFS for XP…

  2. Derek Morr says:

    There is kerberized NFSv3. I haven’t seen NFSv4 support in Leopard though. Apple at one point claimed they would ship an “alpha” v4 client with Leopard, but I have not seen it in any of the review builds I’ve been running.

  3. benr says:

    The man page reports that ” Set the NFS protocol version number – 2 for NFSv2, 3 for NFSv3 and 4 for NFSv4. The default is to try version 3 first,”

    Beyond that I haven’t tested yet.

  4. benr says:

    Found further down in the man page Derek:

    CAVEATS
    An NFS server shouldn’t loopback-mount its own exported file systems because it’s fundamentally prone to deadlock.

    The current NFSv4 functionality is “alpha quality” software. A lot of basic functionality is not yet implemented. Use at your
    own risk. Currently, the only way to enable NFSv4 is to specify the mount option:

    -o vers=4.0alpha

    This special option value is only temporary and will no longer be necessary (or supported) once the NFSv4 functionality is ready
    for general use ( -o vers=4 will be sufficient ).

  5. Derek Morr says:

    OK. But I wouldn’t exactly say that “NFSv4 is in.”

    One other NFS feature you may want to check out is the new automounter. Apple ported the one from OpenSolaris to Leopard :)

  6. Rick Macklem says:

    I have an NFSv4 client for Leopard available via anonymous ftp at:
    http://ftp.cis.uoguelph.ca/pub/nfsv4/darwin-port. It seems to be working well,
    but is Open Source (BSD style license + APSL on some parts) and, as they
    say, ymmv.

  7. Richard Hamilton says:

    The free (as in beer, but not open source)
    GlobalSAN initiator seems to work ok for me
    on Intel Mac OS X 10.5.5, talking to a Sun
    target (snv_97 or so).

  8. Ellen says:

    Very interesting article: “NFSv4 and ZFS on OS X Leopard”

  9. does not assure anxiety[url=http://www.uggbootscheap.uk.com/]ugg boots cheap[/url]