3.2. Updating The Device Drivers

The Rocks ZFS-linux roll comes with a Makefile /opt/zfs/Makefile. If your client node runs a different kernel (via updates or other choice), then using the rebuild target of this Makefile will rebuild the spl (Solaris Porting Layer) and zfs kernel modules. The rebuild targets checks first if the modules already exist.

# cd /opt/zfs
# make rebuild

Note

The startup script /etc/init.d/zfs-modules will automatically check and rebuild the ZFS modules.