On Mon, Jul 31, 2006 at 03:59:23PM -0400, Jan Schaumann wrote:
> Thanks for the suggestion.  However, I'm not sure if the above pipeline
> is correct:
> 
> 2# !! | awk '/dev.dsk/{print $1"::print -a vdev_t vdev_nowritecache"}'
> ffffffff857a0580::print -a vdev_t vdev_nowritecache
> 3# !! | mdb -k
> 0

Hmm.  It should have printed something like this:

    ffffffff857a0a60 vdev_nowritecache = 0 (B_FALSE)

I think there might be a problem with the CTF data (debugging info)
in U2.  First, check /etc/release and make sure it says something like
"Solaris 10 6/06 s10x_u2wos_09a X86" in the first line.  Then run this
command:

    echo '::offsetof vdev_t vdev_nowritecache' | mdb -k

And make sure it prints "4e0" as the answer.  If that's the case,
then run this:

    echo '::spa -v' | mdb -k | awk '/dev.dsk/{print $1"+4e0/W1"}' | mdb -kw

And to get back, replace W1 with W0 as before.


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

Reply via email to