FreeBSD and ZFS
2007-03-04: ZFS port to FreeBSD: 2nd patchset available.
From FreeBSD Status Report Fourth Quarter 2006:
Porting ZFS to FreeBSD
“The ZFS file system works quite well on FreeBSD now. The first patchset has already been published on the freebsd-fs@FreeBSD.org mailing list.
All file system methods are already implemented (except ACL-related). Basically all stress tests I tried work, even under very high load. There is still a problem with memory allocation, which can get out of control, but from what I know the SUN guys also work on this.
Recently I have been working on a file system regression test suite. From what I found, there are no such test suites for free. I’ve already more than 3000 tests and I’m testing correctness of most file system related syscalls (chflags, chmod, chown, link, mkdir, mkfifo, open, rename, rmdir, symlink, truncate, unlink). I’m also working to make it usable on other operating systems (like Solaris, where it already works and Linux).
Few days ago I also (almost) finished NFS support. You can’t use the ‘zfs share’ command yet, but you can export file systems via /etc/exports and you can also access snapshots. It was quite hard, because snapshots are separate file systems and after exporting the main file system, we need to also serve data from snapshots under it.
The one big thing which is missing is ACL support. This is not an easy task, because we first have to make some decisions. Currently we use POSIX ACLs in our UFS, but the market is moving slowly to NTFS/NFSv4-type ACLs. In Solaris they use POSIX ACLs for UFS and NFSv4-type ACLs for ZFS and we probably also want to use NFSv4-type ACLs in our ZFS, which requires some work outside ZFS.”
Leave a Reply