V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐工具
RoboMongo
推荐书目
50 Tips and Tricks for MongoDB Developers
Related Blogs
Snail in a Turtleneck
MilkShake
V2EX  ›  MongoDB

关于 mongodb 文件系统。

  •  
  •   MilkShake · Jan 11, 2019 · 7086 views
    This topic created in 2671 days ago, the information mentioned may be changed or developed.
    Windows 共享一个目录,Centos7 挂载 Windows 共享的目录,使用的 mount -t cifs -o //xxx/xx /data
    mongodb 配置文件,把日志目录和存储目录都放在 /data 目录下,但是无法启动。是不是不支持这种?
    Linux 安装 mongodb,我使用 tar 直接安装。
    或者有没有相关的官方文档介绍,我找了一下文档,没有找到,mongodb 在 Windows 下也可以安装启动。
    2 replies    2019-01-11 11:37:57 +08:00
    letitbesqzr
        1
    letitbesqzr  
       Jan 11, 2019
    无法启动报错什么? 目录要是能够正常读写,应该是没问题的,注意下权限方面是否正常
    MilkShake
        2
    MilkShake  
    OP
       Jan 11, 2019
    @letitbesqzr 目录权限是 755 使用的 root 用户。ERROR: child process failed, exited with error number 1
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   810 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 22:13 · PVG 06:13 · LAX 15:13 · JFK 18:13
    ♥ Do have faith in what you're doing.