INTERNAL_ERROR(xenopsd internal error: Domain.Domain_build_pre_failed("Calling 'shadow_allocation_set 9 MiB' failed: Xenctrl.Error(\"22: Invalid argument\")"))
-
Hi, I don't know if this is correct category, hope it is.
So I have bunch of perfectly running PV machines on XCP-NG 8.2.1 for years.
I wanted to test 8.3 beta2 and migrated, or I should say - created new one on 8.3 from snapshot on 8.2.1 from Xen Orchestra.
Every VM that is created eventually on 8.3 wont starts because of the error:
INTERNAL_ERROR(xenopsd internal error: Domain.Domain_build_pre_failed("Calling 'shadow_allocation_set 9 MiB' failed: Xenctrl.Error("22: Invalid argument")"))
Amount of ahadow_allocation can vary - sometimes is 10MiB.
Migrated VM is small - 1 CPU 1 GB RAM, 10GB HDD.
I tried changing RAM and CPU, but that didn't change anything.However detatching disk gives - INTERNAL_ERROR(there is no bootable device), attaching it back and set bootflag to on, gives original error again.
Below is log from SMlog when trying to start this machine, but I can't see any problem there:
Jun 11 10:19:51 b-dom-xen02 SM: [1359808] lock: opening lock file /var/lock/sm/257dd818-c97d-b751-4ca9-c77f22538704/sr Jun 11 10:19:51 b-dom-xen02 SM: [1359808] LVMCache created for VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704 Jun 11 10:19:51 b-dom-xen02 SM: [1359808] lock: opening lock file /var/lock/sm/.nil/lvm Jun 11 10:19:51 b-dom-xen02 SM: [1359808] ['/sbin/vgs', '--readonly', 'VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704'] Jun 11 10:19:51 b-dom-xen02 SM: [1359808] pread SUCCESS Jun 11 10:19:51 b-dom-xen02 SM: [1359808] Entering _checkMetadataVolume Jun 11 10:19:51 b-dom-xen02 SM: [1359808] LVMCache: will initialize now Jun 11 10:19:51 b-dom-xen02 SM: [1359808] LVMCache: refreshing Jun 11 10:19:51 b-dom-xen02 SM: [1359808] lock: acquired /var/lock/sm/.nil/lvm Jun 11 10:19:51 b-dom-xen02 SM: [1359808] ['/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704'] Jun 11 10:19:51 b-dom-xen02 SM: [1359808] pread SUCCESS Jun 11 10:19:51 b-dom-xen02 SM: [1359808] lock: released /var/lock/sm/.nil/lvm Jun 11 10:19:51 b-dom-xen02 SM: [1359808] vdi_attach {'host_ref': 'OpaqueRef:27ea075e-d2d9-4483-96fc-df7b6c051726', 'command': 'vdi_attach', 'args': ['false'], 'device_config': {'SRmaster': 'true', 'device': '/dev/disk/by-id/nvme-KXG50ZNV512G_TOSHIBA_19GA23CSK79N-part3'}, 'session_ref': 'OpaqueRef:3b5d555c-a96d-d9a4-8e8f-8ba9b49656ee', 'sr_ref': 'OpaqueRef:de3ece76-15c0-4be1-bdfd-55f26f425159', 'sr_uuid': '257dd818-c97d-b751-4ca9-c77f22538704', 'vdi_ref': 'OpaqueRef:1f3529cd-b29b-d1d9-3dc8-b72f7495791d', 'vdi_location': '8c88f7d6-598f-4abf-b728-42da4b50565d', 'vdi_uuid': '8c88f7d6-598f-4abf-b728-42da4b50565d', 'subtask_of': 'DummyRef:|45b98b0b-a820-be63-6bf7-d4ab70447afe|VDI.attach2', 'vdi_on_boot': 'persist', 'vdi_allow_caching': 'false'} Jun 11 10:19:51 b-dom-xen02 SM: [1359808] lock: opening lock file /var/lock/sm/8c88f7d6-598f-4abf-b728-42da4b50565d/vdi Jun 11 10:19:51 b-dom-xen02 SM: [1359808] result: {'params': '/dev/sm/backend/257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d', 'params_nbd': 'nbd:unix:/run/blktap-control/nbd/257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d:exportname=8c88f7d6-598f-4abf-b728-42da4b50565d', 'o_direct': True, 'o_direct_reason': 'SR_NOT_SUPPORTED', 'xenstore_data': {'vdi-uuid': '8c88f7d6-598f-4abf-b728-42da4b50565d', 'scsi/0x12/0x80': 'AMKAABI4Yzg4ZjdkNi01OThmLTRhICA=', 'scsi/0x12/0x83': 'AMKDADECAQAtWEVOU1JDICA4Yzg4ZjdkNi01OThmLTRhYmYtYjcyOC00MmRhNGI1MDU2NWQg', 'mem-pool': '257dd818-c97d-b751-4ca9-c77f22538704'}} Jun 11 10:19:51 b-dom-xen02 SM: [1359808] lock: closed /var/lock/sm/.nil/lvm Jun 11 10:19:51 b-dom-xen02 SM: [1359808] lock: closed /var/lock/sm/257dd818-c97d-b751-4ca9-c77f22538704/sr Jun 11 10:19:51 b-dom-xen02 SM: [1359808] lock: closed /var/lock/sm/8c88f7d6-598f-4abf-b728-42da4b50565d/vdi Jun 11 10:19:51 b-dom-xen02 SM: [1359824] lock: opening lock file /var/lock/sm/257dd818-c97d-b751-4ca9-c77f22538704/sr Jun 11 10:19:51 b-dom-xen02 SM: [1359824] LVMCache created for VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704 Jun 11 10:19:51 b-dom-xen02 SM: [1359824] lock: opening lock file /var/lock/sm/.nil/lvm Jun 11 10:19:51 b-dom-xen02 SM: [1359824] ['/sbin/vgs', '--readonly', 'VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704'] Jun 11 10:19:51 b-dom-xen02 SM: [1359824] pread SUCCESS Jun 11 10:19:51 b-dom-xen02 SM: [1359824] Entering _checkMetadataVolume Jun 11 10:19:51 b-dom-xen02 SM: [1359824] LVMCache: will initialize now Jun 11 10:19:51 b-dom-xen02 SM: [1359824] LVMCache: refreshing Jun 11 10:19:51 b-dom-xen02 SM: [1359824] lock: acquired /var/lock/sm/.nil/lvm Jun 11 10:19:51 b-dom-xen02 SM: [1359824] ['/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704'] Jun 11 10:19:51 b-dom-xen02 SM: [1359824] pread SUCCESS Jun 11 10:19:51 b-dom-xen02 SM: [1359824] lock: released /var/lock/sm/.nil/lvm Jun 11 10:19:51 b-dom-xen02 SM: [1359824] vdi_activate {'host_ref': 'OpaqueRef:27ea075e-d2d9-4483-96fc-df7b6c051726', 'command': 'vdi_activate', 'args': ['false'], 'device_config': {'SRmaster': 'true', 'device': '/dev/disk/by-id/nvme-KXG50ZNV512G_TOSHIBA_19GA23CSK79N-part3'}, 'session_ref': 'OpaqueRef:b2b8653f-0a45-b031-dd18-064e43bf087b', 'sr_ref': 'OpaqueRef:de3ece76-15c0-4be1-bdfd-55f26f425159', 'sr_uuid': '257dd818-c97d-b751-4ca9-c77f22538704', 'vdi_ref': 'OpaqueRef:1f3529cd-b29b-d1d9-3dc8-b72f7495791d', 'vdi_location': '8c88f7d6-598f-4abf-b728-42da4b50565d', 'vdi_uuid': '8c88f7d6-598f-4abf-b728-42da4b50565d', 'subtask_of': 'DummyRef:|0c1ef32a-5f6d-ee1c-47a4-b55fd69b8485|VDI.activate', 'vdi_on_boot': 'persist', 'vdi_allow_caching': 'false'} Jun 11 10:19:51 b-dom-xen02 SM: [1359824] lock: opening lock file /var/lock/sm/8c88f7d6-598f-4abf-b728-42da4b50565d/vdi Jun 11 10:19:51 b-dom-xen02 SM: [1359824] blktap2.activate Jun 11 10:19:51 b-dom-xen02 SM: [1359824] lock: acquired /var/lock/sm/8c88f7d6-598f-4abf-b728-42da4b50565d/vdi Jun 11 10:19:51 b-dom-xen02 SM: [1359824] Adding tag to: 8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:51 b-dom-xen02 SM: [1359824] Activate lock succeeded Jun 11 10:19:51 b-dom-xen02 SM: [1359824] LVMCache created for VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704 Jun 11 10:19:51 b-dom-xen02 SM: [1359824] ['/sbin/vgs', '--readonly', 'VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704'] Jun 11 10:19:51 b-dom-xen02 SM: [1359824] pread SUCCESS Jun 11 10:19:51 b-dom-xen02 SM: [1359824] Entering _checkMetadataVolume Jun 11 10:19:51 b-dom-xen02 SM: [1359824] LVMCache: will initialize now Jun 11 10:19:51 b-dom-xen02 SM: [1359824] LVMCache: refreshing Jun 11 10:19:51 b-dom-xen02 SM: [1359824] lock: acquired /var/lock/sm/.nil/lvm Jun 11 10:19:51 b-dom-xen02 SM: [1359824] ['/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704'] Jun 11 10:19:51 b-dom-xen02 SM: [1359824] pread SUCCESS Jun 11 10:19:51 b-dom-xen02 SM: [1359824] lock: released /var/lock/sm/.nil/lvm Jun 11 10:19:51 b-dom-xen02 SM: [1359824] LVHDVDI.attach for 8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:51 b-dom-xen02 SM: [1359824] lock: opening lock file /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:51 b-dom-xen02 SM: [1359824] lock: acquired /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:51 b-dom-xen02 SM: [1359824] lock: released /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:51 b-dom-xen02 SM: [1359824] ['/usr/bin/vhd-util', 'scan', '-f', '-m', 'VHD-8c88f7d6-598f-4abf-b728-42da4b50565d', '-l', 'VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704', '-a'] Jun 11 10:19:52 b-dom-xen02 SM: [1359824] pread SUCCESS Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: acquired /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:52 b-dom-xen02 SM: [1359824] Refcount for lvm-257dd818-c97d-b751-4ca9-c77f22538704:8c88f7d6-598f-4abf-b728-42da4b50565d (0, 0) + (0, 1) => (0, 1) Jun 11 10:19:52 b-dom-xen02 SM: [1359824] Refcount for lvm-257dd818-c97d-b751-4ca9-c77f22538704:8c88f7d6-598f-4abf-b728-42da4b50565d set => (0, 1b) Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: acquired /var/lock/sm/.nil/lvm Jun 11 10:19:52 b-dom-xen02 SM: [1359824] ['/sbin/lvchange', '-ay', '/dev/VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704/VHD-8c88f7d6-598f-4abf-b728-42da4b50565d'] Jun 11 10:19:52 b-dom-xen02 SM: [1359824] pread SUCCESS Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: released /var/lock/sm/.nil/lvm Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: released /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:52 b-dom-xen02 SM: [1359824] PhyLink(/dev/sm/phy/257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d) -> /dev/VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704/VHD-8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: opening lock file /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/lvchange-p Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: acquired /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/lvchange-p Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: acquired /var/lock/sm/.nil/lvm Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: released /var/lock/sm/.nil/lvm Jun 11 10:19:52 b-dom-xen02 SM: [1359824] ['/usr/sbin/tap-ctl', 'allocate'] Jun 11 10:19:52 b-dom-xen02 SM: [1359824] = 0 Jun 11 10:19:52 b-dom-xen02 SM: [1359824] ['/usr/sbin/tap-ctl', 'spawn'] Jun 11 10:19:52 b-dom-xen02 SM: [1359824] = 0 Jun 11 10:19:52 b-dom-xen02 SM: [1359824] ['cgclassify', '1359911'] Jun 11 10:19:52 b-dom-xen02 SM: [1359824] pread SUCCESS Jun 11 10:19:52 b-dom-xen02 SM: [1359824] ['/usr/sbin/tap-ctl', 'attach', '-p', '1359911', '-m', '3'] Jun 11 10:19:52 b-dom-xen02 SM: [1359824] = 0 Jun 11 10:19:52 b-dom-xen02 SM: [1359824] ['/usr/sbin/tap-ctl', 'open', '-p', '1359911', '-m', '3', '-a', 'vhd:/dev/VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704/VHD-8c88f7d6-598f-4abf-b728-42da4b50565d', '-R', '-t', '50'] Jun 11 10:19:52 b-dom-xen02 SM: [1359824] = 0 Jun 11 10:19:52 b-dom-xen02 SM: [1359824] ['/usr/sbin/tap-ctl', 'open', '-p', '1359911', '-m', '3', '-a', 'vhd:/dev/VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704/VHD-8c88f7d6-598f-4abf-b728-42da4b50565d', '-R', '-t', '50'] Jun 11 10:19:52 b-dom-xen02 SM: [1359824] = 114 Jun 11 10:19:52 b-dom-xen02 SM: [1359824] Set scheduler to [noop] on [/sys/dev/block/254:3] Jun 11 10:19:52 b-dom-xen02 SM: [1359824] tap.activate: Launched Tapdisk(vhd:/dev/VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704/VHD-8c88f7d6-598f-4abf-b728-42da4b50565d, pid=1359911, minor=3, state=R) Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: released /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/lvchange-p Jun 11 10:19:52 b-dom-xen02 SM: [1359824] Removed activating flag from 8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:52 b-dom-xen02 SM: [1359824] DeviceNode(/dev/sm/backend/257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d) -> /dev/xen/blktap-2/tapdev3 Jun 11 10:19:52 b-dom-xen02 SM: [1359824] NBDLink(/run/blktap-control/nbd/257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d) -> /run/blktap-control/nbd1359911.3 Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: released /var/lock/sm/8c88f7d6-598f-4abf-b728-42da4b50565d/vdi Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: closed /var/lock/sm/.nil/lvm Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: closed /var/lock/sm/257dd818-c97d-b751-4ca9-c77f22538704/sr Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: closed /var/lock/sm/8c88f7d6-598f-4abf-b728-42da4b50565d/vdi Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: closed /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:52 b-dom-xen02 SM: [1359824] lock: closed /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/lvchange-p Jun 11 10:19:52 b-dom-xen02 SM: [1359939] lock: opening lock file /var/lock/sm/257dd818-c97d-b751-4ca9-c77f22538704/sr Jun 11 10:19:52 b-dom-xen02 SM: [1359939] LVMCache created for VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704 Jun 11 10:19:52 b-dom-xen02 SM: [1359939] lock: opening lock file /var/lock/sm/.nil/lvm Jun 11 10:19:52 b-dom-xen02 SM: [1359939] ['/sbin/vgs', '--readonly', 'VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704'] Jun 11 10:19:53 b-dom-xen02 SM: [1359939] pread SUCCESS Jun 11 10:19:53 b-dom-xen02 SM: [1359939] Entering _checkMetadataVolume Jun 11 10:19:53 b-dom-xen02 SM: [1359939] LVMCache: will initialize now Jun 11 10:19:53 b-dom-xen02 SM: [1359939] LVMCache: refreshing Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: acquired /var/lock/sm/.nil/lvm Jun 11 10:19:53 b-dom-xen02 SM: [1359939] ['/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704'] Jun 11 10:19:53 b-dom-xen02 SM: [1359939] pread SUCCESS Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: released /var/lock/sm/.nil/lvm Jun 11 10:19:53 b-dom-xen02 SM: [1359939] vdi_deactivate {'host_ref': 'OpaqueRef:27ea075e-d2d9-4483-96fc-df7b6c051726', 'command': 'vdi_deactivate', 'args': [], 'device_config': {'SRmaster': 'true', 'device': '/dev/disk/by-id/nvme-KXG50ZNV512G_TOSHIBA_19GA23CSK79N-part3'}, 'session_ref': 'OpaqueRef:bef6394d-2407-da04-9661-749686e4f36a', 'sr_ref': 'OpaqueRef:de3ece76-15c0-4be1-bdfd-55f26f425159', 'sr_uuid': '257dd818-c97d-b751-4ca9-c77f22538704', 'vdi_ref': 'OpaqueRef:1f3529cd-b29b-d1d9-3dc8-b72f7495791d', 'vdi_location': '8c88f7d6-598f-4abf-b728-42da4b50565d', 'vdi_uuid': '8c88f7d6-598f-4abf-b728-42da4b50565d', 'subtask_of': 'DummyRef:|d3103419-73a7-b3cc-b551-a7b62ef25db2|VDI.deactivate', 'vdi_on_boot': 'persist', 'vdi_allow_caching': 'false'} Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: opening lock file /var/lock/sm/8c88f7d6-598f-4abf-b728-42da4b50565d/vdi Jun 11 10:19:53 b-dom-xen02 SM: [1359939] blktap2.deactivate Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: acquired /var/lock/sm/8c88f7d6-598f-4abf-b728-42da4b50565d/vdi Jun 11 10:19:53 b-dom-xen02 SM: [1359939] ['/usr/sbin/tap-ctl', 'close', '-p', '1359911', '-m', '3', '-t', '120'] Jun 11 10:19:53 b-dom-xen02 SM: [1359939] = 0 Jun 11 10:19:53 b-dom-xen02 SM: [1359939] ['/usr/sbin/tap-ctl', 'detach', '-p', '1359911', '-m', '3'] Jun 11 10:19:53 b-dom-xen02 SM: [1359939] = 0 Jun 11 10:19:53 b-dom-xen02 SM: [1359939] ['/usr/sbin/tap-ctl', 'free', '-m', '3'] Jun 11 10:19:53 b-dom-xen02 SM: [1359939] = 0 Jun 11 10:19:53 b-dom-xen02 SM: [1359939] tap.deactivate: Shut down Tapdisk(vhd:/dev/VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704/VHD-8c88f7d6-598f-4abf-b728-42da4b50565d, pid=1359911, minor=3, state=R) Jun 11 10:19:53 b-dom-xen02 SM: [1359939] LVMCache created for VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704 Jun 11 10:19:53 b-dom-xen02 SM: [1359939] ['/sbin/vgs', '--readonly', 'VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704'] Jun 11 10:19:53 b-dom-xen02 SM: [1359939] pread SUCCESS Jun 11 10:19:53 b-dom-xen02 SM: [1359939] Entering _checkMetadataVolume Jun 11 10:19:53 b-dom-xen02 SM: [1359939] LVMCache: will initialize now Jun 11 10:19:53 b-dom-xen02 SM: [1359939] LVMCache: refreshing Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: acquired /var/lock/sm/.nil/lvm Jun 11 10:19:53 b-dom-xen02 SM: [1359939] ['/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704'] Jun 11 10:19:53 b-dom-xen02 SM: [1359939] pread SUCCESS Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: released /var/lock/sm/.nil/lvm Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: acquired /var/lock/sm/.nil/lvm Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: released /var/lock/sm/.nil/lvm Jun 11 10:19:53 b-dom-xen02 SM: [1359939] LVHDVDI.detach for 8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: opening lock file /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: acquired /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:53 b-dom-xen02 SM: [1359939] Refcount for lvm-257dd818-c97d-b751-4ca9-c77f22538704:8c88f7d6-598f-4abf-b728-42da4b50565d (0, 1) + (1, 0) => (1, 1) Jun 11 10:19:53 b-dom-xen02 SM: [1359939] Refcount for lvm-257dd818-c97d-b751-4ca9-c77f22538704:8c88f7d6-598f-4abf-b728-42da4b50565d set => (1, 1b) Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: released /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:53 b-dom-xen02 SM: [1359939] ['/usr/bin/vhd-util', 'query', '--debug', '-vsaf', '-n', '/dev/VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704/VHD-8c88f7d6-598f-4abf-b728-42da4b50565d'] Jun 11 10:19:53 b-dom-xen02 SM: [1359939] pread SUCCESS Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: acquired /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: released /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:53 b-dom-xen02 SM: [1359939] ['/usr/bin/vhd-util', 'scan', '-f', '-m', 'VHD-8c88f7d6-598f-4abf-b728-42da4b50565d', '-l', 'VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704', '-a'] Jun 11 10:19:53 b-dom-xen02 SM: [1359939] pread SUCCESS Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: acquired /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:53 b-dom-xen02 SM: [1359939] Refcount for lvm-257dd818-c97d-b751-4ca9-c77f22538704:8c88f7d6-598f-4abf-b728-42da4b50565d (1, 1) + (-1, 0) => (0, 1) Jun 11 10:19:53 b-dom-xen02 SM: [1359939] Refcount for lvm-257dd818-c97d-b751-4ca9-c77f22538704:8c88f7d6-598f-4abf-b728-42da4b50565d set => (0, 1b) Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: released /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: acquired /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:53 b-dom-xen02 SM: [1359939] Refcount for lvm-257dd818-c97d-b751-4ca9-c77f22538704:8c88f7d6-598f-4abf-b728-42da4b50565d (0, 1) + (0, -1) => (0, 0) Jun 11 10:19:53 b-dom-xen02 SM: [1359939] Refcount for lvm-257dd818-c97d-b751-4ca9-c77f22538704:8c88f7d6-598f-4abf-b728-42da4b50565d set => (0, 0b) Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: acquired /var/lock/sm/.nil/lvm Jun 11 10:19:53 b-dom-xen02 SM: [1359939] ['/sbin/lvchange', '-an', '/dev/VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704/VHD-8c88f7d6-598f-4abf-b728-42da4b50565d'] Jun 11 10:19:53 b-dom-xen02 SM: [1359939] pread SUCCESS Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: released /var/lock/sm/.nil/lvm Jun 11 10:19:53 b-dom-xen02 SM: [1359939] ['/sbin/dmsetup', 'status', 'VG_XenStorage--257dd818--c97d--b751--4ca9--c77f22538704-VHD--8c88f7d6--598f--4abf--b728--42da4b50565d'] Jun 11 10:19:53 b-dom-xen02 SM: [1359939] pread SUCCESS Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: released /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:53 b-dom-xen02 SM: [1359939] Removed host key host_OpaqueRef:27ea075e-d2d9-4483-96fc-df7b6c051726 for 8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: released /var/lock/sm/8c88f7d6-598f-4abf-b728-42da4b50565d/vdi Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: closed /var/lock/sm/.nil/lvm Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: closed /var/lock/sm/257dd818-c97d-b751-4ca9-c77f22538704/sr Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: closed /var/lock/sm/8c88f7d6-598f-4abf-b728-42da4b50565d/vdi Jun 11 10:19:53 b-dom-xen02 SM: [1359939] lock: closed /var/lock/sm/lvm-257dd818-c97d-b751-4ca9-c77f22538704/8c88f7d6-598f-4abf-b728-42da4b50565d Jun 11 10:19:54 b-dom-xen02 SM: [1360028] lock: opening lock file /var/lock/sm/257dd818-c97d-b751-4ca9-c77f22538704/sr Jun 11 10:19:54 b-dom-xen02 SM: [1360028] LVMCache created for VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704 Jun 11 10:19:54 b-dom-xen02 SM: [1360028] lock: opening lock file /var/lock/sm/.nil/lvm Jun 11 10:19:54 b-dom-xen02 SM: [1360028] ['/sbin/vgs', '--readonly', 'VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704'] Jun 11 10:19:54 b-dom-xen02 SM: [1360028] pread SUCCESS Jun 11 10:19:54 b-dom-xen02 SM: [1360028] Entering _checkMetadataVolume Jun 11 10:19:54 b-dom-xen02 SM: [1360028] LVMCache: will initialize now Jun 11 10:19:54 b-dom-xen02 SM: [1360028] LVMCache: refreshing Jun 11 10:19:54 b-dom-xen02 SM: [1360028] lock: acquired /var/lock/sm/.nil/lvm Jun 11 10:19:54 b-dom-xen02 SM: [1360028] ['/sbin/lvs', '--noheadings', '--units', 'b', '-o', '+lv_tags', '/dev/VG_XenStorage-257dd818-c97d-b751-4ca9-c77f22538704'] Jun 11 10:19:54 b-dom-xen02 SM: [1360028] pread SUCCESS Jun 11 10:19:54 b-dom-xen02 SM: [1360028] lock: released /var/lock/sm/.nil/lvm Jun 11 10:19:54 b-dom-xen02 SM: [1360028] vdi_detach {'host_ref': 'OpaqueRef:27ea075e-d2d9-4483-96fc-df7b6c051726', 'command': 'vdi_detach', 'args': [], 'device_config': {'SRmaster': 'true', 'device': '/dev/disk/by-id/nvme-KXG50ZNV512G_TOSHIBA_19GA23CSK79N-part3'}, 'session_ref': 'OpaqueRef:5bf81c18-78ce-90e3-6b44-ea75949e98f8', 'sr_ref': 'OpaqueRef:de3ece76-15c0-4be1-bdfd-55f26f425159', 'sr_uuid': '257dd818-c97d-b751-4ca9-c77f22538704', 'vdi_ref': 'OpaqueRef:1f3529cd-b29b-d1d9-3dc8-b72f7495791d', 'vdi_location': '8c88f7d6-598f-4abf-b728-42da4b50565d', 'vdi_uuid': '8c88f7d6-598f-4abf-b728-42da4b50565d', 'subtask_of': 'DummyRef:|d89f0221-b5d2-8b9e-bb20-702b4158909c|VDI.detach', 'vdi_on_boot': 'persist', 'vdi_allow_caching': 'false'} Jun 11 10:19:54 b-dom-xen02 SM: [1360028] lock: opening lock file /var/lock/sm/8c88f7d6-598f-4abf-b728-42da4b50565d/vdi Jun 11 10:19:54 b-dom-xen02 SM: [1360028] lock: closed /var/lock/sm/257dd818-c97d-b751-4ca9-c77f22538704/sr Jun 11 10:19:54 b-dom-xen02 SM: [1360028] lock: closed /var/lock/sm/.nil/lvm Jun 11 10:19:54 b-dom-xen02 SM: [1360028] lock: closed /var/lock/sm/8c88f7d6-598f-4abf-b728-42da4b50565d/vdi Jun 11 10:20:12 b-dom-xen02 SM: [1360278] sr_scan {'host_ref': 'OpaqueRef:27ea075e-d2d9-4483-96fc-df7b6c051726', 'command': 'sr_scan', 'args': [], 'device_config': {'SRmaster': 'true', 'legacy_mode': 'true', 'location': '/mnt/iso'}, 'session_ref': 'OpaqueRef:bb68b428-69eb-93d8-a253-9e2af24acdf2', 'sr_ref': 'OpaqueRef:a18364d6-ca39-a505-9819-3513508eb311', 'sr_uuid': 'a0b945a1-983c-4c58-d323-0b8417cd361e', 'subtask_of': 'DummyRef:|0fb0c197-44fe-fd64-27db-ea184a45f961|SR.scan'} Jun 11 10:20:12 b-dom-xen02 SM: [1360294] sr_update {'host_ref': 'OpaqueRef:27ea075e-d2d9-4483-96fc-df7b6c051726', 'command': 'sr_update', 'args': [], 'device_config': {'SRmaster': 'true', 'legacy_mode': 'true', 'location': '/mnt/iso'}, 'session_ref': 'OpaqueRef:8c6105f2-4fbb-83d6-9b85-4b43aec4786f', 'sr_ref': 'OpaqueRef:a18364d6-ca39-a505-9819-3513508eb311', 'sr_uuid': 'a0b945a1-983c-4c58-d323-0b8417cd361e', 'subtask_of': 'DummyRef:|4b1e84ab-93fb-bab7-fd59-1dbd17f75084|SR.stat'}
-
Hi,
PV support is disappearing progressively. You should migrate to HVM as soon as possible.
-
@olivierlambert Ouch, I'm running PV guests everywhere when I use NetBSD which was ideal system both for DOM_0 and DOM_U back in the days. It migarted with no issues to Citrix Xen 6.5 then to 7.0 then to XCP-NG up to 8.2.1. Standards are changing I guess. If its not something that could be fixable now, I will start thinking of migrating to HVM to be ready for 8.3 release. Thanks.
-
PV is old and made sense when no HVM-supported hardware existed. You can also use PV shim. See https://xcp-ng.org/blog/2022/01/17/removing-support-for-32-bit-pv-guests/ for more details.