NFS stands for Network File System. And this is the one which is most widely used file system on Linux operating system based computers. Using this file system you can actually mount a file(s) from one Linux computer to another Linux computer if the both system are in the same network(LAN).
Mounting means just copying the files from source Linux machine to the target Linux machine, to be exact it is not exactly copy, but it is a link to the file(s) from the source computer through LAN network and you would see all the files as those were local files.
To have this NFS file system in your computer, you should have NFS service daemon and portmap service daemon installed, and most probably these service comes with your linux operating system.
To check if the NFS and portmap service daemons installed or not, run below commands
service portmap status
If portmap is already installed, it will shows the status otherwise shows unrecognized service.
service nfs status
If NFS is already installed, it will shows the status otherwise shows unrecognized service.
Finally, to mount file/files from one computer to another computer, run below command
mount -t nfs <target_host_ip>:/file/path /file/path
<target_host_ip>:/file/path – target is the your target linux computer and /file/path is file path that you want to mount or copy to the another machine. The path should be from root.
Second argument “/file/path” is the folder path in your target linux box, and this should be exist, mean you should create it before doing mount.
I hope you this help in mounting files between linux machines.
Leave a comment, If you find it useful or you have any doubts or you can mail me also, find my email at contact me page.






