glusterfs volume create force 강제 생성하기

glusterfs peer 연결 및 볼륨 생성하기

GlusterFS는 클라우드 환경에서 분산되어 있는 서버의 디스크를 묶어 하나의 분산  파일 시스템으로 만들어 주는 서비스 입니다. 소프트웨어적으로 복제본을 관리하고 자가 복구 및 스냅샷 관리를 할 수 있습니다. 기존 디스크 보다 안정적인 서버 운영을 할 수 있게 도와줍니다.

한 마디로 정의하면 '분산 파일 시스템' 입니다.

 

brick 관리 데몬 실행하기

# service glusterd start

 

peer 연결하기

# gluster oeer oribe server1

 

peer 확인하기

# gluster peer status

 

Number of Peers로 클러스터의 피어 수를 확인할 수 있습니다.

 

Volume 생성하기

gluster volume create gfs_volume $HOSTNAME:/home/gfs_brick1

volume create: gfs_volume: failed: The brick $HOSTNAME:/home/gfs_brick1 is being created in the root partition. It is recommended that you don't use the system's root partition for storage backend. Or use 'force' at the end of the command if you want to override this behavior.

 

# gluster volume create gfs_volume $HOSTNAME:/home/gfs_brick1 force

 

Volume 확인하기

# gluster volume info

 

용어

클러스터

분산된 peer의 모임

 

Brick(브릭)

각 노드에서 볼륨으로 사용 할 파일 시스템, 마운트 포인트

댓글

Designed by JB FACTORY