Answer the question
In order to leave comments, you need to log in
Why doesn't mount with nfs work?
Greetings gentlemen. There is a piece of bash script:
if ! grep ^$hzvzenter_SERVER_IP:/linuxcoe /proc/mounts 1>/dev/null 2>&1; then
mkdir -p /linuxcoe-iso
CMD_ERR=`mount -t nfs SERVER_IP:/linuxsys /linuxsys-iso`
if [ "$?" != 0 ]; then
CMD_ERR=`hzvzenter_format_error_msg $CMD_ERR`
hzvzenter_post_event 0 "iso" 2 "hzvzenter-kvm-vm" "Could not mount ISO repository $hzvzenter_SERVER_IP:/linuxcoe! $CMD_ERR"
exit 1
fi
fi
mount -t nfs $hzvzenter_SERVER_IP:/linuxsys /linuxsys-iso
Answer the question
In order to leave comments, you need to log in
first, see what is in /etc/exports on the server where you connect the
second mandatory thing is to look at the firewall settings on the servers
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question