Steps to create an NFS Mount for pods Perform the below steps on NFS Server: In our case, the NFS is mounted on another different server. We have created a directory /MTCache and made the entry of the same in /etc/exports. The /etc/exports file on the NFS server contains the accessible NFS directories. The entry in /etc/exports on the NFS hosting server will be: /MTCache *(rw,sync,no_root_squash) NFS Options: Some options we can use in “/etc/exports” file for file sharing is as follows. 1. ro: With the help of this option we can provide read only access to the shared files i.e client will only be able to read. 2. rw: This option allows the client server to both read and write access within the shared directory. 3. sync: Sync confirms requests to the shared directory only once the changes have been committed. 4. no_subtree_check: This option prevents the subtree checking. When a shared directory is the subdirectory of a larger file system,
Today i want to share a command ss (Socket statistics) to investigate network and debug tcp connections. ss is used to dump socket statistics. It allows showing information similar to netstat. It can display more TCP and state information than other tools. It is present in most of our Linux machines. ss commands has lot of options. To get all options: ss -help Few commands and outputs worth trying are as below: ss -t ->stands for tcp. Gives information about tcp connections that are available on the system #ss -t State Recv-Q Send-Q Local Address:Port Peer Address:Port ESTAB 0 352 172.19.79.104:ssh 172.29.155.168:64045 ESTAB 0 0 172.19.79.104:54550 172.19.79.105:pcsync-https ESTAB