Complete these tasks to configure disk devices for use with Oracle Automatic Storage Management (Oracle ASM).
# /usr/sbin/lsdev -Cc disk
The output from this command is similar to the following:
hdisk0 Available 1A-09-00-8,0 16 Bit LVD SCSI Disk Drive hdisk1 Available 1A-09-00-9,0 16 Bit LVD SCSI Disk Drive hdisk2 Available 17-08-L SSA Logical Disk Drive
# /usr/sbin/cfgmgr
# /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:
hdisk2 0000078752249812 None
In this example, hdisk2
is the device name of the disk and 0000078752249812
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.
# /usr/sbin/chdev -l hdiskn -a pv=clear
# chown oracle:dba /dev/rhdiskn # chmod 660 /dev/rhdiskn
Note:
If you are using a multi-pathing disk driver with Automatic Storage Management, then ensure that you set the permissions only on the correct logical device name for the disk.