Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Proxmox Cookbook

You're reading from   Proxmox Cookbook Over 60 hands-on recipes to perform server virtualization and manage virtualized server solutions with Proxmox

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781783980901
Length 318 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Wasim Ahmed Wasim Ahmed
Author Profile Icon Wasim Ahmed
Wasim Ahmed
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Installing Proxmox FREE CHAPTER 2. Getting to Know the Proxmox GUI 3. Cluster and VM Management 4. Network Configurations 5. Firewall Configurations 6. Storage Configurations 7. Backup and Restore 8. Updating and Upgrading Proxmox 9. Monitoring Proxmox 10. Advanced Configurations for VMs 11. The CLI Command Reference Index

Gluster commands


In this section, we will look at the commands for performing various tasks for GlusterFS in Proxmox.

How to do it…

The following steps demonstrate the various commands that are used to perform various tasks for GlusterFS in Proxmox:

  1. Use the following command to create a Gluster volume in a replicated mode:

    # gluster volume create <name> replica [count] <destination_brick 1> <destination_brick 2> <…>
    

    Creating a Gluster volume named testgfs with two replicas would be as follows:

    #gluster volume create testgfs replica 2 172.16.0.72:/mnt/gfs/testgfs 172.16.0.73:/mnt/gfs/testgfs
    

    The following screenshot shows the output of the Gluster volume creation process:

  2. Use the following command to see a list of Gluster volumes:

    # gluster volume list
    
  3. Use the following command to start and stop the Gluster volume:

    # gluster volume [start|stop] <volume>
    
  4. Use the following command to check the status of Gluster peer nodes:

    # gluster peer status
    
  5. Use the following command...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime