about installing RAC ASM UDEV on VMS cannot return UUID issues

Source: Internet
Author: User
Tags symlink

From http://www.oracledatabase12g.com/archives/utilize-udev-resolve-11gr2-rac-asm-device-name.html

Addressing RAC ASM storage device names with Udev services

1. Confirm that the necessary udev packages are already installed on all RAC nodes [[email protected] ~]# Rpm-qa|grep udevudev-095-14.21.el52. Gets the unique identification name of the device's block device via SCSI_ID, Assume that a LUN is already on the system sdc-sdpfor I in C D E F g h i j k l m n o p;d oecho "sd$i" "' Scsi_id-g-u-s/block/sd$i '";d One
3
for I in B c D E F g h i j K; 
do
echo" kernel==\ "sd*\", BUS==\ "Scsi\" , program==\ "/sbin/scsi_id-g-u-s%p\", result==\ "' scsi_id-g-u-s/block/sd$i ' \", name=\ "asm-disk$i\", OWNER=\ "grid\", Group=\ "asmadmin\", mode=\ "0660\" "
done

The 2 script in

For I in C D E F g h i j k l m n o p;d oecho "sd$i" "' Scsi_id-g-u-s/block/sd$i '";d One

No return value with Udevtest check does not return ID

[Email protected] block]# Udevtest/block/sdb
Main:looking at device '/block/sdb ' from subsystem ' block '
Run_program: '/lib/udev/usb_id-x '
Run_program: '/lib/udev/usb_id ' returned with status 1
Run_program: '/lib/udev/scsi_id-g-x-s/block/sdb-d/dev/.tmp-8-16 '
Run_program: '/lib/udev/scsi_id ' returned with status 1
Run_program: '/lib/udev/scsi_id-g-x-a-s/block/sdb-d/dev/.tmp-8-16 '
Run_program: '/lib/udev/scsi_id ' (stdout) ' Id_vendor=vmware '
Run_program: '/lib/udev/scsi_id ' (stdout) ' Id_model=virtual_disk '
Run_program: '/lib/udev/scsi_id ' (stdout) ' id_revision=1.0 '
Run_program: '/lib/udev/scsi_id ' (stdout) ' id_serial= '
Run_program: '/lib/udev/scsi_id ' (stdout) ' Id_type=disk '
Run_program: '/lib/udev/scsi_id ' (stdout) ' ID_BUS=SCSI '
Run_program: '/lib/udev/scsi_id ' returned with status 0
Run_program: '/lib/udev/path_id/block/sdb '
Run_program: '/lib/udev/path_id ' (stdout) ' id_path=pci-0000:00:10.0-scsi-0:0:1:0 '
Run_program: '/lib/udev/path_id ' returned with status 0
Udev_rules_get_name:add symlink ' disk/by-path/pci-0000:00:10.0-scsi-0:0:1:0 '
Run_program: '/lib/udev/vol_id--export/dev/.tmp-8-16 '
Run_program: '/lib/udev/vol_id ' returned with status 4
Run_program: '/lib/udev/edd_id--export/dev/.tmp-8-16 '
Run_program: '/lib/udev/edd_id ' (stderr) ' No kernel EDD support '
Run_program: '/lib/udev/edd_id ' returned with status 2
Run_program: '/sbin/scsi_id-g-u-s/block/sdb '
Run_program: '/sbin/scsi_id ' returned with status 1
Run_program: '/sbin/scsi_id-g-u-s/block/sdb '
Run_program: '/sbin/scsi_id ' returned with status 1
Run_program: '/sbin/scsi_id-g-u-s/block/sdb '
Run_program: '/sbin/scsi_id ' returned with status 1
Run_program: '/sbin/scsi_id-g-u-s/block/sdb '
Run_program: '/sbin/scsi_id ' returned with status 1
Run_program: '/sbin/scsi_id-g-u-s/block/sdb '
Run_program: '/sbin/scsi_id ' returned with status 1
Run_program: '/sbin/scsi_id-g-u-s/block/sdb '
Run_program: '/sbin/scsi_id ' returned with status 1
Run_program: '/sbin/scsi_id-g-u-s/block/sdb '
Run_program: '/sbin/scsi_id ' returned with status 1
Run_program: '/sbin/scsi_id-g-u-s/block/sdb '
Run_program: '/sbin/scsi_id ' returned with status 1
Run_program: '/sbin/scsi_id-g-u-s/block/sdb '
Run_program: '/sbin/scsi_id ' returned with status 1
Run_program: '/sbin/scsi_id-g-u-s/block/sdb '
Run_program: '/sbin/scsi_id ' returned with status 1
Udev_rules_get_name:no node name set, would use kernel name ' SDB '
Udev_device_event:device '/block/sdb ' already in database, validate currently present symlinks
Udev_node_add:creating device node '/dev/sdb ', major = ' 8 ', minor = ' + ', mode = ' 0640 ', uid = ' 0 ', gid = ' 6 '
Udev_node_add:creating symlink '/dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:1:0 ' to '. /.. /sdb '
Main:run: ' Socket:/org/kernel/udev/monitor '
Main:run: '/LIB/UDEV/UDEV_RUN_DEVD '
Main:run: ' Socket:/org/freedesktop/hal/udev_event '
Main:run: '/sbin/pam_console_apply/dev/sdb/dev/disk/by-path/pci-0000:00:10.0-scsi-0:0:1:0 '


Solution Solutions

The first device cannot be formatted

If the VM

Add disk to the VMX file of the virtual machine. Enableuuid = "TRUE"
If you make any virtual machine settings, such as adding a disk, modifying the network card type, or other operations,
Disk. The Enableuuid parameter is reset to False, so each time you make a virtual machine setup, you need to manually modify the parameter again.

If you want to avoid adding manual modifications,
only use Udevinfo to get Sysfs[start] and Sysfs[size] to set the

Udevinfo-a-p/sys/block/sdb/sdb1

kernel== "SDB1", subsystem== "block", sysfs{size}== "16771797", sysfs{start}== "a", name= "Asmdisk1-crs", owner= " Grid ", group=" Asmadmin ", mode=" 0660 "



If it is vbox, it is recommended to change the drive bus to SATA

If the formatted LINUX 5 then please use Asmlib

about installing RAC ASM UDEV on a VM cannot return UUID issues

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.