Top
PRIMECLUSTER Global Disk Services  Configuration and AdministrationGuide 4.3
FUJITSU Software

6.7.3 File System Auto Mount

File systems created on volumes in classes other than the root class (local classes and shared classes) cannot be mounted with the OS auto mount feature at OS startup.

This is because the OS auto mount process is executed before the GDS startup script is executed.

When including file systems created on volumes in classes other than the root class in the /etc/fstab file, be sure to describe the "noauto" option in the fourth field. When using GDS 4.3A20 or earlier, in the File System Configuration screen of GDS Management View, select "no" to "mount." If "yes" to "mount" is selected, the noauto option is not declared.

Information

For Shared Classes

To mount or unmount file systems on volumes in shared classes when starting or exiting cluster applications, /etc/fstab.pcl file setting and Fsystem resource setting are necessary. When using GFS, see "PRIMECLUSTER Cluster Foundation (CF) Configuration and Administration Guide." For details, see "PRIMECLUSTER Global File Services Configuration and Administration Guide."

Information

For Local Classes

To automatically mount or unmount file systems created on volumes in local classes on starting or exiting OS, configure the following setting.

  • For RHEL6 or earlier

    Create and set the startup or stop scripts in order to satisfy the following conditions:

    • Execute the mounting process after all of the GDS startup script /etc/*.d/*sfdsk*.

    • Execute the unmounting process before all of the GDS stop script /etc/*.sfdsk*.

    See

    For details about GDS startup script, see "F.2 Startup Script Lists."

  • For RHEL7 or later

    Create and set the script and unit files in order to satisfy the following conditions:

    • Execute the mounting process after all of the GDS service (fjsvsdx*.service) when starting OS.

    • Execute the unmounting process before all of the GDS service (fjsvsdx*.service) when stopping OS.

    See

    For details about GDS services, see "G.2 systemd Service Lists."

Similarly, to export file systems created on volumes in local classes to an NFS client, configure the following setting.

  • For RHEL6 or earlier

    Create and set the startup or stop scripts in order to satisfy the following conditions:

    • When starting the system, export the file system after mounting the file system on the volume.

    • When stopping the system, stop exporting the file system before unmounting the file system on the volume.

  • For RHEL7 or later

    Create and set the script and unit files in order to satisfy the following conditions:

    • Execute the mounting process before nfs.service when starting OS.

    • Execute the unmounting process after nfs.service when stopping OS.

See

For the startup script creation method, see "6.9 Volume's Block Special File Access Permission."