If you attempt to use MongoDB with e.g. an HGFS mount as the data directory, you may see an fassert on startup:
Sat Feb 16 07:04:41.098 [initandlisten] Assertion: 13651:Couldn't fsync directory '/mnt/hgfs/data/db/bug': errno:22 Invalid argument
This typically indicates the use of a device that does not support fsyncing on directories. We should handle this error (EINVAL) better:
- either not worry about fsyncing the directory and give a warning
- or still abort, but give suggestions as to how to correct the issue
- is related to
-
SERVER-8521 Lazily clean up temp collections
- Closed
-
SERVER-6739 Add support for panasas filesystem
- Closed
- related to
-
SERVER-27640 Need to fsync directories on linux
- Closed