Also, there is no need to go through lofi. You can directly add files
to a zpool:
# mkfile -v 100m /var/tmp/disk1
# mkfile -v 100m /var/tmp/disk2
# zpool create pool_1and2 /var/tmp/disk1 /var/tmp/disk2
I do this in demos all the time, and it's quite handy. And as George
pointed out,
By default, 'zpool import' looks only in /dev/dsk. Since you are using
/dev/lofi you will need to use 'zpool import -d /dev/lofi' to import
your pool.
Thanks,
George
sunnie wrote:
> Hey, guys
> I just do the test for use loop device as vdev for zpool
> Procedures as followings:
> 1) mkfi