Complete these tasks to configure disk devices for use with Oracle Automatic Storage Management (Oracle ASM).
/dev/dsk/cxtydz
).# /usr/sbin/ioscan -fun -C disk
The output from this command is similar to the following:
Class I H/W Path Driver S/W State H/W Type Description ========================================================================== disk 0 0/0/1/0.6.0 sdisk CLAIMED DEVICE HP DVD 6x/32x /dev/dsk/c0t6d0 /dev/rdsk/c0t6d0 disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST39103LC /dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
On HP-UX 11i v.3, you can also use agile view to review mass storage devices, including block devices (/dev/disk/diskxyz
), or character raw devices (/dev/rdisk/diskxyz
). For example:
#>ioscan -funN -C disk Class I H/W Path Driver S/W State H/W Type Desc =================================================================== disk 4 64000/0xfa00/0x1 esdisk CLAIMED DEVICE HP73.4GST373454LC /dev/disk/disk4 /dev/rdisk/disk4 disk 907 64000/0xfa00/0x2f esdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME /dev/disk/disk907 /dev/rdisk/disk907
ioscan
command does not display the device name information for a device that you want to use, then enter the following command to install the special device files for any new devices:
# /usr/sbin/insf -e
# /sbin/pvdisplay /dev/dsk/cxtydz
Note:
If you are using different volume management software, for example VERITAS Volume Manager, then refer to the appropriate documentation for information about verifying that a disk is not in use.# chown oracle:dba /dev/rdsk/cxtydz # chmod 660 /dev/rdsk/cxtydz
For DSF (agile view) paths, enter a command using paths similar to the following:
# chmod 660 /dev/rdisk/diskxyz
Note:
If you are using a multi-pathing disk driver with Oracle Automatic Storage Management, then ensure that you set the permissions only on the correct logical device name for the disk.