Menü Schließen

GlusterFS – ein Volume löschen

Gluster Logo

System ist ein Debian Wheezy mit GlusterFS 3.3.0 und einem Distribute Volume über 2 Server.Ziel ist es das Volume zu löschen.

Lösung – auf einem Server folgendes ausführen:

Status des aktuellen Volume “vol1”
# gluster volume info vol1

Volume Name: vol1
Type: Distribute
Volume ID: a9652f88-8feb-49d8-9442-dfcb1a811639
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: glusternode1:/glusterfs/data
Brick2: glusternode2:/glusterfs/data
Options Reconfigured:
auth.allow: 192.168.0.*

Gluster Volume stoppen
# gluster volume stop vol1
Stopping volume will make its data inaccessible. Do you want to continue? (y/n) y
volume stop: vol1: success

final löschen des Volume “vol1”
#gluster volume delete vol1
Deleting volume will erase all information about the volume. Do you want to continue? (y/n) y
volume delete: vol1: success

Status des Volume “vol1”
gluster volume info vol1
Volume vol1 does not exist

Volume vol1 wurde gelöscht

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert