Disable ZFS file caching

bash-3.00# zpool get all GTtest01
NAME PROPERTY VALUE SOURCE
GTtest01 size 1016G -
GTtest01 used 1.72G -
GTtest01 available 1014G -
GTtest01 capacity 0% -
GTtest01 altroot – default
GTtest01 health ONLINE -
GTtest01 guid 3542498748803264599 default
GTtest01 version 15 default
GTtest01 bootfs – default
GTtest01 delegation on default
GTtest01 autoreplace off default
GTtest01 cachefile – default
GTtest01 failmode wait default
GTtest01 listsnapshots on default

bash-3.00# zfs list -r GTtest01
NAME USED AVAIL REFER MOUNTPOINT
GTtest01 1.72G 998G 1.71G /GTtest01
bash-3.00# zfs get all GTtest01
NAME PROPERTY VALUE SOURCE
GTtest01 type filesystem -
GTtest01 creation Fri Jul 2 11:24 2010 -
GTtest01 used 1.72G -
GTtest01 available 998G -
GTtest01 referenced 1.71G -
GTtest01 compressratio 1.00x -
GTtest01 mounted yes -
GTtest01 quota none default
GTtest01 reservation none default
GTtest01 recordsize 128K default
GTtest01 mountpoint /GTtest01 default
GTtest01 sharenfs off default
GTtest01 checksum on default
GTtest01 compression off default
GTtest01 atime on default
GTtest01 devices on default
GTtest01 exec on default
GTtest01 setuid on default
GTtest01 readonly off default
GTtest01 zoned off default
GTtest01 snapdir hidden default
GTtest01 aclmode groupmask default
GTtest01 aclinherit restricted default
GTtest01 canmount on default
GTtest01 shareiscsi off default
GTtest01 xattr on default
GTtest01 copies 1 default
GTtest01 version 4 -
GTtest01 utf8only off -
GTtest01 normalization none -
GTtest01 casesensitivity sensitive -
GTtest01 vscan off default
GTtest01 nbmand off default
GTtest01 sharesmb off default
GTtest01 refquota none default
GTtest01 refreservation none default
GTtest01 primarycache all default
GTtest01 secondarycache all default

GTtest01 usedbysnapshots 0 -
GTtest01 usedbydataset 1.71G -
GTtest01 usedbychildren 2.55M -
GTtest01 usedbyrefreservation 0 -
bash-3.00# zfs set primarycache=none GTtest01
bash-3.00# zfs set secondarycache=none GTtest01
bash-3.00# zfs get all GTtest01
NAME PROPERTY VALUE SOURCE
GTtest01 type filesystem -
GTtest01 creation Fri Jul 2 11:24 2010 -
GTtest01 used 1.72G -
GTtest01 available 998G -
GTtest01 referenced 1.71G -
GTtest01 compressratio 1.00x -
GTtest01 mounted yes -
GTtest01 quota none default
GTtest01 reservation none default
GTtest01 recordsize 128K default
GTtest01 mountpoint /GTtest01 default
GTtest01 sharenfs off default
GTtest01 checksum on default
GTtest01 compression off default
GTtest01 atime on default
GTtest01 devices on default
GTtest01 exec on default
GTtest01 setuid on default
GTtest01 readonly off default
GTtest01 zoned off default
GTtest01 snapdir hidden default
GTtest01 aclmode groupmask default
GTtest01 aclinherit restricted default
GTtest01 canmount on default
GTtest01 shareiscsi off default
GTtest01 xattr on default
GTtest01 copies 1 default
GTtest01 version 4 -
GTtest01 utf8only off -
GTtest01 normalization none -
GTtest01 casesensitivity sensitive -
GTtest01 vscan off default
GTtest01 nbmand off default
GTtest01 sharesmb off default
GTtest01 refquota none default
GTtest01 refreservation none default
GTtest01 primarycache none local
GTtest01 secondarycache none local

GTtest01 usedbysnapshots 0 -
GTtest01 usedbydataset 1.71G -
GTtest01 usedbychildren 3.14M -
GTtest01 usedbyrefreservation 0 -

Leave a Reply

Spam Protection by WP-SpamFree