[Gluster-users] Fwd: NUFA sample volume file to the following configuration

Stas Oskin stas.oskin at gmail.com
Mon Dec 29 16:09:54 UTC 2008


Actually, reviewing the option, I now understand that actually need to mount
the disks and then include the mounting points in GlusterFS volume.

Is this correct?

2008/12/29 Stas Oskin <stas.oskin at gmail.com>

> Hi.
>
> Thanks a lot, I will test and adapt it to my needs.
>
> Just one question - "option directory /disk1" means it would work straight
> from the disk, and no mounting is needed?
>
> Regards.
>
> 2008/12/29 Basavanagowda Kanur <gowda at zresearch.com>
>
> simple server configuration for AFR over two storage directories would look
>> like this:
>> volume storage-1
>>         type storage/posix
>>         option directory /disk1
>> end-volume
>>
>> volume locks-1
>>         type features/locks
>>         subvolumes storage-1
>> end-volume
>>
>> volume storage-2
>>         type storage/posix
>>         option directory /disk2
>> end-volume
>>
>> volume locks-2
>>         type features/posix-locks
>>         subvolumes storage-2
>> end-volume
>>
>> volume afr-1
>>        type cluster/afr
>>        subvolumes locks-1 locks-2
>> end-volume
>>
>> volume server
>>        type protocol/server
>>        option transport-type tcp
>>        option auth.addr.afr-1.allow *
>>        subvolumes afr-1
>> end-volume
>>
>> volume afr-2
>>       type protocol/client
>>       option remote-subvolume afr-2
>>       option remote-host <host-ip-address>
>> end-volume
>>
>> volume nufa
>>       type cluster/nufa
>>       option local-volume-name afr-1
>>       subvolumes afr-1 afr-2
>> end-volume
>>
>> PS: this is a template, you need to specify ip-address & port numbers
>> according to your settings.
>>
>> --
>> gowda
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20081229/a60a0837/attachment.html>


More information about the Gluster-users mailing list