linux根目录空间不足/dev/mapper/centos-root
时间: 2023-09-07 13:13:25 浏览: 271
centos磁盘空间不足解决(本例为根目录).md
可以看到,这里的根目录空间不足。根目录在"/"下,它的空间由"/dev/mapper/centos-root"提供,目前为50G。为了解决这个问题,我们可以将一部分空间从home目录转移到根目录。首先,确保"/dev/mapper/centos-home"有足够的空间可以分配给根目录。可以使用命令来查看:然后,使用命令"mount /dev/mapper/centos-home /home"来恢复/home目录的内容。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [动态扩容Linux根目录:/dev/mapper/centos-home分配部分空间给/dev/mapper/centos-root(/dev/mapper/centos...](https://blog.csdn.net/weixin_36004568/article/details/116733145)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [动态扩容Linux根目录:/dev/mapper/centos-home分配部分空间给/dev/mapper/centos-root](https://blog.csdn.net/weixin_39447365/article/details/127535769)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文