@Maelstrom96 Not yet, but you could revert https://github.com/xcp-ng/sm/pull/121 while adding the host and then go back to the current version. It's in progress on our side.
Posts
-
RE: XOSTOR hyperconvergence preview
-
RE: XOSTOR hyperconvergence preview
@Maelstrom96 Hello,
There is indeed an identified bug with
addHostthat we are investigating at the moment. -
RE: XCP-ng 8.3 updates announcements and testing
@flakpyro Hello,
It would be preferred to use another method.
You can use theresetvdis.pyscript in the/opt/xensource/sm/to reset values instead,
usingvdi-forgetis unadvised in this case, it can cause issues by losing information that are stored in XAPI about VDIs./opt/xensource/sm/resetvdis.py single <VDI UUID> -
RE: XCP-ng 8.3 β QCOW2 snapshot deletion followed by failed live coalesce and recurring rollback failures on shared iSCSI SR
@racom.jiristerba
Sorry, I missed answering your questions the first timeIs the tapdisk QCOW2 commit failure βThe device is not writable: Permission deniedβ a known issue with these package versions on shared LVM/iSCSI storage?
Yes, it's a known issue, most of them will be fixed with the latest update, you might need to activate the VDI again but a migration during RPU will be enough
Why does rollback attempt to deactivate the active guest LV while tapdisk still holds it open?
It's because in the case of VHD, it's the case but with QCOW2 we don't stop the tapdisk process accessing the VDI, it's a change that was missed
Is the qcow2OLD_<UUID> naming seen in rollback expected, compared with QCOW2-OLD_<UUID> seen during successful cleanup?
It's a pre-existing bug that I already have on my TODO list

Is there a supported update, hotfix, or workaround for this configuration?
Installing the latest release
sm-3.2.12-25.1during updates (and maybe launching axe sr-scan uuid=<SR UUI>after updating it so it auto-resolve the undo) should be enoughWhat additional logs are required to identify the original failure of the second QCOW2 VM?
I don't think we need any more logs since the errors I'm seeing should already be fixed.
If you have any more issues after installing the newest packages, I will take another look
What is the recommended recovery procedure without a guest outage, and how should we validate the disk chains before resuming snapshot backups?
The
sr-scanafter updating should do it automatically, it shouldn't need any manipulation. Looking at the storage logs in/var/log/SMlogfor any irregularities could help to see problems. -
RE: XCP-ng 8.3 β QCOW2 snapshot deletion followed by failed live coalesce and recurring rollback failures on shared iSCSI SR
*** finished leaf-coalesce successfully
This is misleading, this is printed by
_finishInterruptedCoalesceLeafthat is handling cleanup after the leaf coalesce failed.Thank you for the information, we have a fix for the interrupted coalesce leaf in the next release that might help, I'll also try to reproduce to see if it's the same behavior.
-
RE: XCP-ng 8.3 β QCOW2 snapshot deletion followed by failed live coalesce and recurring rollback failures on shared iSCSI SR
@racom.jiristerba Hello, this appear to be bugs we are already fixing in the build currently in the testing repository. Please see this post for instruction to install the updates : https://xcp-ng.org/forum/post/108803
These two bugs are: the chain being RO sometime which the tapdisk process doing the coalesce can't access and a bug with the LV being in use when it's trying to refresh the VDI it was coalescing and it's parent following the cleanup. Both of those are fixed in
sm-3.2.12-25.1.xcpng8.3 -
RE: Large QCOW2 VDI on LVM SR fails to activate with make_chain_rw / Input/output error
@samuelolavo Hello,
Could the fact that this is a local LVM SR on a non-master host be relevant to how make_chain_rw is being handled?
Yes, it's indeed what's happening. The check for the SRMaster (for a shared SR it's the master but for a local it's supposed to be done on the host directly) is failing and always saying False. I'll fix this.
Thank you for the help

-
RE: Large QCOW2 VDI on LVM SR fails to activate with make_chain_rw / Input/output error
@samuelolavo Hello,
It is indeed linked to QCOW2.
Is mixing VHD and QCOW2 VDIs on the same VM and on the same SR fully supported?
Yes, it's supposed to work.
Are there specific minimum versions of xapi, sm, blktap, or other storage components required for large QCOW2 VDIs?
Yes, but we would prefer for people to be uptodate, we have been fixing things.
But I don't think it's a problem for you at the moment.make_chain_rwis necessary for the master to make the QCOW2 LV RW at the VDI activation time. So it's likely linked to this particular QCOW2.make_chain_rwis executed on the master host and is logging in/var/log/SMlog, could you take a look at what it's erroring on? -
RE: `/run/sr-mount` parent directory created 0700 on some hosts, 0755 on others
@Dan Hello,
So our investigation found that this change was introduced with commit https://github.com/xcp-ng/sm/commit/00637dd52e845d6016add9718fc9cc694aec9f0d
It was aimed at EXTSR in particular, it appear that the first SR to be plugged is the one choosing the mode ofsr-mountsinceutil.makedirsalso create the parent directory with the given mode.I have created a card for the issue on our side.
-
RE: `/run/sr-mount` parent directory created 0700 on some hosts, 0755 on others
@Dan Hello,
I can't answer from memory, we'll take a look at this and come back to you

Thanks for the report, I guess it could be considered a bug since even it's one of the other, it's not the expected behaviour to have the mode change between runs.
-
RE: How to reliably determine VDI format (vhd, qcow2, raw) via XAPI across versions
@bvitnik Hello,
sm-config:vdi_typeis the pre-existing one so we are still writing it for compatibility reasons.
But you might notice thatvdi_typeis only written for LVM-based SRs.
Whileimage-formatis always written in XCP-ng with the QCOW2 feature.So it might be safe to just look at
image-formatif it exist and if it's not, it's likely a VHD.
On LVMSR, you can fallback onvdi_type(and it should work for XS too).Indeed, ISO SRs do not advertise a VDI format. Technically, ISOs could be considered to be
raw.It should also be noted that our implementation of QCOW2 is very different from GFS2 QCOW2 of XenServer.
Our implementation uses the existing SR types to allow VHD and QCOW2 to co-exist. -
RE: XCP-ng 8.3 updates announcements and testing
@probain Hello,
It's likely linked to the
List index out of rangebug.
That bug was linked to the SR scan failing to introduceCBT_metatadataVDI in the XAPI database, could you try to launch axe sr-scan uuid=<SR UUID>and try again to disable CBT?
If it does not work, could you share the/var/log/SMlogof around the time you are trying to disable CBT? -
RE: XCP-ng 8.3 updates announcements and testing
@Andrew Hello,
I'm also getting error on some VMs while trying to export a disk and also trying to even start some VMs from NFS (that were fine before).
Is it still a problem? It might have multiple causes. If it's still an issue, could you share the logs:
/var/log/{SMlog,xensource.log,daemon.log}. It contains information that could help us investigate.The VDI not detached cleanly means that the VDI still has a reference to the host it was running on before.
It's might be caused by the xenopsd error earlier or maybe it's the cause.If you are sure no tapdisk are using the VDI, you can look at
tap-ctl listoutput on each host.
You can clean this reference with the script in/opt/xensource/sm/resetvdis.py single <VDI UUID>. -
RE: Attach a Physical HD to a VM?
@nasheayahu Sorry, I made a mistake, it's
device-config:location--'
I'll edit my first post with the correct configuration, you will also likely need to give thehost-uuidof the host the disk is on. -
RE: Attach a Physical HD to a VM?
@nasheayahu Hello,
I do this in my homelab with a disk since I imported it from a physical machine:
mkdir /srv/NAS xe sr-create type=udev device-config:location=/srv/NAS name-label="NAS Disks" host-uuid=<UUID of the host with the disks>Then you make a symlink to the device:
ln -s /dev/sda /srv/NAS/sda #although it might be better to use a stable identifier if you have multiple disks xe sr-scan uuid=<UUID of the udev SR>The disk will appear as a VDI in the SR that you can then plug to a VM.
I also renamed the VDI
[NOSNAP][NOBAK] NAS Drive
[NOSNAP][NOBAK]instruct XO to not snapshot and export the disk in backups (since it can't).It's not passthrough, as in the disk is not directly given to the VM, but tapdisk (the process virtualizing storage) will give access to the whole disk to the guest, so it can mount any FS on it.
The udevSR is usually used for plugging USB from what I could gather from existing code. But users in homelabs have been using it like this for a while.
Though you will likely not have native performance level since it's not exactly passthrough. -
RE: XOSTOR appears to be broken on the new XCP-NG May 2026 update
Hello again,
The updates have been made available and RPU with xostor should be safe to run

https://xcp-ng.org/blog/2026/05/07/may-2026-updates-2-for-xcp-ng-8-3-lts/ -
RE: XOSTOR appears to be broken on the new XCP-NG May 2026 update
@ccooke Hello,
We have a fix, we are aiming to validate it rapidly so it shouldn't happen for others.
Thank you for reporting the issue. I'll update the thread again when the update is available and it should be safe for other people going through here to update using the RPU. -
RE: XOSTOR appears to be broken on the new XCP-NG May 2026 update
@ccooke Hello,
You should be able to make the XOSTOR SR work again if you update
smandsm-fairlockon the other hosts.yum update sm sm-fairlockThen you should be able to re-plug the SR on the master and proceed with the RPU.
-
RE: XCP-ng 8.3 updates announcements and testing
@IgorGlock Hello,
Could you share the exception that should be in
/var/log/SMlog?