1 ============================ ZFS KERNEL BUILD ============================
3 1) Build the SPL (Solaris Porting Layer) module which is designed to
4 provide many Solaris APIs in the Linux kernel which are needed
5 by ZFS. To build the SPL:
9 ./configure --with-linux=<kernel src>
13 2) Build ZFS, this port is based on build 89 of ZFS from OpenSolaris.
14 You will need to have both the kernel and SPL source available.
15 To build ZFS for use as a Linux kernel module (default):
17 tar -xzf zfs-x.y.z.tgz
19 ./configure --with-linux=<kernel src> \
24 ========================= ZFS USER LIBRARY BUILD =========================
26 1) Build ZFS, this port is based on build 89 of ZFS from OpenSolaris.
27 To build ZFS as a userspace library:
29 tar -xzf zfs-x.y.z.tgz
31 ./configure --zfsconfig=user
35 ============================ ZFS LUSTRE BUILD ============================
37 1) Build the SPL (Solaris Porting Layer) module which is designed to
38 provide many Solaris APIs in the Linux kernel which are needed
39 by ZFS. To build the SPL:
41 tar -xzf spl-x.y.z.tgz
43 ./configure --with-linux=<kernel src>
47 2) Build ZFS, this port is based on build 89 of ZFS from OpenSolaris.
48 To build ZFS as a userspace library for use by a Lustre filesystem:
50 tar -xzf zfs-x.y.z.tgz
52 ./configure --zfsconfig=lustre \
53 --with-linux=<kernel src> \
58 3) Provided is an in-kernel test application called kpios which can be
59 used to simulate a Lustre IO load. It may be used as a stress test
60 or as a performance to measure your configuration. To simplify testing
61 there are scripts provided in the scripts/ directory. A single test
62 can be run as follows:
64 WARNING: You MUST update DEVICES in the create-zpool.sh script
65 to reference the devices you wish to use.
68 ./load-zfs.sh # Load the ZFS/SPL module stack
69 ./create-zpool.sh # Modify DEVICES to list your zpool devices
70 ./zpios.sh # Modify for your particular kpios test
71 ./unload-zfs.sh # Unload the ZFS/SPL module stack
74 Brian Behlendorf <behlendorf1@llnl.gov>