简体   繁体   English

将NFS文件夹安装到远程机器上(两台机器都在Red Hat Linux上)

[英]Mounting NFS Folder on to a Remote Machine (Both machines are on Red Hat Linux)

I'm a newbie to Linux and would need some advice on the thing I'm trying to achieve with regards to mounting a NFS Folder 我是Linux的新手,并且在安装NFS文件夹方面需要一些建议。

I have a NFS Server: usanfsd01 And a remote machine: usafssd01 我有一个NFS服务器:usanfsd01和一台远程计算机:usafssd01

I've a software installed on my remote machine "usafssdo1" and it takes the files that come into the NFS Server "usanfsd01" as input for execution so I'm thinking I should mount the NFS Server onto the remote machine. 我在远程计算机“ usafssdo1”上安装了一个软件,它将进入NFS服务器“ usanfsd01”的文件作为执行输入,因此,我认为我应该将NFS服务器安装到远程计算机上。 Please validate if my thinking is correct. 请验证我的想法是否正确。

Also, if I mount the NFS Server on to remote machine using the following command, will it be a permanent mount 另外,如果我使用以下命令将NFS服务器安装到远程计算机上,它将是永久安装

mount usanfsdo1:/home/files /home/mount/files 挂载usanfsdo1:/ home / files / home / mount / files

Please let me know if I'm doing anything wrong 如果我做错任何事,请告诉我

Mounting with "mount" command is not permanent only until the next reboot. 仅在下一次重新引导之前,使用“ mount”命令进行安装才是永久的。 If you need a permanent mount you have to edit "/etc/fstab" ie 如果需要永久安装,则必须编辑“ / etc / fstab”,即

usanfsdo1:/home/files /home/mount/files nfs rw 0 0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM