Scott Laird wrote:
> On Fri, Jan 2, 2009 at 4:52 PM, Akhilesh Mritunjai
> <mritun+opensola...@gmail.com> wrote:
>   
>> As for source, here you go :)
>>
>> http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/zpool/zpool_vdev.c#650
>>     
>
> Thanks.  It's in the middle of get_replication, so I suspect it's a
> bug--zpool tries to check on the replication status of existing vdevs
> and croaks in the process.  As it turns out, I was able to add the
> cache devices just fine once the resilver completed.
>   

It is a bug because the assertion failed.  Please file one.
http://en.wikipedia.org/wiki/Assertion_(computing)
http://bugs.opensolaris.org

> Out of curiosity, what's the easiest way to shove a file into the
> L2ARC?  Repeated reads with dd if=file of=/dev/null doesn't appear to
> do the trick.
>   

To put something in the L2ARC, it has to be purged from the ARC.
So until you run out of space in the ARC, nothing will be placed into
the L2ARC.

[note to self: arcstat should know about the l2 kstats...]
 -- richard

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

Reply via email to