Darren J Moffat wrote:
On 30/03/2010 10:13, Erik Trimble wrote:
Add this zvol as the cache device (L2arc) for your other pool
# zpool create tank mirror c1t0d0 c1t1d0s0 cache rpool/zvolname
That won't work L2ARC devices can not be a ZVOL of another pool, they
can't be a file either. An L2ARC device must be a physical device.
I could have sworn I did this with a zvol awhile ago. Maybe that was for
something else...
The check for the L2ARC device being a block device has always been
there.
I just tried a couple of things on one of my test machines, and I think
I know where I was mis-remembering it from: you can add a file or zvol
as a ZIL device.
Frankly, I'm a little confused by this. I would think that you would
have consistent behavior between ZIL and L2ARC devices - either they
both can be a file/zvol, or neither can. Not the current behavior.
--
Erik Trimble
Java System Support
Mailstop: usca22-123
Phone: x17195
Santa Clara, CA
Timezone: US/Pacific (GMT-0800)
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss