On Sun, Dec 27, 2009 at 12:07 PM, Alxen4 <[email protected]> wrote: > I tried that and got an error > > > ERROR Error with storage parameters: The path > '/dev/zvol/dsk/rpool/vm2/win2008sbs' must be a file or a device, not a > directory
Do you know the difference between file, file system, and block device? You previously have a FILE SYSTEM rpool/vm2/win2008sbs/system. That means you have some DIRECTORIES like /rpool/vm2/win2008sbs/system (the filesystem mount point) and /dev/zvol/dsk/rpool/vm2/win2008sbs (a placeholder for zvols under it). xen needs either a FILE or a BLOCK DEVICE. Mike mentioned an example to create a "virtual volume" or zvol (basically a block device) which you can use. So if you've done something like this (note "-V") zfs create -V 20G rpool/vm2/win2008sbs/systemdisk you can use it in domU config file like this disk = [ 'phy:/dev/zvol/dsk/rpool/vm2/win2008sbs/systemdisk,hda,w' ] -- Fajar _______________________________________________ xen-discuss mailing list [email protected]
