Sunday, March 9, 2014

Creating an ACFS Volume

The COMPATIBLE.ADVM attribute of the disk group must be 11.2.0 or higher before you can create an ADVM volume in the disk group. You can set the attribute with the command:

asmcmd setattr -G DATA compatibility.advm 11.2.0.0.0



Create the volume:

$ asmcmd volcreate -G DATA -s 100M testvol

View the volume information:

$ asmcmd volinfo –G DATA testvol

Make a mount point directory:

$ mkdir /u01/app/oracle/acfsdata/testvol

Make the file system (as root):

# mkfs -t acfs /dev/asm/testvol-403

Mount the file system to the mount point:

# mount -t acfs /dev/asm/testvol-403 /u01/app/oracle/acfsdata/testvol


Creating an ASM Dynamic Volume with Enterprise Manager






Managing Dynamic Volumes with SQL*PLUS

SQL> ALTER DISKGROUP DGROUPA ADD VOLUME asmvol1 SIZE 10g;

SQL> ALTER DISKGROUP DGROUPA RESIZE VOLUME asmvol1 SIZE 15G;

SQL> ALTER DISKGROUP DGROUPA DROP VOLUME asmvol1;

SQL> ALTER DISKGROUP DGROUPA ENABLE VOLUME asmvol1;

SQL> ALTER DISKGROUP ALL DISABLE VOLUME ALL;

SQL> ALTER DISKGROUP DGROUPA MODIFY VOLUME asmvol1 USAGE 'acfs';

Registering an ACFS Volume

As the grid owner, register the volume:

$ /sbin/acfsutil registry -a -f /dev/asm/volume1-167 /u01/app/oracle/acfsdata/volume1


Creating an ACFS Volume with ASMCA 


 


No comments:

Post a Comment