After adding serial numbers, I can confirm that the deployment works.
ubuntu@46-f4:~$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 4.12G 15.1G 176K /
rpool/ROOT 4.12G 15.1G 176K none
rpool/ROOT/zfsroot 4.12G 15.1G 4.12G /
ubuntu@46-f4:~$ mount -t zfs
rpool/ROOT/zfsroot on / type zfs (rw,relatime,xattr,noacl)
ubuntu@46-f4:~$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 4.12G 15.1G 176K /
rpool/ROOT 4.12G 15.1G 176K none
rpool/ROOT/zfsroot 4.12G 15.1G 4.12G /
ubuntu@46-f4:~$ zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
rpool 19.9G 4.12G 15.8G - - 20% 1.00x ONLINE -
ubuntu@46-f4:~$ zpool status
pool: rpool
state: ONLINE
status: The pool is formatted using a legacy on-disk format. The pool can
still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'. Once this is done, the
pool will no longer be accessible on software that does not support
feature flags.
scan: none requested
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
virtio-111-part1 ONLINE 0 0 0
After adding serial numbers, I can confirm that the deployment works.
ubuntu@46-f4:~$ zfs list xattr,noacl)
NAME USED AVAIL REFER MOUNTPOINT
rpool 4.12G 15.1G 176K /
rpool/ROOT 4.12G 15.1G 176K none
rpool/ROOT/zfsroot 4.12G 15.1G 4.12G /
ubuntu@46-f4:~$ mount -t zfs
rpool/ROOT/zfsroot on / type zfs (rw,relatime,
ubuntu@46-f4:~$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 4.12G 15.1G 176K /
rpool/ROOT 4.12G 15.1G 176K none
rpool/ROOT/zfsroot 4.12G 15.1G 4.12G /
ubuntu@46-f4:~$ zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
rpool 19.9G 4.12G 15.8G - - 20% 1.00x ONLINE -
ubuntu@46-f4:~$ zpool status
pool: rpool
state: ONLINE
status: The pool is formatted using a legacy on-disk format. The pool can
still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'. Once this is done, the
pool will no longer be accessible on software that does not support
feature flags.
scan: none requested
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
virtio-111-part1 ONLINE 0 0 0
errors: No known data errors
ubuntu@46-f4:~$ ll /dev/disk/by-id/
total 0
drwxr-xr-x 2 root root 100 Apr 3 18:14 ./
drwxr-xr-x 8 root root 160 Apr 3 18:14 ../
lrwxrwxrwx 1 root root 9 Apr 3 18:14 virtio-111 -> ../../vda
lrwxrwxrwx 1 root root 10 Apr 3 18:14 virtio-111-part1 -> ../../vda1
lrwxrwxrwx 1 root root 9 Apr 3 18:14 virtio-222 -> ../../vdb
I'll leave it up to you guys to decide if this should be a supported scenario or not.