<div dir="ltr"><div>Hi all.<br><br></div><div>I&#39;m using ONLY a node to use GlusterFS. and I have to use a brick per node.<br><br></div><div>so, I created the Distribute volume like this.<br><br></div><div>Volume Name: private<br>Type: Distribute<br>Volume ID: 8b261636-454c-428f-b292-3dfaa89210be<br>Status: Started<br>Number of Bricks: 1<br>Transport-type: tcp<br>Bricks:<br>Brick1: 10.0.2.21:/var/cluster/private<br>Options Reconfigured:<br>performance.readdir-ahead: on<br><br><br></div><div>and then mount the volume<br><br></div><div>$ mount -t glusterfs 10.0.2.21:private /mnt/private<br><br></div><div>and then<br><br></div><div>I moved the mysql data to /mnt/private and created link file<br><br></div><div>$ mv /var/lib/mysql /mnt/private/mysql<br></div><div>$ ln -s /mnt/private/mysql /var/lib/mysql<br><br><br></div><div>so, I ran the follow scenario<br><br></div><div>0. service mysql start<br></div><div>1. create the database and tables.<br></div><div>2. service mysql stop<br></div><div>3. unmount private volume<br></div><div>4. re-mount private volume<br></div><div>5. service mysql start<br></div><div>6. access the tables in the database<br><br></div><div>I had a problem to access the tables in step 6. I checked the database files. the files are broken.<br><br></div><div>BUT If I read the database files using &#39;stat&#39; before step 5, No problem.<br><br></div><div>I need to help whatever.. <br><br></div><div>Regards<br></div></div>