I tried to configure the ASM disks on my linux box with these steps:
Stage 1
--From the main Terminal, switch user to root
[****@localhost Desktop]$ su root
Password:
Stage 2
-- From The Root user, make directory for ASM Disk
[root@localhost Desktop]# mkdir /asmdisk
Stage 3
-- Allocate 4 Disk Spaces to the ASM Disk with the Directory as shown
[root@localhost Desktop]# dd if=/dev/zero of=/asmdisk/disk1 bs=1024k count=500
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 14.7428 s, 35.6 MB/s
[root@localhost Desktop]# dd if=/dev/zero of=/asmdisk/disk2 bs=1024k count=500
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 14.1399 s, 37.1 MB/s
[root@localhost Desktop]# dd if=/dev/zero of=/asmdisk/disk3 bs=1024k count=500
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 14.1355 s, 37.1 MB/s
[root@localhost Desktop]# dd if=/dev/zero of=/asmdisk/disk4 bs=1024k count=500
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 14.2123 s, 36.9 MB/s
Stage 4
-- Allocate 4 loops Spaces in the ASM Disks earlier created with the Directory as shown
[root@localhost Desktop]# /sbin/losetup dev/loop1 /asmdisk/disk1
dev/loop1: No such file or directory
[root@localhost Desktop]# /sbin/losetup /dev/loop1 /asmdisk/disk1
[root@localhost Desktop]# /sbin/losetup /dev/loop2 /asmdisk/disk2
[root@localhost Desktop]# /sbin/losetup /dev/loop3 /asmdisk/disk3
[root@localhost Desktop]# /sbin/losetup /dev/loop4 /asmdisk/disk4
Stage 5
-- Allocate 4 raw Spaces in the 4 loop spaces in the ASM Disks earlier created with the Directory as shown
[root@localhost Desktop]# raw /dev/raw/raw1 /dev/loop1
/dev/raw/raw1: bound to major 7, minor 1
[root@localhost Desktop]# raw /dev/raw/raw2 /dev/loop2
/dev/raw/raw2: bound to major 7, minor 2
[root@localhost Desktop]# raw /dev/raw/raw3 /dev/loop3
/dev/raw/raw3: bound to major 7, minor 3
[root@localhost Desktop]# raw /dev/raw/raw4 /dev/loop4
/dev/raw/raw4: bound to major 7, minor 4
Stage 6
-- cd the Dev/raw Directory earlier created as shown below:
[root@localhost Desktop]# cd /dev/raw
Stage 7
-- List as shown below:
[root@localhost raw]# ls -ltr
total 0
crw-rw----. 1 root disk 162, 0 Jun 21 12:45 rawctl
crw-rw----. 1 root disk 162, 1 Jun 21 18:58 raw1
crw-rw----. 1 root disk 162, 2 Jun 21 18:58 raw2
crw-rw----. 1 root disk 162, 3 Jun 21 18:58 raw3
crw-rw----. 1 root disk 162, 4 Jun 21 18:59 raw4
Step 8
I did the chown oracle
install command for the /dev/raw/raw1 for the 4 parts
Step 9
I did the chmod 660 for the 4 raw disks created
At this stage, it gave me the "permission error" that i don't have the permission to create the disks.
I called the DBCA anyway, but could not find the ASM disks i configured earlier, though the database was created with non-asm files.
Please what can i do at this stage?
Thanks