GlusterFS创建volume失败的解决方法(* or a prefix of it is already part of a volume)
来源:互联网 发布:尼康 35 1.8 知乎 编辑:程序博客网 时间:2024/05/16 23:40
问题描述:
之前已经创建了一个replicated的volume gv0,replica=2,两个目录为:/test/data1和/test/data2,之后发现这两个目录不太合适,想在/test/data1/gfs和/test/data2/gfs上重新做一个volume,于是将gv0删除,但是在新建volume时出现:
/test/data1/gfs or a prefix of it is already part of a volume的问题
经过Google发现以下解决方法:
1. 在/test/data1和/test/data2目录中删除".glusterfs"的目录
2. setfattr -x trusted.glusterfs.volume-id /test/data1
3. setfattr -x trusted.gfid /test/data1
4. setfattr -x trusted.glusterfs.volume-id /test/data2
5. setfattr -x trusted.gfid /test/data2
执行以上五个操作后,重新建立volume成功,问题解决。
参考URL:http://comments.gmane.org/gmane.comp.file-systems.gluster.user/14092
阅读全文
0 0
- GlusterFS创建volume失败的解决方法(* or a prefix of it is already part of a volume)
- GlusterFS创建volume失败的解决方法(* or a prefix of it is already part of a volume)
- a prefix of it is already part of a volume
- GlusterFS: {path} or a prefix of it is already part
- A Minimum Volume Covering Approach with a Set of Ellipsoids
- Pattern-Oriented Software Architecture, Volume 1: A System of Patterns
- 2075. 2.2 Computing the volume of a cylinder
- The Volume is dirty 的解决方法
- Overview of Modern Volume Rendering Techniques for Games - Part 1
- 错误“a label can only be part of a statement and a declaration is not a statement”解决方法
- 错误“a label can only be part of a statement and a declaration is not a statement”解决方法
- Mounting a Volume
- UVALive 6925Volume of Revolution(数学题)
- One of the disks in this virtual machine is already in use by a virtual machine or by a snapshot"
- vmware vcenter converter 4 FAILED: Unable to create a VSS snapshot of the source volume(s)
- 2075. 2.2 Computing the volume of a cylinder 太简单了…
- 狗狗40题~ (Volume A)
- "errmsg" : "Our replica set config is invalid or we are not a member of it"
- 点击UIWebView获取图片的URL的两种方法
- Android逆向-记录某密码管理APP的设计逻辑
- c#常用集合类使用练习(队列Queue、栈Stack、哈希表Hashtable和动态数组ArrayList)(2):
- XML 文件解析 利用反射原理 JavaBean 工具类
- ES6学习笔记(五)
- GlusterFS创建volume失败的解决方法(* or a prefix of it is already part of a volume)
- Android tablayout集合fragment使用
- 远程连接Linux系统下MySQL数据库失败解决方法
- CentOS6.9用yum安装gccError:Cannot find a valid baseurl for repo:base。用yum装httpd80端口被占用。
- Spark基本术语表+基本架构+基本提交运行模式
- a trap in pointer moving
- Python -range 与xrange
- 使用枚举定义常量
- itext打印PDF