[CFT][PREVIEW] ZFS new SPA

Marcelo Araujo araujobsdport at gmail.com
Mon Jun 4 09:41:06 UTC 2012


Dear Johan,

As you don't have the zhack directory, you must create it before to apply
the patch.

*cd: /usr/src/cddl/usr.sbin/zhack: No such file or directory*

I'm using the latest version of FreeBSD with the patch, and it works pretty
well.



Best Regards,
- Araujo


2012/6/4 Johan Hendriks <joh.hendriks at gmail.com>

> Martin Matuska schreef:
>
>  Hello all,
>>
>> I have ported the ZFS features support (SPA version 5000) from Illumos
>> to FreeBSD-current.
>> What is still missing is boot support - needs to be implemented.
>>
>> Patch against CURRENT:
>> http://www.vx.sk/download/**patches/freebsd/zfs/head-zfs-**features.patch<http://www.vx.sk/download/patches/freebsd/zfs/head-zfs-features.patch>
>>
>> Amd64 ISO images for testing (bootable, work well in VirtualBox):
>> Basic: http://www.vx.sk/download/ISO-**images/mfsbsd/head-zfs-**
>> features.iso<http://www.vx.sk/download/ISO-images/mfsbsd/head-zfs-features.iso>
>> (86MB)
>> With full installworld:
>> http://www.vx.sk/download/ISO-**images/mfsbsd/head-se-zfs-**features.iso<http://www.vx.sk/download/ISO-images/mfsbsd/head-se-zfs-features.iso>(239MB)
>>
>> TODO: boot support (check feature availability from ZFS boot code)
>>
>> References:
>> https://hg.openindiana.org/**upstream/illumos/illumos-gate/**
>> rev/2889e2596bd6<https://hg.openindiana.org/upstream/illumos/illumos-gate/rev/2889e2596bd6>
>> https://hg.openindiana.org/**upstream/illumos/illumos-gate/**
>> rev/1949b688d5fb<https://hg.openindiana.org/upstream/illumos/illumos-gate/rev/1949b688d5fb>
>>
>>  hello.
>
> I saw this announcement, and decided to try the patch.
> I just did a csup today and patched the tree.
>
> # cd /usr/src
> # patch < /root/patch/head-zfs-features.**patch
>
> then after doing a make cleanworld i get the following.
>
> # make cleanworld
> "/usr/src/Makefile", line 242: warning: duplicate script for target
> "clean" ignored
> "/usr/src/Makefile", line 242: warning: duplicate script for target
> "cleandepend" ignored
> "/usr/src/Makefile", line 242: warning: duplicate script for target
> "distribute" ignored
> "/usr/src/Makefile", line 242: warning: duplicate script for target "lint"
> ignored
> "/usr/src/Makefile", line 242: warning: duplicate script for target "obj"
> ignored
> "/usr/src/Makefile", line 242: warning: duplicate script for target
> "objlink" ignored
> "/usr/src/Makefile", line 242: warning: duplicate script for target "tags"
> ignored
> "/usr/src/Makefile", line 242: warning: duplicate script for target
> "files" ignored
> "/usr/src/Makefile", line 242: warning: duplicate script for target
> "includes" ignored
> rm -rf /usr/obj/usr/src/*
> chflags -R 0 /usr/obj/usr/src
> rm -rf /usr/obj/usr/src/*
>
> # make buildworld starts the with the same messages, but fails.
>
> ===> cddl/usr.sbin/lockstat (cleandir)
> rm -f lockstat lockstat.o sym.o
> rm -f .depend GPATH GRTAGS GSYMS GTAGS
> ===> cddl/usr.sbin/zdb (cleandir)
> rm -f zdb zdb.o zdb_il.o zdb.8.gz zdb.8.cat.gz
> rm -f .depend GPATH GRTAGS GSYMS GTAGS
> ===> cddl/usr.sbin/zhack (cleandir)
> cd: /usr/src/cddl/usr.sbin/zhack: No such file or directory
> *** [cleandir] Error code 2
>
> Stop in /usr/src/cddl/usr.sbin.
> *** [cleandir] Error code 1
>
> Stop in /usr/src/cddl.
> *** [cddl.cleandir__D] Error code 1
>
> Stop in /usr/src.
> *** [_cleanobj] Error code 1
>
> Stop in /usr/src.
> *** [buildworld] Error code 1
>
> Stop in /usr/src.
>
> Here is my make.conf
>
> CPUTYPE?=nocona
>
> #CLANG
> CC=clang
> CXX=clang++
> CPP=clang-cpp
>
> KERNCONF=KRNL
>
> BATCH_DELETE_OLD_FILES= yes
> CUPS_OVERWRITE_BASE=yes
>
> WITHOUT_X11=yes
> WITHOUT_GUI=yes
>
> #### END MAKE.CONF FILE ###
>
> regards.
> Johan Hendriks
>
> ______________________________**_________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/**mailman/listinfo/freebsd-fs<http://lists.freebsd.org/mailman/listinfo/freebsd-fs>
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@**freebsd.org<freebsd-fs-unsubscribe at freebsd.org>
> "
>



-- 
Marcelo Araujo
araujo at FreeBSD.org


More information about the freebsd-fs mailing list