Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Error removing physical disk

798463Dec 4 2018 — edited Dec 6 2018

Hello,

I'm on 3.4.4 with a guest that i in Oracle Linux 6.10 and configured as Xen PVM domain type.

In this guest I have an Oracle 11gR2 database and a physical disk connected and used with ASM

I have to migrate to another SAN, so I connected another physical disk and used ASM functionalities to move/drop the disk.

SO I dropped from ASM and also

# oracleasm delete old_disk

The old disk is seen as /dev/xvdc from the OS.

I have tried to remove the physical disk but I receive this error:

OVMAPI_4010E Attempt to send command:

configure_vm to server: shq-hyp-012 failed. OVMAPI_4004E Sync command failed on server: 10.23.10.12.

Command: configure_vm, Server error: org.apache.xmlrpc.XmlRpcException: <type 'exceptions.RuntimeError'>:disk:setup_error:

Command: ['xm', 'block-detach', '0004fb00000600009bec72eba6fb0a6e', '51744'] failed (1): stderr: Error: Device 51744 (vbd) could not be disconnected. Device busy.

stdout: Usage: xm block-detach <Domain> <DevId> [-f|--force] Destroy a domain's virtual block device. [Tue Dec 04 12:44:11 CET 2018]

In /var/log/messages of guest:

Dec  4 12:44:10 guest_hostname kernel: [91801.988019] vbd vbd-51744: 16 Device in use; refusing to close

Do I have to exec any command on guest os before removing disk from VM in Oracle VM manager gui?

The fuser command doesn't show any use of /dev/xvdc and /dev/xvdc1

How to check what is using it?

Is this supported when guest is running in 3.4.4?

Thanks,

Gianluca

Comments

Post Details

Added on Dec 4 2018
5 comments
1,684 views