挂载磁盘

1. 添加磁盘
2.  mkfs.ext4 /dev/sdb 
3.  y
4. mkdir  /nosql
5. mount /dev/sdb /nosql
6. blkid   命令拿到新磁盘uuid
7. /etc/fstab  文件中添加开机自动挂载[uuid 通过 blkid 获取]
   UUID=2faef055-9146-4dc4-a6fd-fcb4b0681973 /nosql     ext4   default 0 0
原文地址:https://www.cnblogs.com/superlinux/p/13691872.html