-
Notifications
You must be signed in to change notification settings - Fork 1
/
XEN-NFS-CONFIGURATIONS
51 lines (30 loc) · 1.56 KB
/
XEN-NFS-CONFIGURATIONS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/etc/sysconfig/selinux ---> disabled
XEN-FEDORA 19
http://wiki.xen.org/wiki/Fedora_Host_Installation
====================================
NFS - Configuration Server:
--------------------------
1)install nfsv4
2)sudo gedit /etc/idmapd.conf
#line 5 uncomment and change to your Domain Name
Domain = server.world
3)sudo gedit /etc/exports -> (/direactory 192.168.0.0/24/mask(rw,,sync,no_subtree_check,no_root_squash))
4)systemctl start rpcbind.service | systemctl start nfs-server.service | systemctl start nfs-lock.service | systemctl start nfs-idmap.service | systemctl enable rpcbind.service | systemctl enable nfs-server.service | systemctl enable nfs-lock.service | systemctl enable nfs-idmap.service
NFS - Configuration Client:
--------------------------
1)sudo gedit /etc/idmapd.conf (line 5 :Domain =)
2) systemctl start rpcbind.service | systemctl start nfs-lock.service | systemctl start nfs-idmap.service | systemctl start netfs.service | systemctl enable rpcbind.service | systemctl enable nfs-lock.service | systemctl enable nfs-idmap.service | systemctl enable netfs.service
3) mount -t nfs4 ip-export:/directory-export /mount-point
4)df -h
====================================
server: systemctl restart nfs-server.service
client: systemctl restart netfs.service
systemctl restart nfs-server.service | systemctl restart netfs.service
====================================
Manual mounts work, i.e. you can still do
mkdir -p /mnt/tmp
mount -t nfs `hostname`:/var/tmp /mnt/tmp
====================================
---
/etc/hosts - specifie host names ith ips
---