set udev for setting disk permiss on ASM when using multipath OL 6.x_1521757.1
How to set udev rule for setting the disk permission on ASM disks when using multipath on OL 6.x (文件 ID 1521757.1)
In this Document
Goal |
Solution |
Applies to:
Linux OS - Version Oracle Linux 6.0 with Unbreakable Enterprise Kernel [2.6.32] and later
Information in this document applies to any platform.
review currency on 22th.Sep 2014
Goal
How to set udev rule for setting the disk permission on ASM disks when using multipath on OL 6.x.
Solution
Follow the below steps if you are using multipath and want to set udev rule on multipath device
1) Determine partitioned alias for target device
datap1 (253, 5) ---> you would see something similar to this
2) Edit /etc/udev/rules.d/12-dm-permissions.rules file to set the above device ownership as oracle:oinstall
ENV{DM_NAME}=="datap1", OWNER:="oracle", GROUP:="oinstall", MODE:="660", SYMLINK+="iscsi/oraasm-$env{DM_NAME}"
3) Restart multipathd service.
4) Check if permissions are correct
brw-rw---- 1 root disk 253, 0 Apr 15 19:40 /dev/dm-0
5) Verify if oracle ASM symbolic links exists for multipath devices.
lrwxrwxrwx 1 root root 7 Apr 15 21:47 /dev/iscsi/oraasm-crsp1 -> ../dm-4
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1298964/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Using ASMLIB Management ASM DiskASM
- Can you create a second voting disk in a different ASM diskgroup when using External Redundancy in 1ASM
- Create a Seco VD in a Diffe ASM Disk G When Using Exter Redun in 11.2_950730.1ASM
- How to Set Device Name Using UDEV on Oracle Linux 7.1devOracleLinux
- udev+multipath配合繫結磁碟dev
- drop asm disk、撤銷drop asm diskASM
- Linux的multipath for ASMLinuxASM
- 手工建立ASM Disk Groups、為 ASM Disk Groups 新增 diskASM
- Recreate stdby Control File When dbf Are On ASM And Using OMF-734862.1ASM
- Asm disk managerASM
- wwid、uuid、lun、multipath、hba、udev總結UIdev
- Partitioned Linux Block Devic Using UDEV And Assign Them To ASM_1528148.1LinuxBloCdevASM
- Oracle Linux 7.8 多路徑(Multipath)+Udev繫結磁碟OracleLinuxdev
- RAC11g搭建-centos7+openfiler+multipath+udevCentOSdev
- RAC19c搭建-centos7+openfiler+multipath+udevCentOSdev
- Oracle ASM Disk DirectoryOracleASM
- Oracle ASM Disk PartnerOracleASM
- ASM Disk Group TemplateASM
- ASM Setting Larger AU SizesASM
- Redhat7 Udev繫結(DM multipath)多路徑裝置Redhatdev
- ASM Spfile Is Not Used when ASM Instance StartsASM
- ASM: Device is already labeled for ASM diskASMdev
- Oracle ASM Disk HeaderOracleASMHeader
- Oracle ASM spfile in a disk groupOracleASM
- [MONGODB]: WHEN ARBITER REQUIRED FOR REPLICA SETMongoDBUI
- [Javascript] Perform Set Operations using JavaScript Set MethodsJavaScriptORM
- Oracle ASM Disk Used Space DirectoryOracleASM
- Oracle ASM ACFS disk group rebalanceOracleASM
- Oracle ASM Disk Group AttributesOracleASM
- ASM DISK HEADER CORRUPTION & REPAIRASMHeaderAI
- ASM Normal需要3個disk ?ASMORM
- asm disk 的結構(1)ASM
- oracleasm createdisk ASM: Device is already labeled for ASM diskOracleASMdev
- 使用udev擴充套件ASM磁碟組dev套件ASM
- rhel 5.5UDEV繫結asm磁碟devASM
- UDEV方式配置Oracle RAC ASM共享磁碟devOracleASM
- ASM 翻譯系列第十彈:ASM Internal ASM DISK headerASMHeader
- 11g rac multipath asmlib ASM asm_open error Operation not permittedASMErrorMIT