too many FUSE filesystems mounted
真是日了狗了,每一次重启电脑感觉都会有一次惊吓等着我。
电脑重启后,使用rclone
挂载OneDrive网盘,显示以下错误:
2022/08/25 10:44:21 mount helper error: fusermount: too many FUSE filesystems mounted; mount_max=N can be set in /etc/fuse.conf
2022/08/25 10:44:21 Fatal error: failed to mount FUSE fs: fusermount: exit status 1
于是终端运行sudo nano /etc/fuse.conf
,最大可mount数量为1000。
# Set the maximum number of FUSE mounts allowed to non-root users.
# The default is 1000.
mount_max = 1000
感觉数量已经足够了,但在终端运行df -h | wc -c
,显示已挂载数量为1933。
将/etc/fuse.conf
文件中的mount_max = 1000
数量改为2000后再次运行
rclone mount onedrive: ~/OneDrive --allow-other --vfs-cache-mode full --daemon
挂载成功。