≡ Menu

nfs server

HowTo: Revoke OpenSSH Keys and Disable User Access

Many users are using ssh to log into a remote machine and append the indicated identity file to machine's ~/.ssh/authorized_keys file. I recently moved one of my server, and I would like to revoke openssh keys and disable user access under Linux operating systems. How do I revoke OpenSSH keys under Unix or Linux operating systems?
[click to continue…]

CentOS / RHEL CacheFS: Speed Up Network File System (NFS) File Access

We are using NFS v4 server under RHEL 6.x+. How do I configure CacheFS for NFS under Red Hat Enterprise Linux or CentOS to speed up file access and reduce load on our NFS server?
[click to continue…]

Linux / Unix Command To Find Out NFS Clients Connected To My NFS Server

How do I find out how many nfs clients are connected to NFS server running on Red Hat Enterprise Linux?
[click to continue…]

Linux / Unix: Show Shares on NFS Server [ Shared Directories ]

We have a few netapp and other Unix server running here. An NFS server is configured on both netapp and Unix. How do I see all exported file systems from netapp and unix server using Linux command line option?
[click to continue…]

How To Restart Linux NFS Server Properly When Network Become Unavailable

How do I restart NFS server when network link goes down between two servers or NFS client / server under CentOS 4.x / RHEL / CentOS Linux 5.x?
[click to continue…]

Linux: Tune NFS Performance

What values can be tuned to improve NFS performance? How do I improve my client performance under Linux operating systems?
[click to continue…]

Ubuntu Linux NFS Server installation and Configuration

Q. How do I install and configure NFS 4 Server under Ubuntu Linux ?

A. In order to set NFS server you need to install the following packages:

=> nfs-kernel-server - Linux NFS Server

=> nfs-common - NFS Common programs

=> portmap - The RPC portmapper

[click to continue…]

Mount NFS filesystem in two different directories on same system

Q. How do I mount NFS filesystem twice in two different dirs on same Linux client?

NFS Server : nfsserver:/data

Mount to dirs /home/data and /backup

A. You will not able to do that. However mount command has bind option to remount part of the file hierarchy somewhere else.


First mount to /home/data
# mount -t nfs4 nfsserver:/data /home/data
Now bind /home/data to /backup
# mount --bind /home/data /backup
# ls /backup /home/data

Read man page of mount command for more information:
$ man mount