Operating System - HP-UX
1844225 Members
2740 Online
110230 Solutions
New Discussion

Error: Device mounted or otherwise busy.

 
tom quach_1
Super Advisor

Error: Device mounted or otherwise busy.

Dear all,

i am using EVA3000 with oracle database ASM (raw devices)
i drop a disk from oracle database and the drop complete sucessfully; unpresent the LUN from EVA3000 and use this command to delete the LUN from securepath, but always receive this error.
this device was not part of any volume group,

hpux10g2:[root]:/
#spmgr delete c8t0d2
Error: Device mounted or otherwise busy.

Please advice how can i see what was keeping this device busy.
i wonder if Oracle is the one that causes this trouble even the drop was successful.
just to mention, i receive this error from both production and test environment.

Thanks in advance.
Regards,
Tom



3 REPLIES 3
sreekanthtm
Trusted Contributor

Re: Error: Device mounted or otherwise busy.

It is mentioned that you unpreset the LUN, then the host cannot communicate with the lun, and deletion is not posiible.
See the "ioscan -fnC disk" output, it will be "NO H/W" status.

Sreekanth
tom quach_1
Super Advisor

Re: Error: Device mounted or otherwise busy.

Thanks Sreekanth,

you were right it would have a NO_HW when run ioscan.

but this command from securepath will clean it out.
#spmgr delete c8t0d2

regarding my Oracle and ASM raw devices. even dropping the disk from oracle, but oracle processes still point to it. So restart ASM instance then the delete went thru fine.

Thanks for your help!
Regards,
Tom




tom quach_1
Super Advisor

Re: Error: Device mounted or otherwise busy.

After drop ASM disk, you would need to restart the ASM instance in order to delete the disk from the OS.

Thanks,
Tom