다음 줄에 RHEL 7 서버가 있습니다 /etc/fstab
.
\\10.0.0.1\backup /mnt/backup cifs user,uid=500,rw,suid,username=admin,password=password 0 0
다른 CentOS 6 및 RHEL 6 서버에서 사용하고 있는 것과 정확히 동일한 라인이지만 이 단일 RHEL 7 상자에서는 mount -a
재부팅할 때마다 연결하고 실행해야 하는 것 같습니까?
이 문제를 자동으로 해결하는 방법이 있나요?
답변1
_netdev
및 마운트 옵션을 사용하여 auto
마운트가 부팅 시 발생하고 네트워크가 실행되기 전에는 시도되지 않도록 하세요.
_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.