Wednesday, March 6, 2013

Manually create acfs filesystem Oracle 11gr2

You can of course use asmca to create acfs filesystem or Oracle Grid control.Sometimes it's handy to know te command's to create an acfs.
First you have to know the disk that are available.There are diffirent ways to find this out.For instance in asmcmd use lsdsk --candidate -p
I use sqlplus for this.

-t acfs Specifies the type of file system on Linux. acfs designates the Oracle ACFS type
-b The default block size is 4K and is the only size supported in 11g Release 2 (11.2).
-n Specifies the name for the file system.

-a Specifies to add the device, mount point, and associated moptions to the Oracle ACFS mount registry.
-f This is used in combination with -a when the specified device might exist in the registry and the administrator wants to replace the registration