Blkid 查看 disk uuid blkid -s UUID -o value /dev/sdb # export DISK_UUID=$(blkid -s UUID -o value /dev/sdb)