Centos Rescue and NFS Share

AxelSI
AxelSI used Ask the Experts™
on
Hi there,
I need to use centos rescue on cd.
After IP configuration, I would like to remote nfs share
Please How to remote nfs share ?
Thank
Regards,
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
nociSoftware Engineer
Distinguished Expert 2018

Commented:
if IP works including DNS then:

mount -t nfs //nfs-server/nfs-share /mnt  -o <options needed, like username etc.>

should do it.
Now the options needed depend on your environment. If authentication is needed username & password may be needed, or the right IP address ... It heavily depends on your environment what is available.
you may need to start nfs services.... ( /etc/init.d/*nfs* ), or though systemd.

Author

Commented:
hi there,
it is necessary to force nfs in the mount command with -o
Software Engineer
Distinguished Expert 2018
Commented:
you force nfs with -t   options to the mount command are with -o

Author

Commented:
thank :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial