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
标签:blkid,uuid,nosql,ext4,sdb,磁盘,挂载
来源: https://blog.51cto.com/90xpy/2825356