Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Setting NFS ports

Prerequisites

GCP account

Open Console.

Open Cloud Shell

Paste the below code

$     cat /etc/default/nfs-common

It  will display the nfs-common file. In this file we can see STATDOPS have no value.

Paste the  code  below to open the nfs-common file

$   sudo nano /etc/default/nfs-common

It will open the file.

Change  STATDOPTS="-p 2046"

Then press Ctrl + x then y to confirm following press Enter.

Open

$     cat /etc/modprobe.d/lock.conf

If its displaying No such file or directory, then Open the file

$     sudo nano /etc/modprobe.d/lock.conf

In this file Paste the below code

options lockd nlm_tcpport=4045
options lockd nlm_udpport=4045

Then press Ctrl + x then y to confirm following press Enter.

Paste the below code

$     cat /etc/default/nfs-common

It  will display the nfs-common file with the STATDOPS value updated.

Open

$     cat /etc/modprobe.d/lock.conf

It’ll display the updated lock.conf file

The post Setting Nfs Ports appeared first on Prwatech.



This post first appeared on Learn Big Data Hadoop In Bangalore, please read the originial post: here

Share the post

Setting NFS ports

×

Subscribe to Learn Big Data Hadoop In Bangalore

Get updates delivered right to your inbox!

Thank you for your subscription

×