°Ô½Ã¹° 1,369°Ç
   
[GlusterFS] ${BRICK_PATH} a prefix of it is already part of a volume
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2014-06-23 (¿ù) 18:22 Á¶È¸ : 8021
±ÛÁÖ¼Ò :
                                

Å×½ºÆ®¸¦ À§ÇØ »ý¼ºÇÑ Brick À» »èÁ¦ÇÏ°í µ¿ÀÏÇÑ Brick °æ·Î¸¦ ´Ù½Ã »ç¿ëÇÏ°íÀÚ ÇÒ¶§...
# gluster volume create VM_DISK 192.168.200.202:/VM_DISK/HDs 192.168.200.203:/VM_DISK/HDs 192.168.200.204:/VM_DISK/HDs 192.168.200.205:/VM_DISK/HDs
volume create: VM_DISK: failed: /VM_DISK/HDs or a prefix of it is already part of a volume


# setfattr -x trusted.glusterfs.volume-id /VM_DISK/HDs
# setfattr -x trusted.gfid /VM_DISK/HDs
# rm -rf /VM_DISK/HDs/.glusterfs
# gluster volume create VM_DISK 192.168.200.202:/VM_DISK/HDs 192.168.200.203:/VM_DISK/HDs 192.168.200.204:/VM_DISK/HDs 192.168.200.205:/VM_DISK/HDs
volume create: VM_DISK: success: please start the volume to access data




The Solution

For the directory (or any parent directories) that was formerly part of a volume, simply:

setfattr -x trusted.glusterfs.volume-id $brick_path
setfattr -x trusted.gfid $brick_path
rm -rf $brick_path/.glusterfs

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.