Get the App
SLTechnology News&Howtos  ›  Database  › 

How to bind linux udev bare Devices

Shulou Source: shulou.com Published: 2022-05-31 13:12:37 10月05日 Update

It is believed that many inexperienced people have no idea about how to bind linux udev bare devices. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

KERNEL== "sd*", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "36000c29a340c7c2dc0a2c8248246121e", NAME= "asm-crs1", OWNER= "grid", GROUP= "dba", MODE= "0660"

KERNEL== "sd*", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "36000c29699ebddebc1aa11c92779ac3f", NAME= "asm-data1", OWNER= "grid", GROUP= "dba", MODE= "0660"

KERNEL== "sd*", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "36000c293b2fb491391ff10e0855cabf8", NAME= "asm-data2", OWNER= "grid", GROUP= "dba", MODE= "0660"

KERNEL== "sd*", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "36000c29c906e2b7c21899af6c3fa0f4c", NAME= "asm-crs2", OWNER= "grid", GROUP= "dba", MODE= "0660"

KERNEL== "sd*", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "36000c29c51370cf9874f20287354e19c", NAME= "asm-data3", OWNER= "grid", GROUP= "dba", MODE= "0660"

ORACLE_SID=ora12c

Export ORACLE_BASE=/u01/app/oracle

Export ORACLE_HOME=/u01/app/oracle/12.1.0.1/product/dbhome_1

Export ORACLE_BASE ORACLE_HOME ORACLE_SID

NLS_LANG=american_america.UTF8

Export NLS_LANG

LD_LIBRARY_PATH=$ORACLE_CRS_HOME/lib:$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib

Export LD_LIBRARY_PATH

PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_CRS_HOME/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:.

Export PATH

Export NLS_DATE_FORMAT= "yyyy-mm-dd HH24:MI:SS"

Stty erase ^ h

Export ORACLE_SID=+ASM1

Export ORACLE_BASE=/u01/app/grid

Export ORACLE_HOME=/u01/12.1.0.1/grid

Export ORACLE_TERM=xterm

Export TMP=/tmp

Export TMPDIR=$TMP

PATH=$PATH:$HOME/bin

Export PATH=/usr/sbin:$PATH:$ORACLE_HOME/bin:$PATH

Export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib

Export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib

After reading the above, have you mastered how to bind linux udev bare devices? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Tags: Equipment content methods more problems helpless for this reason skills articles experience industry information information channels channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Redmi Shulou Information Shulou Technology Xiaomi