User Tools

Site Tools


wiki:os:linux:nfs

NFS - Network File System

NFS Server

yum install nfs-utils
 
systemctl daemon-reload
systemctl enable rpcbind.service
systemctl enable nfs-server.service
systemctl start rpcbind.service
systemctl start nfs-server.service
mkdir -p /exports/data
vim /etc/exports
    /exports/data      *(rw)
exportfs -ra
 
exportfs -s     # vypis aktualnich exportu

Nastaveni pro oVirt:

groupadd kvm -g 36
useradd vdsm -u 36 -g 36
chown -R 36:36 /exports/data
chmod -R 0755 /exports/data
wiki/os/linux/nfs.txt · Last modified: 2018/01/22 08:53 by root