
저는 Debian 8.1을 실행하고 있으며 몇 시간 동안 이 작업을 해왔습니다! 연결되어 있으면 자동 마운트하고 시작하려고 시도 seagate
하지만 다음 중 하나 없이 서버가 시작되면 여기에 1분 30초 동안 머물다가 유지 관리 모드로 부팅됩니다.medion
LABEL
Give root password for maintenace
(or type Control-D to continue):
USB 장치가 있는 경우에만 마운트하고 싶습니다.. :/
/etc/fstab:
# /etc/fstab: static file system information.
#FIXED
#<file system> <mount point> <type> <options> <dump> <pass>
UUID=f243951c-f61c-4af7-88c5-79ba0a33caf8 / ext4 errors=remount-ro 0 1
UUID=28737539-1569-4db7-9ea3-d74473502f39 none swap sw 0 0
#REMOVABLE
#<file system> <mount point> <type> <options> <dump> <pass>
#LABEL=medion /mnt/medion ntfs-3g rw,noauto,nobootwait,nofail 0 2
LABEL=seagate /mnt/seagate ntfs-3g rw,nobootwait,nofail 0 2
답변1
옵션이 추가되었습니다(이전에 문서화되었지만 구현되지 않음) nofail
.
$ 명 fstab
nofail
장치가 존재하지 않으면 장치에 대한 오류가 보고되지 않습니다.
당신은 또한 볼 수 있습니다https://askubuntu.com/questions/638985/how-to-configure-systemd-to-ignore-fstab-drive-mount-failures
x-systemd.device-timeout=2
그러나 기본 시간 초과가 90초인 것으로 보이므로 낮은 시간 초과(예: )도 추가합니다 .
답변2
fstab 매뉴얼 페이지에 따르면 /etc/fstab의 마지막 숫자로 "2" 대신 "0"을 사용하면 특정 설치에 대해 fsck를 건너뛸 수 있습니다.
(어떤 이유로 UUID를 통해 마운트된 USB 드라이브는 "0"을 무시했지만... 시도해 보는 것도 나쁘지 않을 것입니다.)