Reasonable output from 'make check' now looks roughly like this. The big change is the consolidation of the all the zpion test results in to a single table which can be easily scanned for failures/problems. ==================================== ZTEST ==================================== 5 vdevs, 7 datasets, 23 threads, 300 seconds... Pass 1, SIGKILL, 1 ENOSPC, 13.8% of 238M used, 17% done, 4m07s to go Pass 2, SIGKILL, 1 ENOSPC, 23.7% of 238M used, 38% done, 3m04s to go Pass 3, SIGKILL, 0 ENOSPC, 27.0% of 238M used, 66% done, 1m42s to go Pass 4, SIGKILL, 0 ENOSPC, 27.4% of 238M used, 75% done, 1m14s to go Pass 5, SIGKILL, 0 ENOSPC, 27.9% of 238M used, 89% done, 32s to go Pass 6, Complete, 0 ENOSPC, 14.0% of 476M used, 100% done, 0s to go 5 killed, 1 completed, 83% kill rate ==================================== ZPIOS ==================================== status name id wr-data wr-ch wr-bw rd-data rd-ch rd-bw ------------------------------------------------------------------------------- PASS: file-raid0 0 64m 64 13.04m 64m 64 842.22m PASS: file-raid10 0 64m 64 134.19m 64m 64 842.22m PASS: file-raidz 0 64m 64 87.56m 64m 64 853.45m PASS: file-raidz2 0 64m 64 134.19m 64m 64 853.45m PASS: lo-raid0 0 64m 64 429.59m 64m 64 14.63m PASS: lo-raid10 0 64m 64 397.57m 64m 64 771.19m PASS: lo-raidz 0 64m 64 206.48m 64m 64 688.27m PASS: lo-raidz2 0 64m 64 14.34m 64m 64 711.21m |
||
---|---|---|
cmd | ||
config | ||
doc | ||
lib | ||
module | ||
scripts | ||
.topdeps | ||
.topmsg | ||
AUTHORS | ||
COPYING | ||
COPYRIGHT | ||
ChangeLog | ||
DISCLAIMER | ||
GIT | ||
META | ||
Makefile.am | ||
OPENSOLARIS.LICENSE | ||
README | ||
TODO | ||
ZFS.RELEASE | ||
autogen.sh | ||
configure.ac | ||
zfs-modules.spec.in | ||
zfs.spec.in | ||
zfs_unconfig.h |
README
============================ ZFS KERNEL BUILD ============================ 1) Build the SPL (Solaris Porting Layer) module which is designed to provide many Solaris APIs in the Linux kernel which are needed by ZFS. To build the SPL: tar -xzf spl-x.y.z.tgz cd spl-x.y.z ./configure --with-linux=<kernel src> make make check <as root> 2) Build ZFS, this port is based on build specified by the ZFS.RELEASE file. You will need to have both the kernel and SPL source available. To build ZFS for use as a Linux kernel module. tar -xzf zfs-x.y.z.tgz cd zfs-x.y.z ./configure --with-linux=<kernel src> \ --with-spl=<spl src> make make check <as root> ============================ ZPIOS TEST SUITE ============================ 3) Provided is an in-kernel test application called zpios which can be used to simulate a parallel IO load. It may be used as a stress or performance test for your configuration. To simplify testing scripts provided in the scripts/ directory which provide a few pre-built zpool configurations and zpios test cases. By default 'make check' as root will run a simple test against several small loopback devices created in /tmp/. cd scripts ./zfs.sh # Load the ZFS/SPL modules ./zpios.sh -c lo-raid0.sh -t tiny -v # Tiny zpios loopback test ./zfs.sh -u # Unload the ZFS/SPL modules Enjoy, Brian Behlendorf <behlendorf1@llnl.gov>