[Gluster-users] nfs
Antonio Messina
antonio.s.messina at gmail.com
Tue Feb 11 21:59:34 UTC 2014
Just to clarify: what I just wrote is true for any nfs server, and
it's not specific to gluster.
.a.
On Tue, Feb 11, 2014 at 10:58 PM, Antonio Messina
<antonio.s.messina at gmail.com> wrote:
> You can check if the service is enabled with "rpcinfo -p"
>
> you should see a list of services like (output is from Gluster 3.4):
>
> program vers proto port service
> 100000 4 tcp 111 portmapper
> 100000 3 tcp 111 portmapper
> 100000 2 tcp 111 portmapper
> 100000 4 udp 111 portmapper
> 100000 3 udp 111 portmapper
> 100000 2 udp 111 portmapper
> 100227 3 tcp 2049
> 100005 3 tcp 38465 mountd
> 100005 1 tcp 38466 mountd
> 100003 3 tcp 2049 nfs
> 100024 1 udp 51025 status
> 100024 1 tcp 51853 status
> 100021 4 tcp 38468 nlockmgr
> 100021 1 udp 857 nlockmgr
> 100021 1 tcp 858 nlockmgr
>
> You need to have lines for "nfs" and "mountd". If you don't have them
> the nfs server is not running.
> If it's running you can see which filesystems are exported with "showmount -e":
>
> Export list for gluster-frontend001:
> /default *
>
> In my case "default" is the name of the gluster volume exported, and
> "*" is the list of allowed clients (in this case: any client)
>
> .a.
>
> On Tue, Feb 11, 2014 at 10:50 PM, Joe Julian <joe at julianfamily.org> wrote:
>>
>> On 02/11/2014 12:41 PM, John G. Heim wrote:
>>>
>>>
>>>
>>> On 02/11/14 13:31, Justin Clift wrote:
>>>>
>>>> On 10/02/2014, at 4:18 PM, John G. Heim wrote:
>>>>>
>>>>> On 02/10/14 07:23, Justin Clift wrote:
>>>>>>
>>>>>> On Thu, 06 Feb 2014 14:52:44 -0600
>>>>>> "John G. Heim" <jheim at math.wisc.edu> wrote:
>>>>>>>
>>>>>>> Maybe this is a dumb question but do I have to set up an nfs server on
>>>>>>> one of the server peers in my gluster volume in order to connect to
>>>>>>> the
>>>>>>> volume with nfs?
>>>>>>
>>>>>>
>>>>>> In theory, NFS is supposed to be enabled/running by default.
>>>>>
>>>>>
>>>>> On all the servers? I have 51 servers in my cluster. I just ran a port
>>>>> scan and none of them have port 2049 open.
>>>>>
>>>>>> If you run "gluster volume status", what does it show?
>>>>>
>>>>>
>>>>> Do you mean 'gluster volume info'? That command says "nfs.disable: off"
>>>>> I'm running 3.2.7, the version in debian stable (wheezy).
>>>>
>>>>
>>>>
>>>> Heh, nah I'm definitely meaning "status" not info. He's the output from
>>>
>>>
>>> That gives me an error message "Unrecognized word".
>>>
>>> Difference between 3.2 and 3.5?
>>
>> Yep, that's 3.2 and it wouldn't be listening on 2049. It'll just use the
>> portmapper on 111. Mount it using the options, tcp,vers=3 .
>>
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>
>
>
> --
> antonio.s.messina at gmail.com
> antonio.messina at uzh.ch +41 (0)44 635 42 22
> GC3: Grid Computing Competence Center http://www.gc3.uzh.ch/
> University of Zurich
> Winterthurerstrasse 190
> CH-8057 Zurich Switzerland
--
antonio.s.messina at gmail.com
antonio.messina at uzh.ch +41 (0)44 635 42 22
GC3: Grid Computing Competence Center http://www.gc3.uzh.ch/
University of Zurich
Winterthurerstrasse 190
CH-8057 Zurich Switzerland
More information about the Gluster-users
mailing list