If I do
dd if=/dev/zero of=/tank/test/zpool bs=1M count=100
how can I treat the file
/tank/test/zpool as a vdev, so I can use it as a zpool?
It is for zfs testing purposes only.
There is no need to create a loop device, you can simply use the file itself as a vdev:
Create a loop device backed by the file.
(The minimum disk size of 128 MB.)
Oops, didn't notice the Solaris tag. My instructions were for Linux. Instead of