Purpose
Creates an Oracle ACFS file system on the AIX operating system.
Syntax and Description
mkfs -V acfs -o h /dev/null mkfs -V acfs [-v name ] [-s size][-o options] volume_device
mkfs -V acfs -o h /dev/null displays usage text and exits.
Table 16-13 contains the options available with the AIX mkfs command.
Table 16-13 Options for the AIX mkfs command
| Option | Description |
|---|---|
|
|
Specifies the type of file system on AIX. |
|
|
Specifies the name for the file system. A name can be a maximum of 64 characters. |
|
|
Specifies the size of the file system in 512-byte units or in units of |
|
|
Specifies that options follow (f, h, v). Options are preceded with the
|
|
|
Specifies an Oracle ADVM device file that is to be formatted. |
You can use mkfs to create the on disk structure needed for Oracle ACFS file system to be mounted. The mkfs command is the traditional Linux command used to build a file system. After mkfs runs successfully, the USAGE column in the V$ASM_VOLUME view displays ACFS. root privilege is not required. The ownership of the volume device file dictates who can run this command.
The minimum file system size is 200 MB.
The Oracle ACFS driver must be loaded for mkfs to work.
Examples
Before creating an Oracle ACFS file system, first determine which Oracle ADVM volume devices are available. You can use the ASMCMD volinfo command to display information about the volumes and volume devices.
ASMCMD [+] > volinfo -a
...
Volume Name: VOLUME1
Volume Device: /dev/asm/volume1-123
State: ENABLED
...
See Managing Oracle ADVM with ASMCMD .
Next create an Oracle ACFS file system on the volume device file.