Liunx如何格式化数据盘数据

云服务器

Liunx如何格式化数据盘数据

2023-03-12 13:06


                                            




重做完系统,先别挂载数据盘

 

链接上ssh,输入格式化命令:mkfs.ext3 /dev/vdb

 

等待格式化完成,(如你已挂载则无法格式化成功。)

 

挂载数据盘命令:

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