在沒有分區和格式化數據盤之前,使用 “df –h”無法看到數據盤
fdisk -l
mkfs.ext4 /dev/vdb
mount /dev/vdb /opt
echo '/dev/vdb /opt ext4 defaults 0 0' >> /etc/fstab