为确保统一性,格式化磁盘推荐使用脚本自动格式化并挂载

执行格式化-不格式化 data 数据盘 (重复执行不格式化)
  1. bash -c "$(curl -sS https://gitee.com/lwmacct/web-vscode-shell/raw/main/workspace/shell/centos/disk/init-disk.sh)"

执行格式化-全面格式化,不保留任何数据 (重复执行将会格式化)

  1. bash -c "$(curl -sS https://gitee.com/lwmacct/web-vscode-shell/raw/main/workspace/shell/centos/disk/init-disk.sh)" x mkfs=yes