Skip to main content

Configure Oracle ASM Disks on AIX

Configure Oracle ASM Disks on AIX


You can use below steps to configure the new disks for ASM after the raw disks are added to your AIX server by your System/Infrastructure team experts:

# /usr/sbin/lsdev -Cc disk

The output from this command is similar to the following:

hdisk9 Available 02-T1-01 PURE MPIO Drive (Fibre)

hdisk10 Available 02-T1-01 PURE MPIO Drive (Fibre)

If the new disks are not listed as available, then use the below command to configure the new disks.

# /usr/sbin/cfgmgr

Enter the following command to identify the device names for the physical disks that you want to use:

# /usr/sbin/lspv | grep -i none

This command displays information similar to the following for each disk that is not configured in a volume group:

hdisk9     0000014652369872   None

In the above example hdisk9 is the device name and 0000014652369872 is the physical volume ID (PVID). The disks that you want to use may have a PVID, but they must not belong to a volume group.

PVID must be cleared for the device that you want to use.

# /usr/sbin/chdev -l hdisk9 -a pv=clear

Change the owner and the permission of the related character disk device. Name of character raw device for hdisk9 will be rhdisk9

#chown oracle:dba /dev/rhdisk9

#chmod 660 /dev/rhdisk9

Next is to create a common device file name for each device

Enter the following command to determine the device major and minor numbers that identify the disk device, where n is the disk number for the disk device on this node:

# ls -alF /dev/*hdisk9

The output from this command is similar to the following:

brw------- 1 root system 24,8192 Dec 05 2001 /dev/hdisk9

crw------- 1 root system 24,8192 Dec 05 2001 /dev/rhdisk9

Use the command mknod to create a common device file for each device that you want to use in ASM

mknod /dev/ora-data3 c <major#> <minor#>

Example:

mknod /dev/ora-data3 c 24 8192


Next: To add these disks to ASM Check my blog "Add New Disks to existing ASM Disk Group"






Comments

  1. Thanks for sharing that blog with us. If anyone here searching Akswave then visit Akswave.

    ReplyDelete
  2. Helpful. Thank you for sharing this.

    ReplyDelete

Post a Comment