Login  Register

Oracle Virtual machine add disk error

Posted by Roshan on Nov 26, 2022; 3:01am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/Oracle-Virtual-machine-add-disk-error-tp11269.html

Hello Erman,

I am trying to map a disk to a |VM. I set it to shareable. I am getting error below when mapping the disk to the VM


OVMAPI_4010E Attempt to send command: configure_vm to server: x8o**** failed. OVMAPI_4004E Sync command failed on server: <IP>. Command: configure_vm, Server error: org.apache.xmlrpc.XmlRpcException: <type 'exceptions.RuntimeError'>:disk:setup_error:Command: ['xm', 'block-attach', '0004fb000006000047382300f4f86f3a', 'phy:/dev/mapper/36c8b6d3100a0f2f403c5782700000143', 'xvdas', 'w!'] failed (1): stderr: Error: The file "/dev/mapper/36c8b6d3100a0f2f403c5782700000143" is already used stdout: Usage: xm block-attach <Domain> <BackDev> <FrontDev> <Mode> [BackDomain] Create a new virtual block device. [Fri Nov 25 12:47:55 MUT 2022]

OVMAPI_4010E Attempt to send command: configure_vm to server: x8ora1ppd failed. OVMAPI_4004E Sync command failed on server: <IP>. Command: configure_vm, Server error: org.apache.xmlrpc.XmlRpcException: <type 'exceptions.RuntimeError'>:disk:setup_error:Command: ['xm', 'block-attach', '0004fb000006000047382300f4f86f3a', 'phy:/dev/mapper/36c8b6d3100a0f2f403c5782700000143', 'xvdas', 'w!'] failed (1): stderr: Error: The file "/dev/mapper/36c8b6d3100a0f2f403c5782700000143" is already used stdout: Usage: xm block-attach <Domain> <BackDev> <FrontDev> <Mode> [BackDomain] Create a new virtual block device. [Fri Nov 25 12:47:55 MUT 2022]

Kindly advise.

Regards,

Roshan