On 03/12/10 07:13 PM, Dan Mick wrote:
> On 03/12/10 03:41 PM, Otto P. wrote:
>> I found that the script is old and using old style syntax for mdb, so
>> now trying to find the right syntax.
>>
>> Just working my way through this, perhaps there's a better way.
>>
>> ::zfs_params cause SIGSEGV in mdb
>>
>> ...
>> ...
>> metaslab_gang_bang = 0x20001
>> zio_injection_enabled = 0x0
>> zvol_immediate_write_sz = 0x8000
>>
>> *** mdb: received signal SEGV at:
>> [1] 1()
>> invalid frame (1)
>>
>> mdb: (c)ore dump, (q)uit, (r)ecover, or (s)top for debugger [cqrs]?
>
> This doesn't seem to have anything to do with the script you posted,
> unless I'm missing something again; moreover, it works for me.
>
> Apologies if I missed it, but what is it that you're really trying to do?

for instance, the script you originally quoted comes from 
http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#Limiting_the_ARC_Cache
 
at the "Limiting the ARC Cache" section, and says, above it:

"Current Solaris 10 Releases and Solaris Nevada Releases"

(which includes you)

and then talks about zfs_arc_max.  *Then* it says "Earlier Solaris Releases", 
and talks about the structure named 'arc', which is no longer there, and any 
reference to it, mdb or otherwise, will fail.

Is that the detail you missed?

Reply via email to