Purpose
Creates an Oracle ACFS file system on the Solaris operating system.
Syntax and Description
mkfs -F acfs -o h /dev/null mkfs -F acfs [-o options] volume_device size
mkfs
-F
acfs
-o
h
/dev/null
displays usage text and exits.
Table 16-8 contains the options available with the mkfs
command.
Table 16-8 Options for the Solaris mkfs command
Option | Description |
---|---|
|
Specifies the type of file system on Solaris. |
|
Specifies that options follow (f, h, n, v). Options are preceded with the
|
|
Specifies an Oracle ADVM device file. |
|
Specifies the size of the file system in 512-byte units or in units of |
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.