fstabマウント、「dev-disk-byの起動ジョブを実行しています...」で起動が停止する

fstabマウント、「dev-disk-byの起動ジョブを実行しています...」で起動が停止する

私はDebian 8.1を実行しており、何時間もこれをやってきました!接続されている場合は自動マウントして起動しようとしますseagateが、次のいずれかを使用せずにサーバーが起動すると、ここに1分30秒間滞在してメンテナンスモードで起動します。medionLABEL

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秒のように見えるため、低いタイムアウト(たとえば)も追加します。

おすすめ記事