Typically, I configure primary storage onto an NFS server with a RAID1 array,
and expose that zone-wide.Works fine.
However, it strikes me that it makes little sense to allow guest VMs to place
their swap files there - which is thesimple model currently in place.
What I would prefer, and makes sense from a performance point of view, is to
define a number of swap partitionson disk images residing on the local storage
system of my KVM host.
I've been over the documentation several times and it seems that options for
configuring this setup are notgranular enough: I want primary storage defined
in the NFS to be the default locus for storage, while local storageto be the
locus for specifically placed swap resources.
Has anybody done this, or know how this can be done?
TIA, Noel