Migrate Container to ZFS error

Erwin Müller

Active Member
Nov 4, 2018
When I try to migrate a Container to a ZFS Pool filesystem I get this error:
TASK ERROR: cannot open directory //zfsdata/vz: No such file or directory

But I am able to migrate a VM (including conversion to RAW) to the same zfs pool filesystem.

zfspool: zfsdata_vz
pool zfsdata/vz
blocksize 4K
content images,rootdir
sparse 1

I thought rootdir was for containers.
KVM-guests (VM) use zvols and thus have a different path.
containers (LXC) use a zfs-dataset which is mounted under the pools mountpoint.

Have you set a different mountpoint on your pool?
In that case - currently PVE does not support this - we'll try to integrate it - although there is no time of arrival yet:
(please drop a note there if you want that feature)

In the meantime - try to not set a mountpoint for the zfs-pool if possible.
Hope this helps


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!