永久挂载NFS目录 [英] Permanently Mounting The NFS Directory

查看:390
本文介绍了永久挂载NFS目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我有一个fc-7机器内核版本(2.6.21-1.3194.fc7).
我能够从服务器挂载NFS共享.但是每次我重新启动机器时.共享将关闭,并且我必须再次安装共享..
有没有办法永久挂载NFS目录,我的意思是重启后共享不应该....

谢谢
tanuj

Hello all,
i have a fc-7 machine kernel version (2.6.21-1.3194.fc7).
i am able to mount the nfs share form a server. but every time when i reboot my machine. share will go off and again i have to mount the share..
is there a way to Permanently mount The NFS Directory , i mean after reboot share should not go....

Thanks
tanuj

推荐答案

您需要根据需要修改/etc/fstab文件...

像这样的东西:
You need to modify the /etc/fstab file accordingly to your needs...

Something like that:
server:/var/ftp/pub /media/nfs nfs rw 0 0



您可以在此处 [ ^ ],当然也可以在 fedoraproject网站上 [ ^ ](我从此处取样).

希望这对您有帮助...:thumbsup:



You can get more info here[^] and of course in the fedoraproject web site[^] (from where I''ve taken the sample).

Hope this helps... :thumbsup:


这篇关于永久挂载NFS目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆