Linux服务器一键挂载数据盘

Linux服务器一键挂载数据盘操作教程建议在购买服务器后,第一时间挂载数据盘,以免后面挂载导致系统故障。       如果你的服务器已经有数据了,请务必备份数据后再挂载数据盘,避免操作失误导致系统故障,数据丢失

更新于 2026-11-15
<!DOCTYPE html>

Linux服务器一键挂载数据盘操作教程建议在购买服务器后,第一时间挂载数据盘,以免后面挂载导致系统故障。

&nbsp;

&nbsp;

&nbsp;

如果你的服务器已经有数据了,请务必备份数据后再挂载数据盘,避免操作失误导致系统故障,数据丢失。

&nbsp;

&nbsp;

&nbsp;

一:SSH连接服务器

&nbsp;

&nbsp;

&nbsp;

二:输入宝塔一键挂载命令

&nbsp;

&nbsp;

&nbsp;

根据您服务器安装的操作系统,选择执行以下数据盘挂载命令

&nbsp;

&nbsp;

&nbsp;

centos系统:

&nbsp;

&nbsp;

&nbsp;

yum install wget -y &amp;&amp; wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh &amp;&amp; bash auto_disk.sh

&nbsp;

&nbsp;

&nbsp;

Ubuntu系统:

&nbsp;

&nbsp;

&nbsp;

wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh &amp;&amp; sudo bash auto_disk.sh

&nbsp;

&nbsp;

&nbsp;

debian系统:

&nbsp;

&nbsp;

&nbsp;

wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh &amp;&amp; bash auto_disk.sh

&nbsp;

&nbsp;

&nbsp;

执行命令后,会出现一个挂载的提示,这里输入y,然后回车

&nbsp;

&nbsp;

&nbsp;

挂载完成

&nbsp;

&nbsp;

&nbsp;

挂载完成后,建议重启一次服务器,重启后服务器能正常打开,说明挂载没有问题

首页|登录|注册

正在加载 冰云互联-企业级云计算供应商…