MongoDB 在 WSL 上失败并显示“fdatasync:无效参数”

alv*_*vis 5 mongodb windows-subsystem-for-linux

我正在 WSL 上设置 MongoDB 实例。当我尝试运行时mongod --dbpath /path/to/db,出现以下错误:

E STORAGE  [initandlisten] WiredTiger error (22) [1585749233:781695][842:0x7f8f57ee09c0], connection: __posix_sync, 108: /path/to/db: directory-sync: fdatasync: Invalid argument Raw: [1585749233:781695][842:0x7f8f57ee09c0], connection: __posix_sync, 108: /path/to/db: directory-sync: fdatasync: Invalid argument
Run Code Online (Sandbox Code Playgroud)

MongoDB 在指定目录中创建文件,如果我再试一次,我得到

E STORAGE  [initandlisten] WiredTiger error (17) [1585750028:645900][846:0x7f3f0e0309c0], connection: __posix_open_file, 715: /path/to/db/WiredTiger.wt: handle-open: open: File exists Raw: [1585750028:645900][846:0x7f3f0e0309c0], connection: __posix_open_file, 715: /path/to/db/WiredTiger.wt: handle-open: open: File exists
Run Code Online (Sandbox Code Playgroud)

谁能解释一下这个问题吗?

MongoDB v4.0.3