10

Click here to load reader

How to Create a Storage Volume and Mount on Clients

Embed Size (px)

DESCRIPTION

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.

Citation preview

Page 2: How to Create a Storage Volume and Mount on Clients

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.

Page 3: How to Create a Storage Volume and Mount on Clients

3

Volume Manager Tab

Navigate to the Volume Manager tab

Click Create Volume

Page 4: How to Create a Storage Volume and Mount on Clients

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

Page 5: How to Create a Storage Volume and Mount on Clients

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.

Page 6: How to Create a Storage Volume and Mount on Clients

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]

Page 7: How to Create a Storage Volume and Mount on Clients

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

Page 8: How to Create a Storage Volume and Mount on Clients

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.

Page 9: How to Create a Storage Volume and Mount on Clients

9

Congratulations, You’re Done!

Gluster volumes are fully POSIX compliant.

Applications can access mounted Gluster

volumes without any changes.`

Page 10: How to Create a Storage Volume and Mount on Clients

Thank You

Download Gluster Storage Platform or

Sign up for 30 days free support – www.gluster.com

Questions? – [email protected]