1、Linux自动磁盘挂载工具介绍
其实Linux数据盘挂载还是有一定的繁琐的,因为要格式化、又要创建挂载目录等,对于新手朋友来说哪个步骤都出不得问题!这里为大家推荐一款不错的Linux系统自动挂载数据盘的脚步脚本:BT-Panel Linux自动磁盘挂载工具!此工具默认一键将数据盘挂载到/www目录,因此如果磁盘已分区且未挂载,此工具会自动将分区挂载到/www!如果你的服务器磁盘是新磁盘,工具会自动分区并格式化成xfs/ext4文件系统后在将数据盘挂载到/www目录!目前BT-Panel Linux自动磁盘挂载工具支持Centos、Ubuntu、Debian、Fedora系统。


2、Linux一键挂载数据盘脚本
作者脚本:
Centos系统请使用以下命令:
yum install wget -y && wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh
Ubuntu系统请使用以下命令:
wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && sudo bash auto_disk.sh
Debian系统请使用以下命令:
wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh