Posts

Showing posts from March, 2015

Configure UDEV rules for ASM devices

Contents Tested Environment Key Facts Display all available WWID on your system UDev rules for a disk partition using /sbin/scsi_id ( prefered mothode as we can change the NAME ) Reference:    Tested Environment OEL 6.4 with RAC 11.2.0.4 Key Facts Don’t use  /dev/sdX or /dev/dm-XX   as device name as this device names can change after a reboot Use the  WWID for identifying devices The World Wide Identifier (WWID) can be used to reliably identifying disk devices. WWID is a persistent, system-independent ID that the SCSI Standard requires from all SCSI devices. Display all available WWID on your system Shell script to display WWID on your system #!/bin/bash # #Usage:  As root user run : ./check_wwid.sh # for FILE in `find /dev -name "sd*" | sort`    do      WWID=`scsi_id --whitelisted --replace-whitespace --device=$FILE `      echo $FILE " WWID:  "  $WWID  ...