Quantcast
Channel: Super Nerdy Cool » Emacs
Viewing all articles
Browse latest Browse all 20

Skip disk mount errors in Linux

$
0
0

I automatically mount disk drives using /etc/fstab. However, when I boot a system with a disk removed, the system will give a mount error, giving me the option to skip (S) or manually (M) mount the disk. This doesn’t work well for headless servers. To skip the mount errors during boot, this suggests using the nobootwait option in /etc/fstab. Examples can be found here. For me, I have something like the following:

/dev/sdb1       /h2tb           ext3    defaults,nobootwait             1       2
/dev/sdc1       /wd2tb          ext4    defaults,nobootwait             1       2

Viewing all articles
Browse latest Browse all 20

Trending Articles