Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the method of mounting Oracle shared storage?

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains the "Oracle shared storage mount method is what", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Oracle shared storage mount method is what" it!

1. Generate a rule file

Touch / etc/udev/rules.d/99-oracle-asmdevices.rulestouch / usr/lib/udev/rules.d/99-oracle-asmdevices.rules2. Generate rule for i in b Echo "KERNEL==\" sd*\ ", SUBSYSTEM==\" block\ ", PROGRAM==\" / usr/lib/udev/scsi_id-- whitelisted-- replace-whitespace-- device=/dev/\ $name\ ", RESULT==\" `/ usr/lib/udev/scsi_id-- whitelisted-- replace-whitespace-- device=/dev/sd$ i` ", SYMLINK+=\" asm-disk$i\ ", OWNER=\" grid\ ", GROUP=\" asmadmin\ ", MODE=\" 0660\ "for i in b1 b2echo" KERNEL==\ "sd$i\", SUBSYSTEM==\ "block\" PROGRAM==\ "/ usr/lib/udev/scsi_id-- whitelisted-- replace-whitespace-- device=/dev/\ $parent\", RESULT==\ "`/ usr/lib/udev/scsi_id-- whitelisted-- replace-whitespace-- device=/dev/sd$ {iVOV1}`\", SYMLINK+=\ "asm-disk$i\", OWNER=\ "grid\", GROUP=\ "asmadmin\", MODE=\ "0660\"3. Copy the result to 99-oracle-asmdevices.rules and paste the output of step 2 into the 99-oracle-asmdevices.rules file KERNEL== "sd*", SUBSYSTEM== "block", PROGRAM== "/ usr/lib/udev/scsi_id-- whitelisted-- replace-whitespace-- device=/dev/$name", RESULT== "36000c2948ef9d9e4a7937bfc65888bc8", NAME= "asm-diskb", OWNER= "grid", GROUP= "asmadmin", MODE= "0660" # / sbin/partprobe / dev/sdb Note: under Linux 7 You can use the following command: # / sbin/scsi_id-g-u / dev/sdb under Linux 5, you can use the following command: 4. For testing with udevadm, note that the udevadm command does not accept mount device names such as / dev/sdc, but must use raw device names such as / sys/block/sdb. Udevadm test / sys/block/sdbudevadm info-query=all-name=asm-diskb/usr/sbin/udevadm control-reload-rulessystemctl enable systemd-udevd.service6. Check that the device is properly bound # ls-l / dev/asm* / dev/sdbbrw-rw---- 1 grid asmadmin 8, 16 Nov 29 18:17 / dev/sdb

Thank you for reading, the above is the content of "what is the method of mounting Oracle shared storage?" after the study of this article, I believe you have a deeper understanding of what the method of mounting Oracle shared storage is, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report