scaleway-riscv scaleway-riscv-kernel scaleway-riscv-drbd scaleway-riscv-gfs2
cd /usr/src/th1520-linux-kernel/ make prepare make scripts make modules_prepare cd -
# https://linbit.com/linbit-software-download-page-for-linstor-and-drbd-linux-driver/#drbd-9 ver=9.2.12 wget https://pkg.linbit.com//downloads/drbd/9/drbd-$ver.tar.gz tar xzf drbd-$ver.tar.gz cd drbd-$ver/drbd/ export MAKEFLAGS=-j4 time make > ../../drbd-$ver.log && echo BUILT # 6m52.056s make install >/dev/null && echo DEPLOYED depmod -a
find /lib/modules/`uname -r`/ | grep drbd modprobe drbd modinfo drbd cat /proc/drbd
everything works? time to spread the thing across the cluster (and share the work)
from risc2 node
scp /boot/boot.itb risc1:/boot/ scp /boot/boot.itb elge@md:~/lab/nunux/GFS2-AND-OCFS2-AND-DRBD9/`uname -r`.boot.itb cd /lib/modules/ time tar czf `uname -r`.tar.gz `uname -r`/ # 23m34.713s scp `uname -r`.tar.gz risc1:/lib/modules/ scp `uname -r`.tar.gz elge@md:~/lab/nunux/GFS2-AND-OCFS2-AND-DRBD9/
results are here: https://lab.nethence.com/nunux/GFS2-AND-OCFS2-AND-DRBD9/
sometimes happens with drbd 9.1.23 or 9.2.12 after a successful build
modprobe: ERROR: could not insert 'drbd': Exec format error
==> …