Why is it required to have /var partition locally available not on iSCSI disk?
Issue
- When installing Red Hat Enterprise Linux 5.9 on Software initiated
iSCSI root disk, all filesystems are automatically configured with the_netdevmount option. This causes lots of services to fail during boot, since/varisn't yet mounted read when E.g.syslog,iptables,sshd, etc.. are started. - Removing the
_netdevmount option from/etc/fstabseems to fix it, but is there any reason why this option is added? - This is the
/etc/fstabinstalled as part of the RHEL5.9 installation:
/dev/rootvg/rootlv / ext3 defaults,_rnetdev 1 1
/dev/rootvg/varlv /var ext3 defaults,_netdev 1 2
/dev/rootvg/locallv /local ext3 defaults,_netdev 1 2
LABEL=/boot /boot ext3 defaults,_netdev 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/rootvg/swaplv swap swap defaults,_netdev 0 0
- Changing it to:
/dev/rootvg/rootlv / ext3 defaults 1 1
/dev/rootvg/varlv /var ext3 defaults 1 2
/dev/rootvg/locallv /local ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults,_netdev 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/rootvg/swaplv swap swap defaults,_netdev 0 0
- This works much better, but is there any problem with not having
_netdevhere ?
Environment
- Red Hat Enterprise Linux 5
iSCSI Storage
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
