Install ZFS root with FAI?

Robert Markula robert at markula.org
Thu Nov 8 15:59:40 CET 2018


Am 05.11.18 um 11:24 schrieb Steffen Grunewald:
> On Sun, 2018-11-04 at 12:35:12 +0100, Robert Markula wrote:
>> how do you ensure the ZFS kernel module is present on the Debian
>> NFSroot? Adding
>>
>> PACKAGES install
>> zfs-dkms
>> zfsutils-linux
>>
>> to /etc/fai/NFSROOT does not seem to build the ZFS kernel module.
> Add a hook:
>
> --- /etc/fai/nfsroot-hooks/90-zfs ---
> #!/bin/bash
>
> export DEBIAN_FRONTEND=noninteractive
> $ROOTCMD dpkg-reconfigure -fnoninteractive spl-dkms
> $ROOTCMD dpkg-reconfigure -fnoninteractive zfs-dkms
> --- ---
>
> Yes, that's kind of garters and belts, but it works.

Indeed, confirmed to be working. Thanks a lot!


More information about the linux-fai mailing list