CentOS 6 - _netdev fstab option and netfs service

Yesterday I had a small problem. I have added GlusterFS mount point to the fstab but filesystem wasn't mounted automatically after I rebooted the operating system (CentOS).

GlusterFS fstab entry:

localhost:/data    /var/data    glusterfs     _netdev    0 0

Quick check revealed that netfs service was disabled at the boot time:

$ chkconfig --list netfs
netfs          	0:off	1:off	2:off	3:off	4:off	5:off	6:off

The solution to this problem is very trivial - enable netfs service at the boot time:

$ sudo chkconfig --level 3 netfs on

Reboot system or just start netfs service to mount devices requiring network:

$ sudo service netfs start