0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

IBM Cloud: 各OSに含まれているvirt-v2vとnbdkit VDDK pluginの状況について

0
Last updated at Posted at 2025-12-23

はじめに

IBM CloudのVSI for VPCで提供されている最新Linuxにおいて、virt-v2vのバージョンと--block-driverオプションの有無を確認してみた。
RHEL系列は別Buildになるという話だったが、OSの種類によっていろいろ変わってた。調査した結果は以下のとおり。

OS virt-v2v version virt-v2v --block-driver option nbdkit VDDK plugin
Rocky 9 virt-v2v 2.5.6rhel=9,release=8.el9_5 Not Included Included
CentOS 9 virt-v2v 2.7.1rhel=9,release=19.el9 Not Included Included
CentOS 10 virt-v2v 2.9.10rhel=10,release=1.el10 Not Included Included
RHEL 9 virt-v2v 2.7.1rhel=9,release=12.el9_6 Not Included Included
Fedora CoreOS 43 virt-v2v 2.9.10fedora=43,release=1.fc43 Included Included
Debian 13 virt-v2v 2.6.0 Included Not Included
Ubuntu 24 virt-v2v 2.4.0 Included Not Included
SLES 16 virt-v2v 2.8.0 Included Included

Rocky 9

[root@syasuda-rocky9 ~]# dnf -y update
[root@syasuda-rocky9 ~]# reboot
[root@syasuda-rocky9 ~]# dnf install -y virt-v2v libguestfs
[root@syasuda-rocky9 ~]# cat /etc/rocky-release
Rocky Linux release 9.6 (Blue Onyx)
[root@syasuda-rocky9 ~]# uname -a
Linux syasuda-rocky9 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Oct 31 13:55:05 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
[root@syasuda-rocky9 ~]# virt-v2v --version
virt-v2v 2.5.6rhel=9,release=8.el9_5

[root@syasuda-rocky9 ~]# virt-v2v --help | grep block-driver

[root@syasuda-rocky9 ~]# virt-v2v --block-driver
virt-v2v: unrecognized option '--block-driver'
Try ‘virt-v2v --help’ or consult virt-v2v(1) for more information.
[root@syasuda-rocky9 ~]# rpm -qa|grep nbdkit
nbdkit-server-1.38.3-1.el9.x86_64
nbdkit-ssh-plugin-1.38.3-1.el9.x86_64
nbdkit-curl-plugin-1.38.3-1.el9.x86_64
nbdkit-basic-plugins-1.38.3-1.el9.x86_64
nbdkit-basic-filters-1.38.3-1.el9.x86_64
nbdkit-nbd-plugin-1.38.3-1.el9.x86_64
nbdkit-vddk-plugin-1.38.3-1.el9.x86_64
nbdkit-python-plugin-1.38.3-1.el9.x86_64
nbdkit-selinux-1.38.3-1.el9.noarch
nbdkit-1.38.3-1.el9.x86_64

[root@syasuda-rocky9 ~]# nbdkit vddk --help
nbdkit [-4|--ipv4-only] [-6|--ipv6-only]
       [-D|--debug PLUGIN|FILTER|nbdkit.FLAG=N]
       [--exit-with-parent] [-e|--exportname EXPORTNAME]
       [--filter=FILTER ...] [-f|--foreground]
       [-g|--group GROUP] [-i|--ipaddr IPADDR]
       [--log=stderr|syslog|null] [--mask-handshake=MASK]
       [-n|--newstyle] [--no-mc|--no-meta-contexts]
       [--no-sr|--no-structured-replies] [-o|--oldstyle]
       [-P|--pidfile PIDFILE] [-p|--port PORT]
       [-r|--readonly] [--run 'COMMAND ARGS ...']
       [--selinux-label=LABEL] [-s|--single] [--swap]
       [-t|--threads THREADS] [--tls=off|on|require]
       [--tls-certificates=/path/to/certificates]
       [--tls-psk=/path/to/pskfile] [--tls-verify-peer]
       [-U|--unix SOCKET|-] [-u|--user USER]
       [-v|--verbose] [--vsock]
       PLUGIN [[KEY=]VALUE [KEY=VALUE [...]]]

nbdkit --dump-config

nbdkit PLUGIN --dump-plugin

nbdkit --help

nbdkit [-V|--version]

Please read the nbdkit(1) manual page for full usage.

plugin: vddk (VMware VDDK plugin)
(/usr/lib64/nbdkit/plugins/nbdkit-vddk-plugin.so)
[file=]<FILENAME>   (required) The filename (eg. VMDK file) to serve.
Many optional parameters are supported, see nbdkit-vddk-plugin(1).

CentOS 9

[root@syasuda-centos9 ~]# dnf -y update
[root@syasuda-centos9 ~]# reboot
[root@syasuda-centos9 ~]# dnf install -y virt-v2v libguestfs
[root@syasuda-centos9 ~]# cat /etc/redhat-release
CentOS Stream release 9
[root@syasuda-centos9 ~]# uname -a
Linux syasuda-centos9 5.14.0-645.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 28 14:01:17 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
[root@syasuda-centos9 ~]# virt-v2v --version
virt-v2v 2.7.1rhel=9,release=19.el9

[root@syasuda-centos9 ~]# virt-v2v --help | grep block-driver

[root@syasuda-centos9 ~]# virt-v2v --block-driver
virt-v2v: unrecognized option '--block-driver'
Try ‘virt-v2v --help’ or consult virt-v2v(1) for more information.
[root@syasuda-centos9 ~]# rpm -qa|grep nbdkit
nbdkit-server-1.38.5-12.el9.x86_64
nbdkit-selinux-1.38.5-12.el9.noarch
nbdkit-basic-filters-1.38.5-12.el9.x86_64
nbdkit-basic-plugins-1.38.5-12.el9.x86_64
nbdkit-1.38.5-12.el9.x86_64
nbdkit-curl-plugin-1.38.5-12.el9.x86_64
nbdkit-ssh-plugin-1.38.5-12.el9.x86_64
nbdkit-vddk-plugin-1.38.5-12.el9.x86_64
nbdkit-python-plugin-1.38.5-12.el9.x86_64
nbdkit-nbd-plugin-1.38.5-12.el9.x86_64

[root@syasuda-centos9 ~]# # nbdkit vddk --help
nbdkit [-4|--ipv4-only] [-6|--ipv6-only]
       [-D|--debug PLUGIN|FILTER|nbdkit.FLAG=N]
       [--exit-with-parent] [-e|--exportname EXPORTNAME]
       [--filter=FILTER ...] [-f|--foreground]
       [-g|--group GROUP] [-i|--ipaddr IPADDR]
       [--log=stderr|syslog|null] [--mask-handshake=MASK]
       [-n|--newstyle] [--no-mc|--no-meta-contexts]
       [--no-sr|--no-structured-replies] [-o|--oldstyle]
       [-P|--pidfile PIDFILE] [-p|--port PORT]
       [-r|--readonly] [--run 'COMMAND ARGS ...']
       [--selinux-label=LABEL] [-s|--single] [--swap]
       [-t|--threads THREADS] [--tls=off|on|require]
       [--tls-certificates=/path/to/certificates]
       [--tls-psk=/path/to/pskfile] [--tls-verify-peer]
       [-U|--unix SOCKET|-] [-u|--user USER]
       [-v|--verbose] [--vsock]
       PLUGIN [[KEY=]VALUE [KEY=VALUE [...]]]

nbdkit --dump-config

nbdkit PLUGIN --dump-plugin

nbdkit --help

nbdkit [-V|--version]

Please read the nbdkit(1) manual page for full usage.

plugin: vddk (VMware VDDK plugin)
(/usr/lib64/nbdkit/plugins/nbdkit-vddk-plugin.so)
[file=]<FILENAME>   (required) The filename (eg. VMDK file) to serve.
Many optional parameters are supported, see nbdkit-vddk-plugin(1).

CentOS 10

[root@syasuda-centos10 ~]# dnf -y update
[root@syasuda-centos10 ~]# reboot
[root@syasuda-centos10 ~]# dnf install -y virt-v2v libguestfs
[root@syasuda-centos10 ~]# cat /etc/redhat-release
CentOS Stream release 10 (Coughlan)
[root@syasuda-centos10 ~]# uname -a
Linux syasuda-centos10 6.12.0-172.el10.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 11 12:14:35 UTC 2025 x86_64 GNU/Linux
[root@syasuda-centos10 ~]# virt-v2v --version
virt-v2v 2.9.10rhel=10,release=1.el10

[root@syasuda-centos10 ~]# virt-v2v --help | grep block-driver

[root@syasuda-centos10 ~]# virt-v2v --block-driver
virt-v2v: unrecognized option '--block-driver'
Try ‘virt-v2v --help’ or consult virt-v2v(1) for more information.
[root@syasuda-centos10 ~]# rpm -qa|grep nbdkit
nbdkit-server-1.45.12-1.el10.x86_64
nbdkit-basic-filters-1.45.12-1.el10.x86_64
nbdkit-basic-plugins-1.45.12-1.el10.x86_64
nbdkit-curl-plugin-1.45.12-1.el10.x86_64
nbdkit-ssh-plugin-1.45.12-1.el10.x86_64
nbdkit-selinux-1.45.12-1.el10.noarch
nbdkit-1.45.12-1.el10.x86_64
nbdkit-nbd-plugin-1.45.12-1.el10.x86_64
nbdkit-python-plugin-1.45.12-1.el10.x86_64
nbdkit-vddk-plugin-1.45.12-1.el10.x86_64

[root@syasuda-centos10 ~]# nbdkit vddk --help
nbdkit [-4|--ipv4-only] [-6|--ipv6-only]
       [-D|--debug PLUGIN|FILTER|nbdkit.FLAG=N]
       [--exit-with-parent] [-e|--exportname EXPORTNAME]
       [--filter=FILTER ...] [-f|--foreground]
       [-g|--group GROUP] [-i|--ipaddr IPADDR] [--keepalive]
       [--log=default|stderr|syslog|null|/path]
       [--mask-handshake=MASK] [--name=NAME]
       [-n|--newstyle] [--no-mc|--no-meta-contexts]
       [--no-sr|--no-structured-replies] [-o|--oldstyle]
       [-P|--pidfile PIDFILE] [-p|--port PORT] [--print-uri]
       [-r|--readonly] [--run 'COMMAND ARGS ...']
       [--selinux-label=LABEL] [-s|--single]
       [--swap] [-t|--threads THREADS]
       [--timeout=TIMEOUT] [--tls=off|on|require]
       [--tls-certificates=/path/to/certificates]
       [--tls-psk=/path/to/pskfile] [--tls-verify-peer]
       [-U|--unix SOCKET|-] [-u|--user USER]
       [-v|--verbose] [--vsock]
       PLUGIN
       [[KEY=]VALUE [KEY=VALUE [...]]] | @PATH

nbdkit --dump-config

nbdkit PLUGIN --dump-plugin

nbdkit --help

nbdkit [-V|--version]

nbdkit [--short-options|--long-options]

Network Block Device (NBD) is a network protocol for accessing block
devices over the network.  Block devices are hard disks and things that
behave like hard disks such as disk images and virtual machines.

nbdkit is both a toolkit for creating NBD servers from “unconventional”
sources, and the name of an NBD server.  nbdkit ships with many plugins
for performing common tasks like serving local files.

Please read the nbdkit(1) manual page for full usage.

plugin: vddk (VMware VDDK plugin)
(/usr/lib64/nbdkit/plugins/nbdkit-vddk-plugin.so)
[file=]<FILENAME>              The filename (eg. VMDK file) to serve.
export=<WILDCARD>              Let client choose file matching wildcard.
Many optional parameters are supported, see nbdkit-vddk-plugin(1).

RHEL 9

[root@syasuda-rhel9 ~]# dnf -y update
[root@syasuda-rhel9 ~]# reboot
[root@syasuda-rhel9 ~]# dnf install -y virt-v2v libguestfs

[root@syasuda-rhel9 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 9.6 (Plow)
[root@syasuda-rhel9 ~]# uname -a
Linux syasuda-rhel9 5.14.0-570.76.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 17 04:36:29 EST 2025 x86_64 x86_64 x86_64 GNU/Linux
[root@syasuda-rhel9 ~]# virt-v2v --version
virt-v2v 2.7.1rhel=9,release=12.el9_6

[root@syasuda-rhel9 ~]# virt-v2v --help | grep block-driver

[root@syasuda-rhel9 ~]# virt-v2v --block-driver
virt-v2v: unrecognized option '--block-driver'
Try ‘virt-v2v --help’ or consult virt-v2v(1) for more information.
[root@syasuda-rhel9 ~]# rpm -qa|grep nbdkit
nbdkit-server-1.38.5-5.el9_6.x86_64
nbdkit-basic-filters-1.38.5-5.el9_6.x86_64
nbdkit-basic-plugins-1.38.5-5.el9_6.x86_64
nbdkit-curl-plugin-1.38.5-5.el9_6.x86_64
nbdkit-ssh-plugin-1.38.5-5.el9_6.x86_64
nbdkit-nbd-plugin-1.38.5-5.el9_6.x86_64
nbdkit-python-plugin-1.38.5-5.el9_6.x86_64
nbdkit-vddk-plugin-1.38.5-5.el9_6.x86_64
nbdkit-selinux-1.38.5-5.el9_6.noarch
nbdkit-1.38.5-5.el9_6.x86_64

[root@syasuda-rhel9 ~]# nbdkit vddk --help
nbdkit [-4|--ipv4-only] [-6|--ipv6-only]
       [-D|--debug PLUGIN|FILTER|nbdkit.FLAG=N]
       [--exit-with-parent] [-e|--exportname EXPORTNAME]
       [--filter=FILTER ...] [-f|--foreground]
       [-g|--group GROUP] [-i|--ipaddr IPADDR]
       [--log=stderr|syslog|null] [--mask-handshake=MASK]
       [-n|--newstyle] [--no-mc|--no-meta-contexts]
       [--no-sr|--no-structured-replies] [-o|--oldstyle]
       [-P|--pidfile PIDFILE] [-p|--port PORT]
       [-r|--readonly] [--run 'COMMAND ARGS ...']
       [--selinux-label=LABEL] [-s|--single] [--swap]
       [-t|--threads THREADS] [--tls=off|on|require]
       [--tls-certificates=/path/to/certificates]
       [--tls-psk=/path/to/pskfile] [--tls-verify-peer]
       [-U|--unix SOCKET|-] [-u|--user USER]
       [-v|--verbose] [--vsock]
       PLUGIN [[KEY=]VALUE [KEY=VALUE [...]]]

nbdkit --dump-config

nbdkit PLUGIN --dump-plugin

nbdkit --help

nbdkit [-V|--version]

Please read the nbdkit(1) manual page for full usage.

plugin: vddk (VMware VDDK plugin)
(/usr/lib64/nbdkit/plugins/nbdkit-vddk-plugin.so)
[file=]<FILENAME>   (required) The filename (eg. VMDK file) to serve.
Many optional parameters are supported, see nbdkit-vddk-plugin(1).

Fedora CoreOS 43

  • SSHはcoreユーザーで行う。
  • dnf -y updateはできない。 Error: this bootc system is configured to be read-only. For more information, run bootc --help. というエラーになる。
core@syasuda-fedora43:~$ sudo rpm-ostree upgrade
error: Updates and deployments are driven by Zincati (zincati.service)
See Zincati's documentation at https://github.com/coreos/zincati
Use --bypass-driver to bypass Zincati and perform the operation anyways

core@syasuda-fedora43:~$ sudo systemctl stop zincati.service
core@syasuda-fedora43:~$ sudo rpm-ostree upgrade
core@syasuda-fedora43:~$ sudo rpm-ostree install virt-v2v libguestfs 
core@syasuda-fedora43:~$ sudo systemctl reboot
core@syasuda-fedora43:~$ cat /etc/redhat-release
Fedora release 43 (Forty Three)
core@syasuda-fedora53:~$ uname -a
Linux syasuda-fedora53 6.17.8-300.fc43.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 14 01:47:12 UTC 2025 x86_64 GNU/Linux
core@syasuda-fedora43:~$ virt-v2v --version
virt-v2v 2.9.10fedora=43,release=1.fc43
core@syasuda-fedora43:~$ virt-v2v --help | grep block-driver
  --block-driver <driver>             Prefer 'virtio-blk' or 'virtio-scsi'
core@syasuda-fedora43:~$ virt-v2v --block-driver
virt-v2v: option '--block-driver' requires an argument
Try ‘virt-v2v --help’ or consult virt-v2v(1) for more information.
core@syasuda-fedora43:~$ rpm -qa|grep nbdkit
nbdkit-server-1.45.15-1.fc43.x86_64
nbdkit-basic-plugins-1.45.15-1.fc43.x86_64
nbdkit-nbd-plugin-1.45.15-1.fc43.x86_64
nbdkit-curl-plugin-1.45.15-1.fc43.x86_64
nbdkit-basic-filters-1.45.15-1.fc43.x86_64
nbdkit-vddk-plugin-1.45.15-1.fc43.x86_64
nbdkit-ssh-plugin-1.45.15-1.fc43.x86_64
nbdkit-selinux-1.45.15-1.fc43.noarch
nbdkit-1.45.15-1.fc43.x86_64

core@syasuda-fedora43:~$ nbdkit vddk --help
nbdkit [-4|--ipv4-only] [-6|--ipv6-only]
       [-D|--debug PLUGIN|FILTER|nbdkit.FLAG=N]
       [--exit-with-parent] [-e|--exportname EXPORTNAME]
       [--filter=FILTER ...] [-f|--foreground]
       [-g|--group GROUP] [-i|--ipaddr IPADDR] [--keepalive]
       [--log=default|stderr|syslog|null|/path]
       [--mask-handshake=MASK] [--name=NAME]
       [-n|--newstyle] [--no-mc|--no-meta-contexts]
       [--no-sr|--no-structured-replies] [-o|--oldstyle]
       [-P|--pidfile PIDFILE] [-p|--port PORT] [--print-uri]
       [-r|--readonly] [--run 'COMMAND ARGS ...']
       [--selinux-label=LABEL] [-s|--single]
       [--swap] [-t|--threads THREADS]
       [--timeout=TIMEOUT] [--tls=off|on|require]
       [--tls-certificates=/path/to/certificates]
       [--tls-priority=PRIORITY]
       [--tls-psk=/path/to/pskfile] [--tls-verify-peer]
       [-U|--unix SOCKET|-] [-u|--user USER]
       [-v|--verbose] [--vsock]
       PLUGIN
       [[KEY=]VALUE [KEY=VALUE [...]]] | @PATH

nbdkit --dump-config

nbdkit PLUGIN --dump-plugin

nbdkit --help

nbdkit [-V|--version]

nbdkit [--short-options|--long-options]

Network Block Device (NBD) is a network protocol for accessing block
devices over the network.  Block devices are hard disks and things that
behave like hard disks such as disk images and virtual machines.

nbdkit is both a toolkit for creating NBD servers from “unconventional”
sources, and the name of an NBD server.  nbdkit ships with many plugins
for performing common tasks like serving local files.

Please read the nbdkit(1) manual page for full usage.

plugin: vddk (VMware VDDK plugin)
(/usr/lib64/nbdkit/plugins/nbdkit-vddk-plugin.so)
[file=]<FILENAME>              The filename (eg. VMDK file) to serve.
export=<WILDCARD>              Let client choose file matching wildcard.
Many optional parameters are supported, see nbdkit-vddk-plugin(1).

Debian 13

root@syasuda-debian13:~# apt update -y
root@syasuda-debian13:~# apt upgrade -y
root@syasuda-debian13:~# reboot
root@syasuda-debian13:~# apt -y install virt-v2v libguestfs-tools
root@syasuda-debian13:~# cat /etc/debian_version
13.2

root@syasuda-debian13:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.2
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

root@syasuda-debian13:~# uname -a
Linux syasuda-debian13 6.12.57+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux
root@syasuda-debian13:~# virt-v2v --version
virt-v2v 2.6.0

root@syasuda-debian13:~# virt-v2v --help | grep block-driver
  --block-driver <driver>             Prefer 'virtio-blk' or 'virtio-scsi'
  
root@syasuda-debian13:~# virt-v2v --block-driver
virt-v2v: option '--block-driver' requires an argument
Try ‘virt-v2v --help’ or consult virt-v2v(1) for more information.
root@syasuda-debian13:~# apt list nbdkit*
nbdkit-plugin-dev/stable 1.42.3-1 amd64
nbdkit-plugin-guestfs/stable 1.42.3-1 amd64
nbdkit-plugin-libvirt/stable 1.42.3-1 amd64
nbdkit-plugin-lua/stable 1.42.3-1 amd64
nbdkit-plugin-perl/stable 1.42.3-1 amd64
nbdkit-plugin-python/stable,now 1.42.3-1 amd64 [installed,automatic]
nbdkit-plugin-tcl/stable 1.42.3-1 amd64
nbdkit-plugin-vddk/stable 1.42.3-1 amd64
nbdkit/stable,now 1.42.3-1 amd64 [installed,automatic]
root@syasuda-debian13:~# nbdkit vddk --help
nbdkit: error: cannot open plugin "/usr/lib/x86_64-linux-gnu/nbdkit/plugins/nbdkit-vddk-plugin.so": /usr/lib/x86_64-linux-gnu/nbdkit/plugins/nbdkit-vddk-plugin.so: cannot open shared object file: No such file or directory

To add this functionality you might need to install a separate
plugin package such as nbdkit-vddk-plugin (Fedora) or
nbdkit-plugin-vddk (Debian).

Use 'nbdkit --help' or read the nbdkit(1) manual page for documentation.

Ubuntu 24

root@syasuda-ubuntu24:~# apt-get -y update
root@syasuda-ubuntu24:~# apt full-upgrade -y
root@syasuda-ubuntu24:~# reboot
root@syasuda-ubuntu24:~# apt -y install virt-v2v libguestfs-tools
root@syasuda-ubuntu24:~# cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.3 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

root@syasuda-ubuntu24:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.3 LTS
Release:	24.04
Codename:	noble
root@syasuda-ubuntu24:~# virt-v2v --version
virt-v2v 2.4.0
root@syasuda-ubuntu24:~# virt-v2v --help | grep block-driver
  --block-driver <driver>             Prefer 'virtio-blk' or 'virtio-scsi'
root@syasuda-ubuntu24:~# virt-v2v --block-driver
virt-v2v: option '--block-driver' requires an argument
Try ‘virt-v2v --help’ or consult virt-v2v(1) for more information.
root@syasuda-ubuntu24:~# apt list nbdkit*
Listing... Done
nbdkit-plugin-dev/noble 1.36.3-1ubuntu10 amd64
nbdkit-plugin-guestfs/noble 1.36.3-1ubuntu10 amd64
nbdkit-plugin-libvirt/noble 1.36.3-1ubuntu10 amd64
nbdkit-plugin-lua/noble 1.36.3-1ubuntu10 amd64
nbdkit-plugin-perl/noble 1.36.3-1ubuntu10 amd64
nbdkit-plugin-python/noble,now 1.36.3-1ubuntu10 amd64 [installed,automatic]
nbdkit-plugin-ruby/noble 1.36.3-1ubuntu10 amd64
nbdkit-plugin-tcl/noble 1.36.3-1ubuntu10 amd64
nbdkit/noble,now 1.36.3-1ubuntu10 amd64 [installed,automatic]

root@syasuda-ubuntu24:~# nbdkit vddk --help
nbdkit: error: cannot open plugin 'vddk': /usr/lib/x86_64-linux-gnu/nbdkit/plugins/nbdkit-vddk-plugin.so: cannot open shared object file: No such file or directory
Use 'nbdkit --help' or read the nbdkit(1) manual page for documentation.

SLES 16

syasuda-sles16:~ # zypper update -y
syasuda-sles16:~ # reboot
syasuda-sles16:~ # zypper install -y virt-v2v libguestfs

syasuda-sles16:~ # cat /etc/SUSE-brand
VERSION=16.0
GRUB_OS_ID="SLES 16.0"

syasuda-sles16:~ # cat /etc/os-release
# The NAME and PRETTY_NAME fields have been chosen to state compatibility between our products.
# The use of "SLES" and "SUSE Linux Enterprise" rather than a more generic name is due to backward compatibility with existing OS detection code in applications of third party vendors.
NAME="SLES"
PRETTY_NAME="SUSE Linux Enterprise Server 16.0"
VARIANT="Enterprise Server"
VARIANT_ID="server"
VERSION="16.0"
VERSION_ID="16.0"
ANSI_COLOR="0;32"
ID="sles"
ID_LIKE="suse opensuse"
CPE_NAME="cpe:/o:suse:sles:16:16.0"
SUSE_SUPPORT_PRODUCT="SUSE Linux Enterprise Server"
SUSE_SUPPORT_PRODUCT_VERSION="16.0"
HOME_URL="https://www.suse.com/products/server/"
DOCUMENTATION_URL="https://documentation.suse.com/sles/16.0/"
LOGO="distributor-logo"

syasuda-sles16:~ # uname -a
Linux syasuda-sles16 6.12.0-160000.7-default #1 SMP PREEMPT_DYNAMIC Thu Nov  6 12:29:59 UTC 2025 (e886bd7) x86_64 x86_64 x86_64 GNU/Linux
syasuda-sles16:~ # virt-v2v --version
virt-v2v 2.8.0

syasuda-sles16:~ # virt-v2v --help | grep block-driver
  --block-driver <driver>             Prefer 'virtio-blk' or 'virtio-scsi'
  
syasuda-sles16:~ # virt-v2v --block-driver
virt-v2v: option '--block-driver' requires an argument
Try ‘virt-v2v --help’ or consult virt-v2v(1) for more information.
syasuda-sles16:~ # rpm -qa|grep nbdkit
nbdkit-server-1.44.1-160000.2.2.x86_64
nbdkit-vddk-plugin-1.44.1-160000.2.2.x86_64
nbdkit-ssh-plugin-1.44.1-160000.2.2.x86_64
nbdkit-python-plugin-1.44.1-160000.2.2.x86_64
nbdkit-nbd-plugin-1.44.1-160000.2.2.x86_64
nbdkit-curl-plugin-1.44.1-160000.2.2.x86_64
nbdkit-basic-plugins-1.44.1-160000.2.2.x86_64
nbdkit-basic-filters-1.44.1-160000.2.2.x86_64
nbdkit-1.44.1-160000.2.2.x86_64

syasuda-sles16:~ # nbdkit vddk --help
nbdkit [-4|--ipv4-only] [-6|--ipv6-only]
       [-D|--debug PLUGIN|FILTER|nbdkit.FLAG=N]
       [--exit-with-parent] [-e|--exportname EXPORTNAME]
       [--filter=FILTER ...] [-f|--foreground]
       [-g|--group GROUP] [-i|--ipaddr IPADDR] [--keepalive]
       [--log=default|stderr|syslog|null|/path]
       [--mask-handshake=MASK] [-n|--newstyle]
       [--no-mc|--no-meta-contexts]
       [--no-sr|--no-structured-replies] [-o|--oldstyle]
       [-P|--pidfile PIDFILE] [-p|--port PORT] [--print-uri]
       [-r|--readonly] [--run 'COMMAND ARGS ...']
       [--selinux-label=LABEL] [-s|--single] [--swap]
       [-t|--threads THREADS] [--timeout=TIMEOUT]
       [--tls=off|on|require]
       [--tls-certificates=/path/to/certificates]
       [--tls-psk=/path/to/pskfile] [--tls-verify-peer]
       [-U|--unix SOCKET|-] [-u|--user USER]
       [-v|--verbose] [--vsock]
       PLUGIN [[KEY=]VALUE [KEY=VALUE [...]]]

nbdkit --dump-config

nbdkit PLUGIN --dump-plugin

nbdkit --help

nbdkit [-V|--version]

Network Block Device (NBD) is a network protocol for accessing block
devices over the network.  Block devices are hard disks and things that
behave like hard disks such as disk images and virtual machines.

nbdkit is both a toolkit for creating NBD servers from “unconventional”
sources, and the name of an NBD server.  nbdkit ships with many plugins
for performing common tasks like serving local files.

Please read the nbdkit(1) manual page for full usage.

plugin: vddk (VMware VDDK plugin)
(/usr/lib64/nbdkit/plugins/nbdkit-vddk-plugin.so)
[file=]<FILENAME>              The filename (eg. VMDK file) to serve.
export=<WILDCARD>              Let client choose file matching wildcard.
Many optional parameters are supported, see nbdkit-vddk-plugin(1).

ただし、SUSEのlibvirtはvpx driverをnativeサポートしていないようです。

# virsh -c vpx://vcsosv-vc.acs.japan.local/IBMCloud/vcs-osv-cluster/host-km000.acs.japan.local?no_verify=1 list --all
error: failed to connect to the hypervisor
error: unsupported configuration: libvirt was built without the 'vpx' driver
# virt-v2v -ic 'vpx://vsphere.local%5CAdministrator@vcsosv-vc.acs.japan.local/IBMCloud/vcs-osv-cluster/host-km001.acs.japan.local?no_verify=1' -it vddk -io vddk-libdir=/opt/vmware-vix-disklib-distrib/ -io vddk-thumbprint=D2:AE:CF:26:22:8C:89:13:A4:67:89:19:7F:64:1C:97:35:C8:11:54  "syasuda-win2019-1" -v  -ip vcenter_passwd.txt --block-driver virtio-scsi -o disk -os /tmp
info: virt-v2v: virt-v2v 2.8.0 (x86_64)
info: libvirt version: 11.4.0
check_host_free_space: large_tmpdir=/var/tmp free_space=95260909568
[   0.0] Setting up the source: -i libvirt -ic vpx://vsphere.local%5CAdministrator@vcsosv-vc.acs.japan.local/IBMCloud/vcs-osv-cluster/host-km001.acs.japan.local?no_verify=1 -it vddk syasuda-win2019-1
virt-v2v: error: exception: libvirt: VIR_ERR_CONFIG_UNSUPPORTED:
VIR_FROM_NONE: unsupported configuration: libvirt was built without the
'vpx' driver

If reporting bugs, run virt-v2v with debugging enabled and include the
complete output:

  virt-v2v -v -x [...]
rm -rf -- '/tmp/v2v.wMDDT0'
libguestfs: closing guestfs handle 0x55cbd9a02cf0 (state 0)
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?