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 192.168.10.10:/logs/ /logs/

При необходимости можно добавить в fstab:

192.168.10.10:/logs /logs nfs defaults 0 0
Advertisements
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!

    Like

  2. kalinichenk says:

    Thanks!
    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 😦

    Like

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s