Mick wrote, On 05/10/2009 15:50: > When creating standard LDOMs I create a zfs dataset then create a datafile and build the ldom in that. Importing gives me the option of file or zvol. I have tried both methods. When I do a ldm list-bindings I get > /ldompool/ldom3/datafile25 - from a standard build > //ldompool/edev4/disk0 - target file import > /dev/zvol/dsk/ldompool/edev5/disk0 - zvol import > Can someone explain the differences between these virtual devices and any implications if I want to do zfs snapshot and zfs send to export the ldom to a new host. Unfortunately it is hard to get enough spare ldom hosts to practice this.
It should have no implications that I can think of regards 'zfs send' if you want to send a snapshot to another host (just make sure the domain using the zvol/file is unbound). I think the disk performance should be comparable (but I've haven't verified that personally). One benefit of the zvol is that should be easier to "grow" the size of the disk image compared to a file. - Liam
