mkdir returning Read-only file system code example Example: mkdir: /data/db: Read-only file system mkdir -p usr/local/var/mongodb/data/db