1 |
Anyone got ZFS working on their Gentoo install? I'm contemplating it, but |
2 |
the wiki[1] confuses me a bit. Specifically, section '3 Installing into the |
3 |
kernel directory (for static installs)' states: |
4 |
This will generate the needed files, and copy them into the kernel sources |
5 |
directory. |
6 |
root # (cd /var/tmp/portage/sys-kernel/spl-9999/work/spl-9999 && |
7 |
./copy-builtin /usr/src/linux) |
8 |
root # (cd /var/tmp/portage/sys-fs/zfs-kmod-9999/work/zfs-kmod-9999/ && |
9 |
./copy-builtin /usr/src/linux) |
10 |
After this, you just need to edit the kernel config to enable CONFIG_SPL |
11 |
and CONFIG_ZFS and emerge the zfs binaries. |
12 |
root # mkdir -p /etc/portage/profile |
13 |
root # echo 'sys-fs/zfs -kernel-builtin' >> |
14 |
/etc/portage/profile/package.use.mask |
15 |
root # echo 'sys-fs/zfs kernel-builtin' >> /etc/portage/package.use |
16 |
root # emerge -1v sys-fs/zfs |
17 |
The echo's only need to be run once, but the emerge needs to be run every |
18 |
time you install a new version of zfs. |
19 |
|
20 |
Do you really need to copy the files into the kernel tree? WTD is a 'static |
21 |
install' in this context? |
22 |
|
23 |
'emerge zfs' shows: |
24 |
Calculating dependencies... done! |
25 |
[ebuild N ] sys-fs/zfs-0.6.1 USE="rootfs -custom-cflags |
26 |
(-kernel-builtin) -static-libs -test-suite" 1,500 kB |
27 |
[ebuild N ] sys-fs/zfs-kmod-0.6.1 USE="rootfs -custom-cflags -debug" |
28 |
0 kB |
29 |
[ebuild N ] sys-kernel/spl-0.6.1 USE="-custom-cflags -debug |
30 |
-debug-log" 209 kB |
31 |
|
32 |
which seems to pull in the daemon and the kmod so wouldn't the zfs-kmod |
33 |
ebuild build against the current kernel and drop in the modules directory |
34 |
all by itself much like any of the 100s of FUSE modules do? |
35 |
|
36 |
Any clarification on the install process would be appreciated. |
37 |
|
38 |
[1] - http://wiki.gentoo.org/wiki/ZFS |
39 |
-- |
40 |
Douglas J Hunley (doug.hunley@×××××.com) |
41 |
Twitter: @hunleyd Web: |
42 |
douglasjhunley.com |
43 |
G+: http://goo.gl/sajR3 |