![segler](/assets/img/avatar_default.png)
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_glusterfs@5946 504e572c-2e33-0410-9681-be2bf7408885
208 lines
12 KiB
HTML
208 lines
12 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
|
|
|
|
<head>
|
|
<script type="text/javascript">
|
|
var wgBreakFrames = 0;
|
|
</script>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="keywords" content="Mounting a GlusterFS Volume,Howto Automount GlusterFS" />
|
|
<link rel="shortcut icon" href="/favicon.ico" />
|
|
<link title="Creative Commons" type="application/rdf+xml" href="/community/documentation/index.php?title=Mounting_a_GlusterFS_Volume&action=creativecommons" rel="meta" />
|
|
<link rel="copyright" href="http://www.gnu.org/copyleft/fdl.html" />
|
|
<title>Mounting a GlusterFS Volume - GlusterDocumentation</title>
|
|
<style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "/community/documentation/skins/gluster/main.css"; /*]]>*/</style>
|
|
<link rel="stylesheet" type="text/css" media="print" href="/community/documentation/skins/common/commonPrint.css" />
|
|
<script type="text/javascript" src="/community/documentation/index.php?title=-&action=raw&gen=js"></script> <script type="text/javascript" src="/community/documentation/skins/common/wikibits.js"></script>
|
|
<style type="text/css">/*<![CDATA[*/
|
|
@import "/community/documentation/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css&smaxage=18000";
|
|
@import "/community/documentation/index.php?title=MediaWiki:Gluster.css&action=raw&ctype=text/css&smaxage=18000";
|
|
@import "/community/documentation/index.php?title=-&action=raw&gen=css&maxage=18000";
|
|
/*]]>*/</style>
|
|
|
|
<script type="text/javascript" src="http://www.gluster.org/global/milonic_src.js"></script>
|
|
<script type="text/javascript">
|
|
<!--
|
|
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=http://www.gluster.org/global/mmenuns4.js><\/scr"+"ipt>");
|
|
else _d.write("<scr"+"ipt type=text/javascript src=http://www.gluster.org/global/mmenudom.js><\/scr"+"ipt>");
|
|
//-->
|
|
</script>
|
|
|
|
<script type="text/javascript" src="http://www.gluster.org/global/menu_data_wiki.js"></script>
|
|
|
|
|
|
</head>
|
|
|
|
<body class="ns-0">
|
|
|
|
<!-- <div id="internal" style="height: 0px;"></div> -->
|
|
<div id="wrapContainer"><div id="gheaderbg">
|
|
<div id="gheader">
|
|
|
|
<div class="gheaderleft"><a href="http://www.gluster.org"><img src="http://www.gluster.org/global/gluster-community-logo.png" alt="Gluster" width="484" height="90" border="0" /></a></div>
|
|
<div class="gheaderright">
|
|
<div id="backtogluster"><a href="http://www.gluster.com/"><img src="http://www.gluster.org/global/back-to-gluster.gif" alt="Back to Gluster.com" width="110" height="23" border="0" /></a></div>
|
|
<ul id="gnav">
|
|
<li><a href="http://www.gluster.org/download/"><img src="http://www.gluster.org/global/pixel.gif" name="gtopnav_Download" id="gtopnav_Download" border="0" />Download</a></li>
|
|
<li><a href="/community/documentation/index.php/Main_Page"><img src="http://www.gluster.org/global/pixel.gif" name="gtopnav_Documentation" id="gtopnav_Documentation" border="0"/>Documentation</a></li>
|
|
<li><a href="http://www.gluster.org/interact/" onmouseover="popup('interact','gtopnav_Interact')" onmouseout=popdown() ><img src="http://www.gluster.org/global/pixel.gif" name="gtopnav_Interact" id="gtopnav_Interact" border="0"/>Interact</a></li>
|
|
<li><a href="http://www.gluster.org/about/" onmouseover="popup('about','gtopnav_About')" onmouseout=popdown() ><img src="http://www.gluster.org/global/pixel.gif" name="gtopnav_About" id="gtopnav_About"/ border="0">About</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div style="width: 990px;height: 20px;"></div>
|
|
|
|
|
|
<div id="container">
|
|
<div id="header">
|
|
<a name="top" id="contentTop"></a>
|
|
<h1><a
|
|
href="/community/documentation/index.php/Main_Page"
|
|
title="Main Page">Mounting a GlusterFS Volume</a></h1>
|
|
<ul>
|
|
<li
|
|
class="selected" ><a href="/community/documentation/index.php/Mounting_a_GlusterFS_Volume">Article</a></li><li
|
|
><a href="/community/documentation/index.php/Talk:Mounting_a_GlusterFS_Volume">Discussion</a></li><li
|
|
><a href="/community/documentation/index.php?title=Mounting_a_GlusterFS_Volume&action=edit">Edit</a></li><li
|
|
><a href="/community/documentation/index.php?title=Mounting_a_GlusterFS_Volume&action=history">History</a></li> </ul>
|
|
<form name="searchform" action="/community/documentation/index.php/Special:Search" id="search">
|
|
<div>
|
|
<label for="q">Search</label>
|
|
<input id="q" name="search" type="text"
|
|
accesskey="f" value="" />
|
|
<input type="submit" name="go" class="searchButton" id="searchGoButton"
|
|
value="Go"
|
|
/> <input type="submit" name="fulltext"
|
|
class="searchButton"
|
|
value="Search" />
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="mBody">
|
|
|
|
<div id="side">
|
|
<ul id="nav">
|
|
<li><span>Personal tools</span>
|
|
<ul>
|
|
<li id="pt-login"><a href="/community/documentation/index.php?title=Special:Userlogin&returnto=Mounting_a_GlusterFS_Volume">Log in / create account</a></li> </ul>
|
|
</li>
|
|
<li><span>Navigation</span>
|
|
<ul>
|
|
<li id="n-Gluster-3.1-Documentation"><a href="/community/documentation/index.php/Main_Page">Gluster 3.1 Documentation</a></li>
|
|
<li id="n-Gluster-3.0.x-Documentation"><a href="/community/documentation/index.php/Gluster_3.0.x_Documentation">Gluster 3.0.x Documentation</a></li>
|
|
<li id="n-Older-Versions"><a href="/community/documentation/index.php/GlusterFS_2.0.6">Older Versions</a></li>
|
|
<li id="n-recentchanges"><a href="/community/documentation/index.php/Special:Recentchanges">Recent changes</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><span>Toolbox</span>
|
|
<ul>
|
|
<li id="t-whatlinkshere"><a href="/community/documentation/index.php/Special:Whatlinkshere/Mounting_a_GlusterFS_Volume">What links here</a></li>
|
|
<li id="t-recentchangeslinked"><a href="/community/documentation/index.php/Special:Recentchangeslinked/Mounting_a_GlusterFS_Volume">Related changes</a></li>
|
|
<li id="t-upload"><a href="/community/documentation/index.php/Special:Upload">Upload file</a></li> <li id="t-specialpages"><a href="/community/documentation/index.php/Special:Specialpages">Special pages</a></li> </ul>
|
|
</li>
|
|
</ul>
|
|
</div><!-- end of SIDE div -->
|
|
|
|
<div id="mainContent">
|
|
|
|
<h1>Mounting a GlusterFS Volume</h1>
|
|
<h3 id="siteSub">From GlusterDocumentation</h3>
|
|
<div id="contentSub"></div>
|
|
<!-- start content -->
|
|
<div class="editsection" style="float:right;margin-left:5px;">[<a href="/community/documentation/index.php?title=Mounting_a_GlusterFS_Volume&action=edit&section=1" title="Edit section: Mounting a Volume">edit</a>]</div><a name="Mounting_a_Volume"></a><h2>Mounting a Volume</h2>
|
|
<p>To mount using a server supplied client volume file, enter the following command, substituting your server's IP address:
|
|
</p>
|
|
<pre>bash# mount -t glusterfs 192.168.0.1 /<i>mnt</i>/glusterfs
|
|
</pre>
|
|
<p>To mount using a local client supplied volume file, enter the following command:
|
|
</p>
|
|
<pre>bash# mount -t glusterfs /etc/glusterfs/glusterfs.vol /<i>mnt</i>/glusterfs
|
|
</pre>
|
|
<p>To automatically mount on every boot, add a line to the <b>/etc/fstab</b> file.
|
|
</p><p>For a server supplied client volume file, add the following line, substituting your server's IP address:
|
|
</p>
|
|
<pre>192.168.0.1 /<i>mnt</i>/glusterfs glusterfs defaults 0 0
|
|
</pre>
|
|
<p>For a local client volume file, add the following line:
|
|
</p>
|
|
<pre>/etc/glusterfs/glusterfs.vol /<i>mnt</i>/glusterfs glusterfs defaults 0 0
|
|
</pre>
|
|
<div class="editsection" style="float:right;margin-left:5px;">[<a href="/community/documentation/index.php?title=Mounting_a_GlusterFS_Volume&action=edit&section=2" title="Edit section: Mounting Options">edit</a>]</div><a name="Mounting_Options"></a><h2>Mounting Options</h2>
|
|
<p>The following options are valid with <b>-t glusterfs</b>. All options have to be a comma separated values with the mount command or in the <b>/etc/fstab</b> file.
|
|
</p>
|
|
<ul><li> log-level=<i>loglevel</i>
|
|
</li></ul>
|
|
<ul><li> log-file=<i>logfile</i>
|
|
</li></ul>
|
|
<ul><li> transport=<i>transport-type</i>
|
|
</li></ul>
|
|
<ul><li> direct-io-mode=[enable|disable]
|
|
</li></ul>
|
|
<ul><li> volume-name=<i>volume_name</i>
|
|
</li></ul>
|
|
<ul><li> volume-id=<i>volume-ID</i>
|
|
</li></ul>
|
|
<ul><li>If the server's listening port is different than default, enter it similarly to the following example, substituting your port number for 7997:</li>
|
|
<pre>bash# mount -t glusterfs 192.168.0.1:7997 /<i>mnt</i>/glusterfs
|
|
</pre>
|
|
<li>If you are adding the listening port to the <b>/etc/fstab</b> file, see the following example:</li>
|
|
<pre>192.168.0.1:7997 /<i>mnt</i>/glusterfs glusterfs defaults 0 0
|
|
</pre>
|
|
</ul>
|
|
<div class="editsection" style="float:right;margin-left:5px;">[<a href="/community/documentation/index.php?title=Mounting_a_GlusterFS_Volume&action=edit&section=3" title="Edit section: Related Topics">edit</a>]</div><a name="Related_Topics"></a><h2>Related Topics</h2>
|
|
<p>To automount, refer to <a href="/community/documentation/index.php/Howto_Automount_GlusterFS" title="Howto Automount GlusterFS">Howto Automount GlusterFS</a>.
|
|
</p>
|
|
<!-- Saved in parser cache with key wikidb:pcache:idhash:1578-0!1!0!0!!en!2 and timestamp 20110124134321 -->
|
|
<div class="printfooter">
|
|
Retrieved from "<a href="http://www.gluster.com/community/documentation/index.php/Mounting_a_GlusterFS_Volume">http://www.gluster.com/community/documentation/index.php/Mounting_a_GlusterFS_Volume</a>"</div>
|
|
<!-- end content -->
|
|
|
|
</div><!-- end of MAINCONTENT div -->
|
|
|
|
</div><!-- end of MBODY div -->
|
|
|
|
<div id="footer"><table><tr><td align="left" width="1%" nowrap="nowrap">
|
|
<div id="f-copyrightico"><a href="http://www.gnu.org/copyleft/fdl.html"><img src="/community/documentation/skins/common/images/gnu-fdl.png" alt='GNU Free Documentation License 1.3 or Later' /></a></div></td><td align="center">
|
|
<span id="f-lastmod"> This page was last modified 17:38, 17 August 2009.</span> <span id="f-viewcount">This page has been accessed 18,182 times. </span> <ul id="f-list">
|
|
<li id="f-copyright">Content is available under <a href="http://www.gnu.org/copyleft/fdl.html" class='external ' title="http://www.gnu.org/copyleft/fdl.html" rel="nofollow">GNU Free Documentation License 1.3 or Later</a>.</li> <li id="f-about"><a href="/community/documentation/index.php/GlusterDocumentation:About" title="GlusterDocumentation:About">About GlusterDocumentation</a></li> <li id="f-disclaimer"><a href="/community/documentation/index.php/GlusterDocumentation:General_disclaimer" title="GlusterDocumentation:General disclaimer">Disclaimers</a></li> </ul></td><td align="right" width="1%" nowrap="nowrap"><div id="f-poweredbyico"><a href="http://www.mediawiki.org/"><img src="/community/documentation/skins/common/images/poweredby_mediawiki_88x31.png" alt="MediaWiki" /></a></div></td></tr></table>
|
|
</div><!-- end of the FOOTER div -->
|
|
</div><!-- end of the CONTAINER div -->
|
|
|
|
<div id="gfooterbg">
|
|
|
|
<div id="gfooter">
|
|
<div class="gfooterleft">
|
|
<p> </p>
|
|
</div>
|
|
<div class="gfooterright">
|
|
<p>Copyright © 2009 Gluster, Inc. All Rights Reserved. </p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
<!-- Served by gluster.com-mirror1 in 0.11 secs. -->
|
|
<script type="text/javascript">
|
|
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
|
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
|
</script>
|
|
<script type="text/javascript">
|
|
try {
|
|
var pageTracker = _gat._getTracker("UA-10444844-3");
|
|
pageTracker._setDomainName(".gluster.org");
|
|
pageTracker._trackPageview();
|
|
} catch(err) {}</script>
|
|
|
|
</body>
|
|
</html>
|