Fwd: NUFA sample volume file to the following configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stats,
  you need to mount the disk and then export the mounted directory through
'option directory <path-to-mount-point>'

--
gowda

On Mon, Dec 29, 2008 at 9:39 PM, Stas Oskin <stas.oskin at gmail.com> wrote:

> 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
>>>
>>>


-- 
hard work often pays off after time, but laziness always pays off now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://zresearch.com/pipermail/gluster-users/attachments/20081229/fc15e700/attachment.htm 


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux