基本命令 mkfs.ext4 /dev/vdb mkdir /data mount /dev/vdb /data 开启自动挂载 echo "/dev/vdb /data ext4 defaults 0 0" >> /etc/fstab