在创建分布式卷的时候出现以下问题:Failed to create brick directory for brick node1:/data/sdc1
在创建gluster分布卷时,出现以下错误
volume create: stripe-volume: failed: Failed to create brick directory for brick node1:/data/sdc1. Reason : 没有那个文件或目录
解决办法:
发现是没有进行挂载磁盘,只需要将其他几个node进行挂载,就能成功了。
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210304093839697.png)
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210304093853246.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl81MTYxNDU4MQ==,size_16,color_FFFFFF,t_70)