ECS开机如何自动挂载NAS的挂载点?
ReECS开机如何自动挂载NAS的挂载点?
是Linux操作系统吧 ,参考下面设置
设置自启动项,在LINUX启动时自动挂载NFS
修改 /etc/rc.local
[root@localhost etc]# vi rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
mount -t nfs 192.168.1.80:/NFS /mnt/nfs
赞0
踩0