February 28th, 2017

Freebsd daemon left

ZFS Solaris for FreeBSD : scrub -ing & and other

zpool list
zpool list -o name,size
zpool history
zpool iostat
zpool status -x
zpool status
http://docs.oracle.com/cd/E19253-01/820-0836/gaynp/index.html

zpool scrub pool
zpool status pool
zpool scrub -s pool (stop the scrub)


http://docs.oracle.com/cd/E19253-01/820-0836/gbbwa/index.html

/etc/periodic
daily_scrub_zfs_enable="YES"
daily_scrub_zfs_default_treshold=7

https://forums.freebsd.org/threads/35720/

clear;
a=1;
datebegin=`date`;
while [ $a  != 10000 ]
do
echo '###############################';
zpool status zroot;
a=`expr $a + 1`;
echo '###############################';
echo $datebegin;
date;
sleep 5;
clear;
done