mount 挂载失败,Operation not supported。使用的是自己装的系统

mount -t nfs -o nolock,vers=3 192.168.5.11:/home/lawliet/nfs_rootfs /mnt
mount: mounting 192.168.5.11:/home/lawliet/nfs_rootfs on /mnt failed: Operation not supported

需要设置虚拟机的防火墙和nfs服务器的权限,参考博客:NFS文件挂载教程:虚拟机与开发板的网络通信与自动化-CSDN博客