We have a problem during SMO 3.1P1 backup of 11.2 database using ASM on AIX 6.1.
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.
But after that, there is a problem when smo runs "snapdrive disconnect " command. It fails with this error:
0514-062 Cannot perform the requested function because the specified device is busy.
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?
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.
Disk file descriptors may be held open by some processes for a while after an ASM diskgroup has been dismounted. Rediscovery Notes: Disk descriptors still open after dismount. asmcmd lsod (or lsof) shows open descriptors after dismount. Workaround: None
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.