Step1: from racnode1 as ROOT user

# fdisk /dev/sda

The number of cylinders for this disk is set to 30401.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs

Command (m for help): p

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

Command (m for help): n
Command action
e extended
p primary partition (1-4)
Partition number (1-4): 1
First cylinder (1-30401, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-30401, default 30401):
Using default value 30401

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

Step 2: as ROOT user issue partprobe

Step 3: on both nodes change the permission of the disks to 660 ownership to oracle and grp as oinstall

Step 4: USE DBCA to admin ASM disks

Configure RAW disks to use as ASM disks:

Open /etc/sysconfig/rawdevices and add following lines:

/dev/raw/raw1 /dev/sdb1
/dev/raw/raw2 /dev/sdc1
/dev/raw/raw3 /dev/sdd1
/dev/raw/raw4 /dev/sde1

Restart the rwdevices service to make your changes effective.

# service rawdevices restart
Assigning devices:
/dev/raw/raw1 --> /dev/sdb1 /dev/raw/raw1: bound to major 8, minor 17
/dev/raw/raw2 --> /dev/sdc1 /dev/raw/raw2: bound to major 8, minor 33
/dev/raw/raw3 --> /dev/sdd1 /dev/raw/raw3: bound to major 8, minor 49
/dev/raw/raw4 --> /dev/sde1 /dev/raw/raw4: bound to major 8, minor 65
done #

This will bound the disks with raw devices.

Execute the following commands to set access and ownership on the raw disks for user oracle.
Also add these lines in /etc/rc.local to preserve these settings after system restart.

# chown oracle:oinstall /dev/raw/raw1
# chown oracle:oinstall /dev/raw/raw2
# chown oracle:oinstall /dev/raw/raw3
# chown oracle:oinstall /dev/raw/raw4
# chmod 660 /dev/raw/raw1
# chmod 660 /dev/raw/raw2
# chmod 660 /dev/raw/raw3
# chmod 660 /dev/raw/raw4
0 (0)
Article Rating (No Votes)
Rate this article
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Build a simple RPM that packages a single file
Viewed 5489 times since Sat, Jun 2, 2018
Use Fail2ban to Secure Your Server
Viewed 9580 times since Fri, Jul 5, 2019
RHEL: Getting/Setting hardware clock’s time
Viewed 1555 times since Sat, Jun 2, 2018
SSH ProxyCommand example: Going through one host to reach another server
Viewed 10007 times since Tue, Aug 6, 2019
Increase A VMware Disk Size (VMDK) Formatted As Linux LVM without rebooting
Viewed 13172 times since Wed, May 30, 2018
Manage SSH Key File With Passphrase
Viewed 1094 times since Tue, Mar 5, 2019
Linux - How to monitor memory usage
Viewed 1282 times since Fri, Jun 8, 2018
RHEL: Reserved space on a ext2/ext3/ext4 filesystem
Viewed 2955 times since Sun, May 27, 2018
Fix rpmdb: Thread died in Berkeley DB library
Viewed 19112 times since Fri, Feb 14, 2020
RHEL7: How to get started with Firewalld.
Viewed 8923 times since Wed, May 22, 2019