ZFS port to FreeBSD: 2nd patchset available.

Joao Barros joao.barros at gmail.com
Tue Mar 6 15:53:31 UTC 2007


On 3/5/07, Norikatsu Shigemura <nork at freebsd.org> wrote:
> On Sun, 4 Mar 2007 13:38:01 +0100
> Pawel Jakub Dawidek <pjd at freebsd.org> wrote:
> >       # patch -p0 < /path/to/zfs_20070303.patch
> >       # make kernel   <-- compiles and install patched kernel and
> >                           zfs module
> >       # cd cddl
> >       # make && make install   <-- compiles and install userland
> >                                    utilities and libraries
> > Please report any problems ('it works without problems!' is nice too).
>
>         To clean-build (make buildworld), please make src/lib/libthr before
>         src/cddl.  Because cddl/lib/libzpool required libthr.
>
> --- Makefile.inc1.orig  Sun Mar  4 01:50:22 2007
> +++ Makefile.inc1       Tue Mar  6 00:06:37 2007
> @@ -1013,7 +1013,7 @@
>                 lib/libradius lib/libsbuf lib/libtacplus lib/libutil \
>                 ${_lib_libypclnt} lib/libz lib/msun \
>                 ${_secure_lib_libcrypto} ${_secure_lib_libssh} \
> -               ${_secure_lib_libssl}
> +               ${_secure_lib_libssl} lib/libthr
>
>  _generic_libs= cddl/lib gnu/lib ${_kerberos5_lib} lib ${_secure_lib} usr.bin/lex/lib
>
>
>         I'm testing iozone -a.  The new ZFS codes are too stable!


After some tries I finally got it to buildworld, but at 3am I never
got to test anything other than 'kldload zfs'

I was reading the man pages and I was wondering if files are supported
devices like in this example:

Example 4 Creating a ZFS Storage Pool by Using Files

The following command creates an unmirrored pool using files. While
not recommended, a pool based on files can be useful for experimental
purposes.

# zpool create tank /path/to/file/a /path/to/file/b

I'd have to feed some noisy disks to my machine if file devs are not
supported -.-

-- 
Joao Barros


More information about the freebsd-current mailing list