Skip to content

Instantly share code, notes, and snippets.

@andretw
Last active August 29, 2015 14:04
Show Gist options
  • Save andretw/29e4b86ba0244fa11c16 to your computer and use it in GitHub Desktop.
Save andretw/29e4b86ba0244fa11c16 to your computer and use it in GitHub Desktop.
GlusterFS Memo

GlsterFS

  • At least 2 instances, otherwise needs to use different ports.

Client

  1. Install glusterfs-client package

    yum install glusterfs-client
    
  2. Create mount point

    mkdir /mnt/upload
    
  3. Mount glusterfs volume

    mount.glusterfs myglusterfs1:/myvol /mnt/upload
    
  4. HA configurations

    vim /etc/fstab
    
    myglusterfs1:/myvol /mnt/upload glusterfs defaults,backupvolfile-server=myglusterfs2 0 0
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment