Bill Moore <[EMAIL PROTECTED]> wrote:
 
> To test this theory, run this command on your NFS server (as root):
> 
>     echo '::spa -v' | mdb -k | \
>         awk '/dev.dsk/{print $1"::print -a vdev_t vdev_nowritecache"}' | \
>       mdb -k | awk '{print $1"/W1"}' | mdb -kw

Thanks for the suggestion.  However, I'm not sure if the above pipeline
is correct:

1# echo '::spa -v' | mdb -k
ADDR                 STATE NAME                                                
ffffffff85dfa000    ACTIVE tank

    ADDR             STATE     AUX          DESCRIPTION                        
    ffffffff857a0ac0 HEALTHY   -            root
    ffffffff857a0580 HEALTHY   -            /dev/dsk/c3t2d0s0
2# !! | awk '/dev.dsk/{print $1"::print -a vdev_t vdev_nowritecache"}'
ffffffff857a0580::print -a vdev_t vdev_nowritecache
3# !! | mdb -k
0
4# !! | awk '{print $1"/W1"}'
0/W1
5# !! | mdb -kw
mdb: failed to write 1 at address 0x0: no mapping for address
6# 

Since I'm not very familiar with Solaris at all, I'm not sure what
exactly is ment to come out of "#3", but I suspect it's not supposed to
be just "0".

-Jan

-- 
The reader is encouraged to add smileys where necessary to increase
positive perception.  Right here might be a good place:

Attachment: pgpNnkmkPi0Ju.pgp
Description: PGP signature

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

Reply via email to