NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD disk I/O



ball%grex.org@localhost (Andy Ball) writes:

>Hello Michael,

>  MvE> Please check wether these drives have write caching
>     > enabled with something like: dkctl wd0 getcache.

># dkctl wd1 getcache
>/dev/rwd1d: read cache enabled
>/dev/rwd1d: read cache enable is not changeable
>/dev/rwd1d: write cache enable is changeable
>/dev/rwd1d: cache parameters are not savable

So that says: write cache is disabled, you can switch that setting to 'enabled'
but cannot permanently save it.

dkctl wd1 setcache rw

will enable read and write cache. You can put the command into /etc/rc.local
so it is executed every boot.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index