On Fri, Nov 20, 2009 at 7:28 PM, Jensen Lee <[email protected]> wrote: > I created a xen domU and using the Virtual Machine Manager. This created a > large file on a zfs filesystem (in /var/lib/xen/images) containing the > virtual disk image. > > Is there a better way to create a virtual disk? Does zpool/zfs allow to > create special devices/filesystems with better I/O performance than a file > over a zfs space?
ZFS allows you to create block devices, called zvols, that can be used for this. The following will create a 10 GB zvol with the name rpool/vol1. # zfs create -V 10G rpool/vol1 When creating the domu in the Virtual Machine Manager, select "Block device (partition)" and enter the path as: /dev/zvol/dsk/rpool/vol1 Ed Plese _______________________________________________ xen-discuss mailing list [email protected]
