Home > Uncategorized > Dynamic reconfiguration of the virtual device on domain failed with error code (-122).

Dynamic reconfiguration of the virtual device on domain failed with error code (-122).

November 20, 2014 Leave a comment Go to comments

Problem Symptons

root@control:~# ldm remove-vdisk guestdk guest
Dynamic reconfiguration of the virtual device on domain guest
failed with error code (-122).
The OS on domain guest did not report a reason for the failure.
Check the logs on that OS instance for any further information.
Failed to remove vdisk instance

root@control:~# ldm remove-vdisk -f guestdk guest
Dynamic reconfiguration of the virtual device on domain guest
failed with error code (-122).
The OS on domain guest did not report a reason for the failure.
Check the logs on that OS instance for any further information.
Failed to remove vdisk instance
The -f option has no effect because the device cannot be removed safely

Cause: The disk is still in use in domain even though the ZFS filesystem is unmounted.

Fixed: Have to export the zpool of the ZFS filesystem in the guest domain

Procedures:
Login Guest:
root@guest:~# zfs unmount /data
root@guest:~# zpool export data
Login Control Domain
root@control:~#  ldm remove-vdisk -f guestdk guest

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: