3.3. NFS Share Setup
			The following procedure configures the NFS share for the NFS daemon failover. You need to perform this procedure on only one node in the cluster.
		
- Create the
/nfssharedirectory.mkdir /nfsshare
[root@z1 ~]# mkdir /nfsshareCopy to Clipboard Copied! Toggle word wrap Toggle overflow  - Mount the
ext4file system that you created in Section 3.2, “Configuring an LVM Volume with an ext4 File System” on the/nfssharedirectory.mount /dev/my_vg/my_lv /nfsshare
[root@z1 ~]# mount /dev/my_vg/my_lv /nfsshareCopy to Clipboard Copied! Toggle word wrap Toggle overflow  - Create an
exportsdirectory tree on the/nfssharedirectory.mkdir -p /nfsshare/exports mkdir -p /nfsshare/exports/export1 mkdir -p /nfsshare/exports/export2
[root@z1 ~]# mkdir -p /nfsshare/exports [root@z1 ~]# mkdir -p /nfsshare/exports/export1 [root@z1 ~]# mkdir -p /nfsshare/exports/export2Copy to Clipboard Copied! Toggle word wrap Toggle overflow  - Place files in the
exportsdirectory for the NFS clients to access. For this example, we are creating test files namedclientdatafile1andclientdatafile2.touch /nfsshare/exports/export1/clientdatafile1 touch /nfsshare/exports/export2/clientdatafile2
[root@z1 ~]# touch /nfsshare/exports/export1/clientdatafile1 [root@z1 ~]# touch /nfsshare/exports/export2/clientdatafile2Copy to Clipboard Copied! Toggle word wrap Toggle overflow  - Unmount the ext4 file system and deactivate the LVM volume group.
umount /dev/my_vg/my_lv vgchange -an my_vg
[root@z1 ~]# umount /dev/my_vg/my_lv [root@z1 ~]# vgchange -an my_vgCopy to Clipboard Copied! Toggle word wrap Toggle overflow