Stats,<br> you need to mount the disk and then export the mounted directory through 'option directory <path-to-mount-point>'<br><br>--<br>gowda<br><br><div class="gmail_quote">On Mon, Dec 29, 2008 at 9:39 PM, Stas Oskin <span dir="ltr"><<a href="mailto:stas.oskin@gmail.com">stas.oskin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Actually, reviewing the option, I now understand that actually need to mount the disks and then include the mounting points in GlusterFS volume.<br>
<br>Is this correct?<br><br><div class="gmail_quote">2008/12/29 Stas Oskin <span dir="ltr"><<a href="mailto:stas.oskin@gmail.com" target="_blank">stas.oskin@gmail.com</a>></span><div><div></div><div class="Wj3C7c"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi.<br><br>Thanks a lot, I will test and adapt it to my needs.<br><br>Just one question - "option directory /disk1" means it would work straight from the disk, and no mounting is needed?<br>
<br>Regards.<br>
<br><div class="gmail_quote">2008/12/29 Basavanagowda Kanur <span dir="ltr"><<a href="mailto:gowda@zresearch.com" target="_blank">gowda@zresearch.com</a>></span><div><div></div><div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
simple server configuration for AFR over two storage directories would look like this:<br>volume storage-1<br> type storage/posix<br> option directory /disk1<br>end-volume<br><br>volume locks-1<br> type features/locks<br>
subvolumes storage-1<br>end-volume<br><br>volume storage-2<br> type storage/posix<br> option directory /disk2<br>end-volume<br><br>volume locks-2<br> type features/posix-locks<br> subvolumes storage-2<br>
end-volume<br><br>volume afr-1<br> type cluster/afr<br> subvolumes locks-1 locks-2<br>end-volume<br><br>volume server<br> type protocol/server<br> option transport-type tcp<br> option auth.addr.afr-1.allow *<br>
subvolumes afr-1<br>end-volume<br><br>volume afr-2<br> type protocol/client<br> option remote-subvolume afr-2<br> option remote-host <host-ip-address><br>end-volume<br><br>volume nufa<br> type cluster/nufa<br>
option local-volume-name afr-1<br> subvolumes afr-1 afr-2<br>end-volume<br><br>PS: this is a template, you need to specify ip-address & port numbers according to your settings.<br><font color="#888888"><br>
--<br>gowda<br><br>
</font></blockquote></div></div></div></blockquote></div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>hard work often pays off after time, but laziness always pays off now<br>