linux:filesystem:glusterfs

glusterfs

  • /etc/init.d/glusterfs-server status
  • config files:/var/lib/glusterd
sudo gluster help
glusterfs --version
 
glusterfs 3.4.2 built on Jan 14 2014 18:05:35
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2013 Red Hat, Inc. <http://www.redhat.com/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.
sudo gluster volume info
 
Volume Name: gv0
Type: Replicate
Volume ID: 39159af2-8a53-44f0-9379-43b86370302a
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: processing1:/exports/sdb1/brick1
Brick2: processing2:/exports/sda1/brick1
sudo gluster vol status
 
Status of volume: gv0
Gluster process						Port	Online	Pid
------------------------------------------------------------------------------
Brick processing1:/exports/sdb1/brick1			49152	Y	2130
Brick processing2:/exports/sda1/brick1			49152	Y	1822
NFS Server on localhost					2049	Y	2119
Self-heal Daemon on localhost				N/A	Y	2125
NFS Server on processing2				2049	Y	1829
Self-heal Daemon on processing2				N/A	Y	1821
 
There are no active volume tasks
gluster volume start gv0
gluster volume list
  • gluster volume log locate <VOLNAME>

    ← no funciona encara que apareix a la documentació

  • gluster volume log rotate <VOLNAME> <BRICK>
  • o TSP = Trusted Server Pool:
    gluster pool list
  • afegir un nou node (ja configurat):
    gluster peer probe <HOSTNAME>
  • treure node:
    gluster peer detach <HOSTNAME>
  • status dels nodes:
    gluster peer status
  • linux/filesystem/glusterfs.txt
  • Darrera modificació: 06/12/2020 03:39
  • per mate