I am trying to setup a new xfs filesystem in Debian 9/stretch. My kernel version is 4.9.0-3-amd64.
For that I installed the package
xfsprogs, and initialised the new partition with:
I also defined the
/etc/fstab line to mount it as:
/dev/sdb1 /srv xfs defaults 0 2
However, when trying to mount it, either with
mount -a or
mount /srv, it does not mount, and gives back the following error:
mount: unknown filesystem type 'xfs'
As I noticed the post-install scripts of
xfsprogs had regenerated the
initrd file, I took the shortcut of rebooting the server, with pretty much the same results.
What can I do?