Hace días que intento que ZFS-on-Linux funcione en Debian 7, pero el módulo no quiere compilar:
# dpkg-reconfigure zfs-dkms
------------------------------
Deleting module version: 0.6.3
completely from the DKMS tree.
------------------------------
Done.
Loading new zfs-0.6.3 DKMS files...
Building only for 2.6.32-openvz-042stab090.5-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Por supuesto, los encabezados y la fuente están instalados:
# uname -r
2.6.32-openvz-042stab090.5-amd64
# dpkg -l | grep 2.6.32-openvz-042stab090.5-amd64
ii linux-headers-2.6.32-openvz-042stab090.5-amd64 1 amd64 Header files related to Linux kernel, specifically,
ii linux-image-2.6.32-openvz-042stab090.5-amd64 1 amd64 Linux kernel binary image for version 2.6.32-openvz-042stab090.5-amd64
ii linux-source-2.6.32-openvz-042stab090.5-amd64 1 all Linux kernel source for version 2.6.32-openvz-042stab090.5-amd64
#
Así que lo estoy intentando manualmente. Todavía no:
# dkms build zfs/0.6.3 -k `uname -r` --kernelsourcedir=/usr/src/linux-source-2.6.32-openvz-042stab090.5-amd64
Error! Your kernel headers for kernel 2.6.32-openvz-042stab090.5-amd64 cannot be found.
Please install the linux-headers-2.6.32-openvz-042stab090.5-amd64 package,
or use the --kernelsourcedir option to tell DKMS where it's located
ls /usr/src/linux-source-2.6.32-openvz-042stab090.5-amd64 | wc -l
90
contiene todo (arco, bloque, configuraciones, debian, ...). WTF?