In the RHEL6 system, some operations will cause the asm disk name to change. In this case, the asm disk name needs to be modified, and there are many ways to change the asm disk name. Today Xiaobian wants to introduce to you is the way RHEL6 uses udev to modify the name of the asm disk.
In order to regulate the use asm disk, fixed disk requires the use of udev name. The specific steps are as follows: rac can be modified by one node and one node.
1. Close the Oracle database.
2. Modify the asm_diskstring under ASM. The original parameter is set to /dev/emcpower*. 1
alter system set asm_diskstring=‘/dev/asmdisks/asm*’ scope=spfile sid=‘*’;
3, modify the udev mapping file, there are several The disk needs to add a few lines of similar files
KERNEL==“emcpower*1”, SUBSYSTEM==“block”, PROGRAM==“/sbin/scsi_id --whitelisted --replace-whitespace - -device=/dev/$name”, RESULT==“360000970000295900314533030344131”, NAME+=“asmdisks/asmarch0000”, ACTION==“add|
Change”, OWNER=“grid”, GROUP=“asmadmin”, MODE=“0660”
KERNEL==“emcpower*1”, SUBSYSTEM==“block”, PROGRAM== “/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name”, RESULT==“360000970000295900314533030344130”, NAME+=“asmdisks/asmarch0001”, ACTUIB==“add|
Change”, OWNER=“grid”, GROUP=“asmadmin”, MODE=“0660”
KERNEL==“emcpower*1”, SUBSYSTEM==“block”, PROGRAM== “/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/$name”, RESULT==“360000970000295900314533030343834”, NAME+=“asmdisks/asmdata0000”, ACTUIB==“add|
Change”, OWNER=“grid”, GROUP=“asmadmin”, MODE=“0660”
4, run start_udev to make the disk effective
[oracle@sdcmpdb1 asmdisks]$ ls
asmarch0000 asmdata0002 asmdata0013 asmdata0017 asmredo0002 asmredo0006 asmredo0010 asmredo0014 asmredo0018 asmredo0022 asmtemp0002 asmundo0000
asmarch0001 asmdata0003 asmdata0014 asmdata0018 asmredo0003 asmredo0007 asmredo0011 asmredo0015 asmredo0019 asmredo0023 asmtemp0003 asmundo0001
asmdata0000 asmdata0011 asmdata0015 asmredo0000 asmredo0004 asmredo0008 asmredo0012 asmredo0016 Asmredo0020 asmtemp0000 asmtemp0004 asmundo0002
asmdata0001 asmdata0012 asmdata0016 asmredo0001 asmredo0005 asmredo0009 asmredo0013 asmredo0017 asmredo0021 asmtemp0001 asmtemp0005 asmundo0003
[oracle@sdcmpdb1 asmdisks]$ pwd
/dev/asmdisks
5, restart asm and database can be
above is RHEL6 use udev to modify asm magnetic Method name describes the benefits of using udev is the ability to modify fixed disk asm name will not change because of some operations.
The Linux tail command is mainly used to display the last lines of the archive file
For many beginners, I dont know how to configure Java environment variables, especially in Linux sys
There are a lot of terminal commands under Linux system. In fact, these commands can be regarded as
The operation of the log under the Linux system mainly includes dumping, mailing, a
CentOS python version is too low How to manually upgrade?
Linux is a way to execute programs as other users.
Linux ls command operation example summary
Ubuntu dual system can not enter the Windows disk solution
Notes on using the kill command in Linux
How does the CentOS 6.6 system open the XDMCP service?
How Linux System Supervisor manages processes
Solution for Docker container and host time out of sync
Linux cancels the SSH login password
Linux system prompts mount unknown when mounting U disk
What should I do if Ubuntu fails to adjust and save the screen brightness?
Solve the "Win8 consumer preview version can not access the Internet" advanced version
Windows 7 SP1 can not be installed 100% solution
What should I do if the win7 system explorer.exe is damaged and the boot black screen?
LOL wild patience system full solution LOL wild patience is what
What should I do if the RPC server is unavailable in the Win8 printer?
Clear Taskbar Hidden Icon Record
Custom Win8 System Shutdown Menu Tip
How to modify the Spartan browser default search engine