Mount nfs share to Centos

Устанавливаем nfs-utils:

yum install nfs-utils

Запускаем и добавляем в автостарт rpcbind:

/etc/init.d/rpcbind start
chkconfig rpcbind on

Если не запустить rpcbind при монтировании увидим ошибку:

mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified

Монтируем папку:

mount.nfs /logs/

При необходимости можно добавить в fstab: /logs nfs defaults 0 0
This entry was posted in Linux. Bookmark the permalink.

2 Responses to Mount nfs share to Centos

  1. Jason says:

    It iss appropriate tme too make soje plasns forr the lon ruun aand itt iss time tto bee happy.
    I hasve read thi put uup and iif I maay just I wajt tto counssel
    youu feww attention-grabbing things or suggestions.
    Perhapps you coud wrute nextt artocles elating tto thiis article.

    I wush to rsad evesn morre hings approximatepy it!


  2. kalinichenk says:

    This blog is a place where I post a small part of troubles, that i had to solve.
    I’ll try to publish more posts, but unfortunately I don’t have enough time for this 😦


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s