<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SMO backup fails - snapdrive cannot disconnect device in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/SMO-backup-fails-snapdrive-cannot-disconnect-device/m-p/11016#M8323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, it looks like Oracle bug 11666137 "ASM dismounted disks are still held by background processes for long time" on metalink, go figure. To be fixed in Oracle 12.1. LOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;Disk file descriptors may&amp;nbsp; be held open by some processes for a while after an ASM diskgroup has been dismounted.&lt;BR /&gt;Rediscovery Notes:&amp;nbsp; Disk descriptors still open after dismount.&amp;nbsp; asmcmd lsod (or lsof) shows open descriptors after dismount.&lt;BR /&gt;Workaround:&amp;nbsp; None&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to reproduce it by using SQLPlus/srvctl only. Measure the approximate time it takes to perform the shutdown procedure (end-to-end), and add 20%-30% more time and insert it as new value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jakub.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 May 2011 08:51:19 GMT</pubDate>
    <dc:creator>jakub_wartak</dc:creator>
    <dc:date>2011-05-18T08:51:19Z</dc:date>
    <item>
      <title>SMO backup fails - snapdrive cannot disconnect device</title>
      <link>https://community.netapp.com/t5/Data-Protection/SMO-backup-fails-snapdrive-cannot-disconnect-device/m-p/10998#M8319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a problem during SMO 3.1P1 backup of 11.2 database using ASM on AIX 6.1.&lt;/P&gt;&lt;P&gt;As i can see in logfile, snapshot is taken without problems. Then it is mounted, registered in ASM and RMAN and that also works fine.&lt;/P&gt;&lt;P&gt;But after that, there is a problem when smo runs "snapdrive disconnect " command. It fails with this error:&lt;/P&gt;&lt;DIV id="_mcePaste"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0514-062 Cannot perform the requested function because the specified device is busy.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a interesting part of the log where you can see that there are processes holding hdisk11 (one of 2 hdisks snapshoted). As you can see smo waits 22 secs for ASM to close everything. But i guess it does not do that in time. Is there a way to increase this timeout? Or to do something else to force ASM close descriptors?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier; "&gt;2011-05-16 14:17:24,566 [Execution Monitor Thread [fuser /dev/rhdisk10 /dev/rhdisk11]] [DEBUG]: EXE-00001: Shell result [0:00:00.108] (Exit Value: 0):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier; "&gt;/dev/rhdisk10:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier; "&gt;/dev/rhdisk11:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier; "&gt; 4456656 4849826 6815972 7471358 4456656 6488084 6815972 7471358 7995434&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier; "&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier; "&gt;2011-05-16 14:17:24,571 [...]: CON-10003: Waiting 22.0 seconds for ASM instance to close open file descriptors on ASM Disk files [/dev/rhdisk10, /dev/rhdisk11].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier; "&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier; "&gt;2011-05-16 14:17:46,714 [Execution Monitor Thread [fuser /dev/rhdisk10 /dev/rhdisk11]] [DEBUG]: EXE-00001: Shell result [0:00:00.108] (Exit Value: 0):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier; "&gt;/dev/rhdisk10:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier; "&gt;/dev/rhdisk11:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier; "&gt; 4456656 4849826 6815972 7471358 4456656 6488084 6815972 7471358 7995434&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:54:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SMO-backup-fails-snapdrive-cannot-disconnect-device/m-p/10998#M8319</guid>
      <dc:creator>dsmoljanovic</dc:creator>
      <dc:date>2025-06-05T06:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: SMO backup fails - snapdrive cannot disconnect device</title>
      <link>https://community.netapp.com/t5/Data-Protection/SMO-backup-fails-snapdrive-cannot-disconnect-device/m-p/11002#M8320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the complete version of Oracle database and ASM that you are using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the timeout that SMO uses is a configurable one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add the below config parameter in smo.config file and restart SMO server.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;asm.dismountWaitTime=&lt;SPAN style="font-size: 10pt;"&gt;22000 &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default is 22 seconds (value is in milli-seconds) and ASM must close all the descriptors within this specified time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know the Oracle database and ASM versions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;- &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Kanthan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 14:53:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SMO-backup-fails-snapdrive-cannot-disconnect-device/m-p/11002#M8320</guid>
      <dc:creator>kanthan</dc:creator>
      <dc:date>2011-05-16T14:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: SMO backup fails - snapdrive cannot disconnect device</title>
      <link>https://community.netapp.com/t5/Data-Protection/SMO-backup-fails-snapdrive-cannot-disconnect-device/m-p/11007#M8321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the answer kanthan. I will try with increased timeout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our versions are 11.2.0.2 for both (ASM and DB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if this could be the Oracle ASM bug (when asm doesn't close file descriptors after "drop diskgroup".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 08:28:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SMO-backup-fails-snapdrive-cannot-disconnect-device/m-p/11007#M8321</guid>
      <dc:creator>dsmoljanovic</dc:creator>
      <dc:date>2011-05-17T08:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: SMO backup fails - snapdrive cannot disconnect device</title>
      <link>https://community.netapp.com/t5/Data-Protection/SMO-backup-fails-snapdrive-cannot-disconnect-device/m-p/11012#M8322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I increased the parameter to 2 minutes and it still didn't work. ASM keeps locks on the hidsks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 12:23:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SMO-backup-fails-snapdrive-cannot-disconnect-device/m-p/11012#M8322</guid>
      <dc:creator>dsmoljanovic</dc:creator>
      <dc:date>2011-05-17T12:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: SMO backup fails - snapdrive cannot disconnect device</title>
      <link>https://community.netapp.com/t5/Data-Protection/SMO-backup-fails-snapdrive-cannot-disconnect-device/m-p/11016#M8323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, it looks like Oracle bug 11666137 "ASM dismounted disks are still held by background processes for long time" on metalink, go figure. To be fixed in Oracle 12.1. LOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;Disk file descriptors may&amp;nbsp; be held open by some processes for a while after an ASM diskgroup has been dismounted.&lt;BR /&gt;Rediscovery Notes:&amp;nbsp; Disk descriptors still open after dismount.&amp;nbsp; asmcmd lsod (or lsof) shows open descriptors after dismount.&lt;BR /&gt;Workaround:&amp;nbsp; None&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to reproduce it by using SQLPlus/srvctl only. Measure the approximate time it takes to perform the shutdown procedure (end-to-end), and add 20%-30% more time and insert it as new value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jakub.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 08:51:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SMO-backup-fails-snapdrive-cannot-disconnect-device/m-p/11016#M8323</guid>
      <dc:creator>jakub_wartak</dc:creator>
      <dc:date>2011-05-18T08:51:19Z</dc:date>
    </item>
  </channel>
</rss>

