Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

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.
  1. Create the /nfsshare directory.
    [root@z1 ~]# mkdir /nfsshare
    Copy to Clipboard Toggle word wrap
  2. Mount the ext4 file system that you created in Section 3.2, “Configuring an LVM Volume with an ext4 File System” on the /nfsshare directory.
    [root@z1 ~]# mount /dev/my_vg/my_lv /nfsshare
    Copy to Clipboard Toggle word wrap
  3. Create an exports directory tree on the /nfsshare directory.
    [root@z1 ~]# mkdir -p /nfsshare/exports
    [root@z1 ~]# mkdir -p /nfsshare/exports/export1
    [root@z1 ~]# mkdir -p /nfsshare/exports/export2
    Copy to Clipboard Toggle word wrap
  4. Place files in the exports directory for the NFS clients to access. For this example, we are creating test files named clientdatafile1 and clientdatafile2.
    [root@z1 ~]# touch /nfsshare/exports/export1/clientdatafile1
    [root@z1 ~]# touch /nfsshare/exports/export2/clientdatafile2
    Copy to Clipboard Toggle word wrap
  5. Unmount the ext4 file system and deactivate the LVM volume group.
    [root@z1 ~]# umount /dev/my_vg/my_lv
    [root@z1 ~]# vgchange -an my_vg
    Copy to Clipboard Toggle word wrap
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat