LoginSignup
14
12

More than 5 years have passed since last update.

fstabでマウントさせずにcronでマウントさせよう

Last updated at Posted at 2014-06-18

fstabの6番目のオプション(最後のオプションのこと)が1だとブート時にファイルシステムのチェックが入る。

ブート時には/dev/drbd0がないのでエラーになって途中で止まる。

/etc/fstab
# 最後のオプションは0
/dev/drbd0  /srv   ext4   noauto 0 0

/etc/rc2.d/S19drbd, /etc/rc2.d/S20cron
であるため以下でよい。

crontab -e
@reboot mount /srv
14
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
12