Creating shared file systems with C-SPOC

This topic describes adding a shared file system where no logical volume is current defined using the C-SPOC utility.

About this task

Before creating a journaled file system for the cluster using C-SPOC, check that:

  • All disk devices are properly attached to the cluster nodes
  • All disk devices are properly configured and available on all cluster nodes

The owning volume group does not need to be varied on to create a filesystem with C-SPOC.

Avoid using a period (.) in the file system name.

You can add a journaled file system or enhanced journaled file system to either of the following volumes:

  • A shared volume group (no previously defined cluster logical volume)
  • A previously defined cluster logical volume (on a shared volume group).

To add a file system where no logical volume is currently defined, complete the following steps:

Procedure

  1. Enter the fastpath smit cspoc.
  2. In the C-SPOC interface, select Storage > File System > Add a File System and press Enter. SMIT displays a list of the filesystem types, Standard, Enhanced, Compressed, or Large File Enabled.
  3. Select the volume group where the file system will be added.
  4. Select a file system type from the list.
  5. Enter field values as follows:
    Table 1. Filesystem attribute fields
    Field Value
    Resource Group Displays a list of shared volume groups, their owning resource group, if any, and the list of nodes on which the volume groups are known.
    Node Names Displays the names of the cluster nodes on which the volume group is known.
    Volume Group Name Displays the selected volume group name.
    SIZE of filesystem Set the value as required. The size can be specified in 512-byte blocks, megabytes or gigabytes.
    MOUNT POINT Enter the mount point for the file system.
    PERMISSIONS Set the value as required.
    Mount OPTIONS Set the value as required. Select from the predefined mount options.
    Extended Mount OPTIONS Set the value as required. This field provides supported mount options that are not listed in the predefined Mount OPTIONS field. Enter one or more values, separated by a comma.
    Note: Changes in the Extended Mount Options field is reflected only when you restart the cluster services.
    Start Disk Accounting? Set the value as required. The default value is no.
    Fragment Size (Bytes) 4096 is the default.
    Number of Bytes per inode 4096 is the default.
    Allocation Group Size (MBytes) 8 is the default.
    Logical Volume for Log Enter the logical volume that is used as the logging device for the new file system.
  6. Select the file system attributes and press Enter.
    When you specify values in the Extended Mount OPTIONS field, an entry is added to the /usr/es/sbin/cluster/etc/mntopt mapping file. This new file is automatically created if it does not exist and included in the PowerHA® SystemMirror® file collection under the mountoptions label. It helps ensure that the file stays synchronized and consistent across all the cluster nodes.

Results

SMIT checks the nodelist for the resource group that contains the volume group, creates the logical volume and uses an existing log logical volume if present, otherwise a new log logical volume is created. Next, the filesystem is created by using the logical volume on the node where the volume group is varied-on.