Re: ASM bug?
From: Maureen English <maureen.english_at_alaska.edu>
Date: Fri, 03 Oct 2014 10:09:35 -0800
Message-ID: <542EE65F.209_at_alaska.edu>
it checked again.
- Maureen
Date: Fri, 03 Oct 2014 10:09:35 -0800
Message-ID: <542EE65F.209_at_alaska.edu>
I'm pretty sure the system administrator did verify everything, but just in case something got missed, I'll ask to have
it checked again.
- Maureen
On 10/2/2014 2:15 PM, Andrew Kerber
wrote:
It's been a while since I did this, but as I recall there is some guidance about the ASM disk string and exclude and include options with multi path. Did you verify all that?
Sent from my iPadStefan, Andew;
Yes, we are using ASMLIB.
- Maureen
On 10/2/2014 7:56 AM, Andrew Kerber wrote:
I am pretty sure the labels she mentions and the disk scanning are the ASMLIB methods
Sent from my iPhoneHi Andrew,for sure - is she using ASMLIB?I may have missed some posting about that, otherwise Maureen may provide this information in addition later on. However the persistent device naming (multipath binding) is also needed / recommended with ASMLIB (scan order). I personally would go for udev anyway :-))Best RegardsStefan KoehlerAndrew Kerber <andrew.kerber_at_gmail.com> hat am 2. Oktober 2014 um 17:06 geschrieben:
Sounds like a bug. If she is using ASMLIB, she does not use Udev. The two are mutually exclusive.
Sent from my iPhoneHi Maureen,that's no bug. You have to use persistent device naming (multipath binding) by multipathd and udev rules to set the correct device permission / owner.However be aware of the suggested multipath settings by every storage vendor (e.g. fail_if_no_path with NetApp) and ASM. In some cases you are not able to flush the device map due to such suggestions after a path failure, even if the disk is not used by ASM anymore.Best RegardsStefan KoehlerOracle p erformance consultant and researcherMaureen English < maureen.english_at_alaska.edu> hat am 2. Oktober 2014 um 02:34 geschrieben:
device-mapper-multipath
On 10/1/2014 4:27 PM, Dimensional DBA wrote:What Multipathing SW are you using? Matthew Parker Chief Technologist 425-891-7934 (cell) Dimensional.dba_at_comcast.net View Matthew Parker's profile on LinkedIn -----Original Message----- From: Dimensional DBA [mailto:dimensional.dba_at_comcast.net] Sent: Wednesday, October 01, 2014 5:23 PM To: 'maureen.english_at_alaska.edu'; 'oracle-l@freelists.org' Subject: RE: ASM bug? Did you put the disk id's in the multipath.conf file which hard sets the mapping? Matthew Parker Chief Technologist 425-891-7934 (cell) Dimensional.dba_at_comcast.net View Matthew Parker's profile on LinkedIn -----Original Message----- From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce@freelists.org] On Behalf Of Maureen English Sent: Wednesday, October 01, 2014 4:44 PM To: oracle-l_at_freelists.org Subject: ASM bug? We're building a new system and the sysadmin and dba working on it discovered a problem. This is RHEL5 and Oracle 11.2.0.4 RAC.At boot, or when instructed to do so, Oracle ASM scans disks and creates an index of which ASM labels are on which disks, however it does not do anything to tell the kernel that it intends to use the disksit has identified. It is not until ASM mounts the disks in a diskgroup that it marks them as "in use".Until a disk is actually in use (opened), the kernel will happily unmap or re-map dm devices that Oracle ASM has already scanned. Oracle ASM will try to modify the wrong disk if the kernel remaps an unused dmdevice to a different disk before ASM mounts it.When multipath is run with the -F option, it will flush all multipath devices that are not in use. When multipath re-maps the devices, it may assign different device numbers to the disks it flushed. There is no way to tell Oracle ASM to forget about a label it has scanned without deleting the ASM labels off the disk or rebooting the system. Itis very important not to flush a disk that ASM has already identified. Do not use multipath -F if there are any unmounted ASM disks presented to the system. Is this a known bug, or are there some rules regarding ASM and multipath that we missed? I'm not actually working on this system, but thought it sounds like something others would have encountered. I'm still searching through Metalink docs.... - Maureen -- http://www.freelists.org/webpage/oracle-l
-- Maureen English Lead Database Administrator University of Alaska Fairbanks, AK (907) 450-8329
-- http://www.freelists.org/webpage/oracle-l-- http://www.freelists.org/webpage/oracle-l
-- Maureen English Lead Database Administrator University of Alaska Fairbanks, AK (907) 450-8329
-- Maureen English Lead Database Administrator University of Alaska Fairbanks, AK (907) 450-8329-- http://www.freelists.org/webpage/oracle-l Received on Fri Oct 03 2014 - 20:09:35 CEST