RHEL 7 は起動時に /etc/fstab からドライブをマウントしませんか?

RHEL 7 は起動時に /etc/fstab からドライブをマウントしませんか?

次の行を含む RHEL 7 サーバーがあります/etc/fstab:

\\10.0.0.1\backup /mnt/backup cifs user,uid=500,rw,suid,username=admin,password=password 0 0

mount -aこれは他の CentOS 6 および RHEL 6 サーバーで使用しているのとまったく同じ行ですが、この単一の RHEL 7 ボックスでは、再起動するたびに接続して実行する必要があるようです。

これを自動的に解決する方法はありますか?

答え1

_netdevおよびマウント オプションを使用して、autoマウントが起動時に実行され、ネットワークが起動して実行される前に試行されないようにする。

man mount

_netdev

The filesystem resides on a device that requires network access (used to prevent the
system from attempting to mount these filesystems until the network has been enabled 
on the system).  
  ....

auto

Can be mounted with the -a option.

関連情報