有一台linux主機在重開機後要重新mount其他機器的分享資料夾,執行執令後,畫面上沒任何反應。
過了一下子才會出現 mount.nfs input/output error,這是因為 /etc/init.d/portmap 這個服務沒有啟動的關係,
先 執行/etc/init.d/portmap status, 確認該服務是stop。
接著用執行啟用的指令/etc/init.d/portmap start,就可以再執行mount的動作了。
A Linux host fails to mount a shared folder from another machine after a reboot. After executing the mount command, the screen is blank.
After a while, an error message "mount.nfs input/output error" appears. This is because the service "/etc/init.d/portmap" is not running.
First, execute the command "/etc/init.d/portmap status" to confirm that the service is stopped.
Then, execute the command "/etc/init.d/portmap start" to start the service. After that, you can mount the shared folder again.