https://wiki.xenproject.org/index.php?title=Using_GlusterFS_for_VM_images&feed=atom&action=historyUsing GlusterFS for VM images - Revision history2024-03-28T20:41:47ZRevision history for this page on the wikiMediaWiki 1.31.3https://wiki.xenproject.org/index.php?title=Using_GlusterFS_for_VM_images&diff=18150&oldid=prevDunlapg at 13:46, 26 July 20172017-07-26T13:46:17Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 13:46, 26 July 2017</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 29:</td>
<td colspan="2" class="diff-lineno">Line 29:</td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Xen]]</div></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Xen]]</div></td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Users]]</div></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Users]]</div></td>
</tr>
<tr>
<td class="diff-marker">−</td>
<td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Beginners]]</div></td>
<td colspan="2" class="diff-empty"> </td>
</tr>
</table>Dunlapghttps://wiki.xenproject.org/index.php?title=Using_GlusterFS_for_VM_images&diff=18149&oldid=prevDunlapg: Created page with "'''WARNING''': The instructions on this wiki page are based on advice but haven't been tested. You can help by testing them (and then improving them and removing this warning..."2017-07-26T13:46:02Z<p>Created page with "'''WARNING''': The instructions on this wiki page are based on advice but haven't been tested. You can help by testing them (and then improving them and removing this warning..."</p>
<p><b>New page</b></p><div>'''WARNING''': The instructions on this wiki page are based on advice but haven't been tested. You can help by testing them (and then improving them and removing this warning).<br />
<br />
== Overview ==<br />
<br />
The recommended way to use [https://www.gluster.org/ GlusterFS] with upstream Xen is to mount glusterfs as your filesystem, and store the VM images as files inside it (similar to what one might do for NFS).<br />
<br />
== Prerequisites ==<br />
<br />
* To begin with, you need a Gluster volume set up. Doing so is beyond the scope of this document; please see the [Gluster documentation http://gluster.readthedocs.io/en/latest/] for more details.<br />
<br />
* On your Xen host, you will need the Gluster client installed.<br />
<br />
== Directions ==<br />
<br />
* Mount the GlusterFS volume<br />
<br />
Say you have your gluster server at location <code>server</code>, volume <code>vm-images</code>, and you want to mount it at <code>/images</code>:<br />
<br />
mount -t glusterfs server:vm-images /images<br />
<br />
* Create your disk image<br />
<br />
There are some examples of how to create disk images on [[ Category:HowTo|The HowTo page ]]<br />
<br />
* Use your <code>xl.cfg</code> normally, with files from within the mounted filesystem:<br />
<br />
disk = [ 'vdev=hda,format=raw,target=/images/c6-01.raw' ]<br />
<br />
[[Category:Xen]]<br />
[[Category:Users]]<br />
[[Category:Beginners]]</div>Dunlapg