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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle Linux 7.8 多路徑(Multipath)+Udev繫結磁碟OracleLinuxdev
- RAC19c搭建-centos7+openfiler+multipath+udevCentOSdev
- RAC11g搭建-centos7+openfiler+multipath+udevCentOSdev
- 使用udev擴充套件ASM磁碟組dev套件ASM
- [Javascript] Perform Set Operations using JavaScript Set MethodsJavaScriptORM
- ORA-15055 Unable to Connect to ASM When Starting an InstanceASM
- 在 Microsoft Dynamics NAV 2018 Setting Up and Using a Purchase Approval WorkflowROSAPP
- linux vdo驗證 oracle asm diskgroup sector_size 4096 udev asmlibLinuxOracleASMdev
- ORA-15020:discoverd duplicate ASM disk "XXX_CJCDB_OCR_0002"ASM
- 如何檢視Oracle RAC的asm磁碟的udev對應關係OracleASMdev
- @@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_EXECUTED is empty
- CRS-2101:The OLR was formatted using version 3 ORACLE單機ASM報錯ORMOracleASM
- 使用OpenFiler來模擬儲存配置RAC中ASM共享盤及多路徑(multipath)的測試ASM
- 12C__單機安裝Grid+Oracle的方法,ASM使用UDEV進行磁碟繫結OracleASMdev
- ERROR 1840 (HY000) at line 24: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAError
- udev如何除錯,如何看udev的輸出日誌?udev除錯的坑?dev除錯
- 【ol】事件型別事件型別
- setting.xmlXML
- 阿里雲setting阿里
- Linux上建立udevLinuxdev
- rhel7 udevdev
- multipath配置詳細參考
- Dynamics 365 Web API Set Values of all Data Types using Web API in Dynamics CRM Through C#WebAPIC#
- HTML <ol> 有序列表HTML
- move linux os from disk A to disk B with 0 lossLinux
- NTFS Disk by Omi NTFS Mac;NTFS Disk by Omi NTFSMac
- Maven setting.xmlMavenXML
- 尋找《學雷鋒OL》
- vue2 setting配置Vue
- Requested setting INSTALLED_APPSAPP
- MySQL 索引優化 Using where, Using filesortMySql索引優化
- case when 語句
- openlayers6 使用ol.map>ol.view center屬性無效及解決方案View
- 【Basis】HANA Database SR Basis SettingDatabase
- “setting.xml” has syntax errorsXMLError
- PostgreSQL DBA(156) - pgAdmin(Rollback setting)SQL
- django setting 配置資料庫Django資料庫
- raspberry pi bookworm setting static ipWorm
- UDEV掛載EMC多路徑盤dev