Skip to Content
Learn OpenShift
book

Learn OpenShift

by Denis Zuev, Artemii Kropachev, Aleksey Usov
July 2018
Intermediate to advanced
504 pages
11h 34m
English
Packt Publishing
Content preview from Learn OpenShift

GlusterFS verification

The GlusterFS volume can be mounted manually by using the FUSE client. The verification procedure looks like this:

# yum install centos-release-gluster312 -y# yum install glusterfs-fuse -y# mkdir /mnt/gvol1# mount -t glusterfs storage.example.com:/gvol1 /mnt/gvol1

Create a sample of persistent data to be used later:

# echo "Persistent data on GlusterFS" > /mnt/gvol1/index.html
This storage will be used as web server root data storage.

Verify that mount point is available and then unmount the storage:

# df -h /mnt/gvol1/Filesystem Size Used Avail Use% Mounted onstorage.example.com:/gvol1 38G 713M 37G 2% /mnt/gvol1# umount /mnt/gvol1
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Operating OpenShift

Operating OpenShift

Rick Rackow, Manuel Dewald
OpenShift for Developers, 2nd Edition

OpenShift for Developers, 2nd Edition

Joshua Wood, Brian Tannous
Kubernetes: Up and Running, 2nd Edition

Kubernetes: Up and Running, 2nd Edition

Brendan Burns, Joe Beda, Kelsey Hightower

Publisher Resources

ISBN: 9781788992329Supplemental Content