ZFS patches for FreeBSD.
Doug Ambrisko
ambrisko at ambrisko.com
Thu Nov 16 15:22:04 UTC 2006
Pawel Jakub Dawidek writes:
| This is a first set of patches, which allows to use ZFS file system from
| OpenSolaris on FreeBSD.
|
| To apply the patch you need to have recent FreeBSD source (be sure you
| have rev. 1.284 of src/sys/kern/kern_synch.c).
|
| To try it out you need i386 machine (this is what I tested) and kernel
| without WITNESS compiled in (there are probably some warnings still).
|
| Currently it can only be compiled as a kernel module.
|
| To apply the patch you need the following steps:
|
| # cd /usr/src
| # fetch http://people.freebsd.org/~pjd/patches/zfs_20061117.patch.bz2
| # bzip2 -d zfs_20061117.patch.bz2
| # patch < zfs_20061117.patch
| # make buildworld
| # make kernel
| # make installworld
| # kldload zfs.ko
| (zfs and zpool command should work now)
|
| Before reboot:
| # zfs export <your_pool>
|
| After reboot:
| # kldload zfs.ko
| # zfs import <your_pool>
I skipped the mkdir and used patch -p0. Everything looked to compile
okay but when I kldload zfs is fails since the kernel doesn't
have memset:
%kldload zfs
link_elf: symbol memset undefined
kldload: can't load zfs: No such file or directory
%
Is there another change required?
Thanks,
Doug A.
More information about the freebsd-fs
mailing list