V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
sbmzhcn
V2EX  ›  问与答

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

  •  
  •   sbmzhcn · Oct 10, 2016 · 2196 views
    This topic created in 3495 days ago, the information mentioned may be changed or developed.

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

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

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

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

    4 replies    2016-10-10 10:57:56 +08:00
    cevincheung
        1
    cevincheung  
       Oct 10, 2016
    > 硬盘用完了,会自动用第二个硬盘空间
    为什么会这么认为……
    Hucai
        3
    Hucai  
       Oct 10, 2016
    在 home/wwwroot 下面建个目录的软连到 /mnt/volume-sfo2-08 下面
    gamexg
        4
    gamexg  
       Oct 10, 2016
    ?
    需求空间小直接升级配置,直接扩充原盘空间。
    如果需求空间大,直接买个大硬盘,把 /home/wwwroot 全迁进去。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5291 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 05:45 · PVG 13:45 · LAX 22:45 · JFK 01:45
    ♥ Do have faith in what you're doing.