[Gluster-users] VM crash, store in glusterfs

Gregor Burck gregor at aeppelbroe.de
Thu Jul 2 10:02:45 UTC 2015


Hi,

I would like to ade some test with glusterfs and virtualbox.
The goal is to store the virtualbox files in a glusterfs store and  
access it from to machines.

In my setup, the servers are the clients too. I hope you could  
understand my description:

I remount the share back to the single machines


two machines:
gf001 and gf002

Both:
debian 8
glusterfs 3.7

/dev/sda - root
/dev/sdb - /export/vbstore

My volume info:
root at gf001  :~# gluster volume info vbstore

Volume Name: vbstore
Type: Replicate
Volume ID: 7bf8aa42-8fd9-4535-888d-dacea4f14a83
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: gf001.mvz.ffm:/export/vbstore
Brick2: gf002.mvz.ffm:/export/vbstore
Options Reconfigured:
cluster.server-quorum-type: server
cluster.quorum-type: auto
network.remote-dio: enable
cluster.eager-lock: enable
performance.stat-prefetch: off
performance.io-cache: off
performance.read-ahead: off
performance.quick-read: off
performance.readdir-ahead: on


mounting on gf001:
mount -t glusterfs gf001:/vbstore /import/vbstore
or via fstab:
gf001:/vbstore        /import/vbstore glusterfs defaults 0 0

The same on gf002 with gf002 as server.

Creating an virtualbox VM in /import/vbstore.

Starting VM on gf001 OR gf002 work right.

But when running VM on one AND shut down the opposit, the VM crash  
with ATA failure.


Maybe mount or gluster setting options?

Thank you for help,

Gregor



More information about the Gluster-users mailing list