This presentation will demonstrate how to set up and create a distributed storage volume and then export as GlusterFS native, NFS, and CIFS. This is the next logical step after installing Gluster Storage Platform.
How to Create a Storage Volume and Mount on Clients
1. How to Create a Storage Volume
and Mount on Clients
(Next step after Installing Gluster Storage Platform)
2. Overview
Create a volume and specify export
protocol(s):
• GlusterFS Native: For Linux only
(install client software on your system)
• NFS: For Linux or Unix
• CIFS: For Windows
Mount created volume on clients.
2
4. Create Volume
Enter Volume name
Select Volume type
• None: Files will be distributed
across servers
• Mirror: Each file written
synchronously on two servers.
(Need multiples of 2 servers)
• Stripe*: File blocks spread across
4 servers. (Need multiples of 4
servers). *Gluster recommends stripe for
very limited use cases. Contact us for details.
Select Transport type
Select Storage Servers
Select export protocols
• For CIFS: Specify a username
and password
Click Create Volume
4
5. Volume Manager Tab
The Volume has been created and is accessible to clients.
You can start, stop, delete, or create another volume from this screen.
5
6. Mounting a Volume with GlusterFS Native
First install the GlusterFS client module on
each client
The client software is available at
www.gluster.org/download and installs as a
user space application.
Then as a root user, run the following
command:
mount -t glusterfs [StorageNodeIP]:[VolumeName]-tcp [mountpoint]
6
7. Mounting a Volume with NFS
As a root user, run the following command:
mount -t nfs [StorageNodeIP]:/nfs/[VolumeName] [mountpoint]
Note: To have the volume mounted every time on boot automatically,
add the mount command to /etc/fstab
7
8. To Mount as CIFS
From a Windows client machine:
• Open “Computer” then “Network”.
• Double click on the storage node that you want to connect.
• The CIFS exported volume will appear. Double click on it.
• Enter username and password specified during volume creation,
then connect.
Note: You can also map this volume to a network drive and tell
Windows to reconnect automatically on login.
8
9. Congratulations, You’re Done!
Gluster volumes are fully POSIX compliant.
Applications can access mounted Gluster
volumes without any changes.
`
9
10. Thank You
Download Gluster Storage Platform or
Sign up for 30 days free support – www.gluster.com
Questions? – info@gluster.com