掛載數據盤
mkdir /datausr@ubuntu:~$ lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 465.8G 0 disk sda1 8:1 0 512M 0 part /boot/efisda2 8:2 0 464.3G 0 part /sda3 8:3 0 976M 0 part cryptswap1 252:0 0 975.5M 0 cryptsdb 8:16 0 5.5T 0 disk sdc 8:32 0 5.5T 0 disk 從新初始化、而且格式化數據盤parted /dev/sdb mklabel gptmkfs.ext4 /dev/sdb掛載數據盤獲取 UUID root@ubuntu:/# blkid /dev/sdb |awk '{print $2}'|sed 's/"//g'UUID=0b238fbf-ea33-49dd-bb5c-adf7b763d9c6修改vim /etc/fstab文件增長一行UUID=0b238fbf-ea33-49dd-bb5c-adf7b763d9c6 /data ext4 defaults 0 0掛載root@ubuntu:/# mount -a看掛載結果root@ubuntu:/# df -hFilesystem Size Used Avail Use% Mounted on/dev/sdb 5.5T 58M 5.2T 1% /data