V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
sbmzhcn
V2EX  ›  问与答

Digitalocean 挂载硬盘后,分区扩容的问题

  •  
  •   sbmzhcn · 2016-10-10 09:57:18 +08:00 · 1764 次点击
    这是一个创建于 2748 天前的主题,其中的信息可能已经有所发展或是发生改变。

    关于硬盘挂载有个问题想弄明白

    digitalocean 目前支持添加一个额外的硬盘,需要挂载(我挂载到 /mnt/volume-sfo2-08 ),但是如果我第一个硬盘满了,无法在目录下添加文件了,比如 /home/wwwroot 会提示硬盘满了,我本来以为硬盘用完了,会自动用第二个硬盘空间,但问了客服说不行,只能把文件放到/mnt/volume-sfo2-08下面。

    想问下这个问题是无解的吗? 我重新分区也不行吗?

    因为我的网站都在/home/wwwroot下,每添加一个网站,自动放在这个文件夹下面,不想改动脚本。

    4 条回复    2016-10-10 10:57:56 +08:00
    cevincheung
        1
    cevincheung  
       2016-10-10 10:03:59 +08:00
    > 硬盘用完了,会自动用第二个硬盘空间
    为什么会这么认为……
    Hucai
        3
    Hucai  
       2016-10-10 10:57:54 +08:00
    在 home/wwwroot 下面建个目录的软连到 /mnt/volume-sfo2-08 下面
    gamexg
        4
    gamexg  
       2016-10-10 10:57:56 +08:00
    ?
    需求空间小直接升级配置,直接扩充原盘空间。
    如果需求空间大,直接买个大硬盘,把 /home/wwwroot 全迁进去。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2163 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 00:26 · PVG 08:26 · LAX 17:26 · JFK 20:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.