1:本工具默认将数据盘挂载到/www目录
2:若您的磁盘已分区,且未挂载,工具会自动将分区挂载到/www
3:若您的磁盘是新磁盘,工具会自动分区并格式化成xfs/ext4文件系统
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