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

Re: NFS trouble



On Wed, Feb 29, 2012 at 5:44 AM, Raffaele Morelli
<raffaele.morelli@gmail.com> wrote:
> 2012/2/27 Tom H <tomh0665@gmail.com>


>> >> You have to use static ports for statd, mountd, and lockd if you're
>> >> not using nfsv4. (You don't have to use the same static assignments
>> >> used below.)
>> >>
>> >> - Set
>> >> STATDOPTS="--port 4003 --outgoing-port 4004"
>> >> in "/etc/default/nfs-common"
>> >>
>> >> - Set
>> >> RPCMOUNTDOPTS="-p 4002"
>> >> in "/etc/default/nfs-kernel-server"
>> >>
>> >> - Set
>> >> options lockd nlm_udpport=4001 nlm_tcpport=4001
>> >> in "/etc/modprobe.d/lockd.conf"
>> >>
>> >> - Open the relevant ports with iptables
>> >
>> > Ok, so I guess I should ask my net admin to open all relevant ports for
>> > mountd, nlockmgr and status as showed in `rpcinfo -p` OR whatever port I
>> > would like to use for STATDOPTS, RPCMOUNTDOPTS and lockd.
>> > Is it right?
>>
>> Yes, but you have to fix the port numbers by editing the files above
>> because they'll be variable otherwise.
>
> That did it, thank you.

You're welcome.


Reply to: