Added notes about installing and kernel modules
parent
01d0da995b
commit
4b17c5381d
|
@ -89,6 +89,13 @@ make -s -j$(nproc)
|
||||||
make deb #example for Debian/Ubuntu
|
make deb #example for Debian/Ubuntu
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Install
|
||||||
|
|
||||||
|
You can run `zfs-tests.sh` without installing ZFS, see below. If you have reason to install ZFS after building it, pay attention to how your distribution handles kernel modules.
|
||||||
|
On Ubuntu, for example, the modules from this repository install in the `extra` kernel module path, which is not in the standard `depmod` search path. Therefore, for the duration of your testing, edit `/etc/depmod.d/ubuntu.conf` and add `extra` to the beginning of the search path.
|
||||||
|
|
||||||
|
You may then install using `sudo make install; sudo ldconfig; sudo depmod`. You'd uninstall with `sudo make uninstall; sudo ldconfig; sudo depmod`.
|
||||||
|
|
||||||
#### Running zloop.sh and zfs-tests.sh
|
#### Running zloop.sh and zfs-tests.sh
|
||||||
|
|
||||||
If you wish to run the ZFS Test Suite (ZTS), then `ksh` and a few additional utilities must be installed.
|
If you wish to run the ZFS Test Suite (ZTS), then `ksh` and a few additional utilities must be installed.
|
||||||
|
@ -140,4 +147,4 @@ sudo ./scripts/zloop.sh
|
||||||
[spl-repo]: https://github.com/zfsonlinux/spl
|
[spl-repo]: https://github.com/zfsonlinux/spl
|
||||||
[zfs-repo]: https://github.com/zfsonlinux/zfs
|
[zfs-repo]: https://github.com/zfsonlinux/zfs
|
||||||
[buildbot]: http://build.zfsonlinux.org/
|
[buildbot]: http://build.zfsonlinux.org/
|
||||||
[zts-readme]: https://github.com/zfsonlinux/zfs/tree/master/tests
|
[zts-readme]: https://github.com/zfsonlinux/zfs/tree/master/tests
|
||||||
|
|
Loading…
Reference in New Issue