Debian: 起動時に fstab を使用して NFS ボリュームをマウントすることは機能しません。起動時にこれを試すときに変更する方法

Debian: 起動時に fstab を使用して NFS ボリュームをマウントすることは機能しません。起動時にこれを試すときに変更する方法

したがって、サーバーに複数のNICとVLANがあり、最後のエントリを追加した後、ネットワークボリュームの自動マウントは機能しません。 SSH経由でログインmountしますfstab

私の考えでは、ネットワークストレージに到達するために必要なインターフェイスが遅すぎるようです。ブート経験がないために示したデバッグ情報の一部しかありません。

# chkconfig --list
networking                0:off  1:off  2:off  3:off  4:off  5:off  6:off  S:on 
nfs-common                0:off  1:off  2:on   3:on   4:on   5:on   6:off  S:on 

(他にも他のアイテムを見なければならないかどうか尋ねてください。実際に必要なものが何であるかわかりません。)

後でnfsのインストールを完了するにはどうすればよいですか?上記は、nfs操作が早すぎる可能性があることを示唆しています。

# ls -lh /etc/rc5.d/
total 4.0K
-rw-r--r-- 1 root root 677 Mar 27  2012 README
lrwxrwxrwx 1 root root  17 Apr 10 13:46 S14portmap -> ../init.d/portmap
lrwxrwxrwx 1 root root  20 Apr 10 13:46 S15nfs-common -> ../init.d/nfs-common
lrwxrwxrwx 1 root root  20 Apr 11 11:19 S17fancontrol -> ../init.d/fancontrol
lrwxrwxrwx 1 root root  17 Apr 10 13:46 S17rsyslog -> ../init.d/rsyslog
lrwxrwxrwx 1 root root  14 Apr 10 15:59 S17sudo -> ../init.d/sudo
lrwxrwxrwx 1 root root  17 Apr 11 11:18 S18apache2 -> ../init.d/apache2
lrwxrwxrwx 1 root root  15 Apr 11 11:18 S19acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root  13 Apr 11 11:18 S19atd -> ../init.d/atd
lrwxrwxrwx 1 root root  14 Apr 11 11:18 S19cron -> ../init.d/cron
lrwxrwxrwx 1 root root  15 Apr 11 11:18 S19exim4 -> ../init.d/exim4
lrwxrwxrwx 1 root root  21 Apr 11 11:18 S19mpt-statusd -> ../init.d/mpt-statusd
lrwxrwxrwx 1 root root  17 Apr 11 11:18 S19nagios3 -> ../init.d/nagios3
lrwxrwxrwx 1 root root  17 Apr 11 20:49 S19postfix -> ../init.d/postfix
lrwxrwxrwx 1 root root  15 Apr 12 19:15 S19rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root  13 Apr 11 11:18 S19ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root  18 Apr 11 11:18 S21bootlogs -> ../init.d/bootlogs
lrwxrwxrwx 1 root root  18 Apr 11 11:18 S22rc.local -> ../init.d/rc.local
lrwxrwxrwx 1 root root  19 Apr 11 11:18 S22rmnologin -> ../init.d/rmnologin
lrwxrwxrwx 1 root root  23 Apr 11 11:18 S22stop-bootlogd -> ../init.d/stop-bootlogd

マウントできるようにイベントの順序をどのように遅延または変更できますかfstab?とにかく何を探していますか?

ベストアンサー1

いいですね。 mountコマンドをに入れてこの問題を解決することができましたrc.local@reboot root mount -aでも動作します/etc/crontab)。ただし、サービスの開始を変更して問題を解決するよう提案されている場合は、お気軽にお知らせします。

おすすめ記事