Install ZFS root with FAI?
Steffen Grunewald
steffen.grunewald at aei.mpg.de
Mon Nov 5 11:24:56 CET 2018
On Sun, 2018-11-04 at 12:35:12 +0100, Robert Markula wrote:
> Hi Remy,
>
> 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.
- S
--
Steffen Grunewald, Cluster Administrator
Max Planck Institute for Gravitational Physics (Albert Einstein Institute)
Am Mühlenberg 1 * D-14476 Potsdam-Golm * Germany
~~~
Fon: +49-331-567 7274
Mail: steffen.grunewald(at)aei.mpg.de
~~~
More information about the linux-fai
mailing list