Mihai wrote:
hello all,

I have the following scenario of using zfs.
- I have a HDD images that has a NTFS partition stored in a zfs dataset in a file called images.img - I have X physical machines that boot from my server via iSCSI from such an image - Every time a machine ask for a boot request from my server a clone of the zfs dataset is created and the machine is given the clone to boot from

I want to make an optimization to my framework that involves using a ramdisk pool to store the initial hdd images and the clones of the image being stored on a disk based pool. I tried to do this using zfs, but it wouldn't let me do cross pool clones.

If someone has any idea on how to proceed in doing this, please let me know. It is not necessary to do this exactly as I proposed, but it has to be something in this direction, a ramdisk backed initial image and more disk backed clones.

You haven't said what your requirement is - i.e. what are you hoping to improve by making this change? I can only guess.

If you are reading blocks from your initial hdd images (golden images) frequently enough, and you have enough memory on your system, these blocks will end up on the ARC (memory) anyway. If you don't have enough RAM for this to help, then you could add more memory, and/or an SSD as a L2ARC device ("cache" device in zpool command line terms).

--
Andrew Gabriel
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to