With a setup with two disk is there a way to migrate from software RAID1 to ZFS mirror ?
This kind of procedure would be inspired by the migration that is possible from a disk stored on a single drive to software RAID1 : setup the software RAID in degraded mode with a missing drive, copy the data, add the first drive to the array.
zpool create -f -m /data data mirror /dev/sdb invalid vdev specification: mirror requires at least 2 devices
Does anyone know a way of doing this ? With a fake device that writes to null ? Can ZFS change a device from "normal" to "mirror" ?