Part of this series of posts: Oracle Database 12c on Oracle Linux 6
Type the following command and press Enter.
oracleasm configure -i
Type oracle at the Default user prompt and press Enter.
Type dba at the Default group prompt and press Enter.
Type y at the Start Oracle ASM library driver on boot prompt and press Enter.
Type y at the Scan for Oracle ASM disks on boot prompt and press Enter.
Note:
You don’t have to be in the Desktop directory to run the above command, it will work from anywhere.
Enter the following commands pressing Enter after each line.
oracleasm init oracleasm createdisk ASMDISK01 /dev/sdb1 oracleasm createdisk ASMDISK02 /dev/sdc1 oracleasm createdisk ASMDISK03 /dev/sdd1 oracleasm createdisk ASMDISK04 /dev/sde1 oracleasm createdisk ASMDISK05 /dev/sdf1 oracleasm createdisk ASMDISK06 /dev/sdg1 oracleasm createdisk ASMDISK07 /dev/sdh1 oracleasm createdisk ASMDISK08 /dev/sdi1 oracleasm createdisk ASMDISK09 /dev/sdj1 oracleasm createdisk ASMDISK10 /dev/sdk1 oracleasm createdisk ASMDISK11 /dev/sdl1 oracleasm createdisk ASMDISK12 /dev/sdm1 oracleasm createdisk ASMDISK13 /dev/sdn1
Note:
The up arrow is your friend. After running each command use the up arrow and you can change the last letter and then use the arrow keys to move back to the disk name and change that too. You don’t have to move your cursor to the end of the line before you press Enter. The command will run no matter where your cursor is when you press Enter.
If you see any errors when entering the above commands, there’s a good chance you forgot to type oracleasm init before you created the disks.
Oracle Database 12c on Oracle Linux 6 – Step 15: Format the 13 Linux Disks using the Linux Disk Utility < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 17: Create the Directories for Installing Oracle Software
April 2nd, 2014 at 7:12 pm
[…] Step 16: Configure ASM and Create the 13 ASM Disks […]
May 12th, 2014 at 4:43 pm
[…] Oracle Database 12c on Oracle Linux 6 – Step 14: Download, Configure and Install rlwrap < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 16: Configure ASM and Create the 13 ASM Disks […]
May 12th, 2014 at 4:47 pm
[…] Oracle Database 12c on Oracle Linux 6 – Step 16: Configure ASM and Create the 13 ASM Disks < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 18: Reboot the System to Run the Latest Patched Kernel […]