cli_chfs command
Purpose
Change the attributes of a file system on all nodes in a cluster.Syntax
cli_chfs [ -m NewMountPoint ] [ -u MountGroup ] [ -p { ro | rw } ]
[ -t { yes | no } ] [ -a Attribute=Value ] [ -d Attribute ]
FileSystem
Description
Uses C-SPOC to run the chfs command with the parameters, and update file system definition on all cluster nodes.
Flags
- -d Attribute
- Deletes the specified attribute from the /etc/filesystems file for the specified file system.
- -m NewMountPoint
- Specifies a new mount point for the specified file system. The following values are valid:
- -p
- Sets the permissions for the file system. The following values are valid:
- ro
- Specifies read-only permissions.
- rw
- Specifies read-write permissions.
- -t
- Sets the accounting attribute for the specified file system. The following values are valid:
- yes
- File system accounting is processed by the accounting subsystem.
- no
- File system accounting is not processed by the accounting subsystem. This is the default value.
- -u MountGroup
- Specifies the mount group. Mount groups are used to group related mounts so that they can be mounted as one group instead of mounting each individually. For example, when you perform certain tests, if several scratch file systems are required to be mounted together, they can each be placed in the test mount group. You can mount this mount group with a single command, such as the mount -t command.
- -a Attribute=Value
- Specifies the
Attribute=Value
pairs dependent on virtual file system type. To specify more than one Attribute=Value pair, provide multiple -a Attribute=Value parameters.
Example
To change the size of the shared file system that is named /test_fs,
enter:
cli_chfs -a size=32768 /test_fs