Sitting idle, my drives appear to stop then start, and makes a noise every couple seconds.

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Every couple seconds it sounds like something writes to all the drives. When that happens the blue lights turn red, then quickly back to blue. This cycle is endless.
 
Last edited:

artlessknave

Wizard
Joined
Oct 29, 2016
Messages
1,506
......and? is there a problem?
 

blueether

Patron
Joined
Aug 6, 2018
Messages
259
I'm guessing that you have the system-dataset on that pool, gets written to every about 5 seconds
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
@artlessknave no problem that I can tell, but then again I don’t know what to look for. And this doesn’t seem normal.

@blueether perhaps from a jail install? I’ve installed the usual Plex, sonarr, nzbget. Where would a system dataset live, root?
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Running top shows this:

Code:
last pid:  4331;  load averages:  0.12,  0.19,  0.16                                                up 2+19:00:10  05:18:29
62 processes:  1 running, 61 sleeping
CPU:  0.4% user,  0.0% nice,  0.7% system,  0.1% interrupt, 98.9% idle
Mem: 185M Active, 1575M Inact, 4831M Wired, 25G Free
ARC: 2788M Total, 1642M MFU, 867M MRU, 1385K Anon, 29M Header, 248M Other
     1482M Compressed, 3073M Uncompressed, 2.07:1 Ratio
Swap: 10G Total, 10G Free

  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU COMMAND
  239 root         17  36    0   319M   270M kqread  3  36:42   3.78% python3.6
3209 root          7  52    0 41788K 17864K select  5   4:37   0.14% rrdcached
82277    972       13  52   15   113M 63852K piperd  2   2:39   0.09% Plex Script Host
4146 root          1  20    0  7940K  3976K CPU0    0   0:00   0.06% top
4179 root          1  52    0 11188K  7684K nanslp  2   2:12   0.06% perl
82244    972       20  52    0   180M   110M uwait   4   2:46   0.03% Plex Media Server
98288 www           1  20    0 30728K  8696K kqread  0   0:08   0.02% nginx
5504 sonarr       16  20    0   253M   189M uwait   0   4:08   0.02% mono-sgen
81899 root          1  20    0 12916K  8060K select  5   0:01   0.01% sshd
4670 nzbget        7  52    0 41064K 15172K uwait   4   0:12   0.01% nzbget
2970 root          1  20    0 12488K 12596K select  6   0:11   0.01% ntpd
62621 root          1  20    0   115M   100M kqread  6   0:08   0.00% uwsgi-3.6
4620 root          1  20    0  6420K  2484K select  1   0:00   0.00% syslogd
82298    972       11  52    0 31688K 20744K usem    2   0:04   0.00% Plex Tuner Service
5450 root          1  20    0  6420K  2484K select  4   0:00   0.00% syslogd
62726 root         15  20    0   168M   144M umtxn   1   2:53   0.00% uwsgi-3.6
2490 root          1 -52   r0  3528K  3592K nanslp  0   1:38   0.00% watchdogd
  350 root          2  20    0   126M   110M usem    5   0:36   0.00% python3.6
  351 root          2  20    0   127M   110M piperd  3   0:35   0.00% python3.6
  349 root          2  20    0   125M   110M usem    7   0:35   0.00% python3.6
  352 root          2  20    0   125M   110M usem    2   0:34   0.00% python3.6
  348 root          2  20    0   126M   110M usem    7   0:33   0.00% python3.6
2487 root          2  20    0 20624K 10392K kqread  2   0:09   0.00% syslog-ng
2268 nobody        1  20    0  6928K  3068K select  3   0:06   0.00% mdnsd
80540 nobody        1  20    0  6928K  3096K select  3   0:04   0.00% mdnsd
3180 root          1  20    0 77364K 61932K select  3   0:03   0.00% winbindd
3175 root          1  20    0   161M   145M select  6   0:02   0.00% smbd
60256 root          1  20    0 12916K  8048K select  5   0:02   0.00% sshd
3172 root          1  20    0 29404K 16656K select  1   0:02   0.00% nmbd
3184 root          1  20    0 10500K  5316K nanslp  6   0:01   0.00% smartd
5511 root          1  20    0  6460K  2344K nanslp  3   0:01   0.00% cron
4677 root          1  20    0  6460K  2344K nanslp  1   0:01   0.00% cron
75852 www           1  20    0 30728K  8664K kqread  7   0:00   0.00% nginx
3979 root          1  20    0  6488K  2520K nanslp  5   0:00   0.00% cron
82251 root          1  20    0  6464K  2428K nanslp  2   0:00   0.00% cron
3191 root          1  20    0 78256K 63140K select  4   0:00   0.00% winbindd
22478 root          1  20    0   164M   147M select  2   0:00   0.00% smbd
3358 root          1  20    0 38728K 21860K select  5   0:00   0.00% winbindd
3360 root          1  20    0 37420K 21824K select  3   0:00   0.00% winbindd
82188 root          1  20    0  6412K  2456K select  5   0:00   0.00% syslogd
3217 root          1  20    0   119M   103M select  4   0:00   0.00% smbd
3222 root          1  20    0   119M   103M select  7   0:00   0.00% smbd
2154 root          1  20    0  9176K  5552K select  0   0:00   0.00% devd
   26 root          1  52    0  7108K  3388K wait    1   0:00   0.00% sh
  247 root          1  52    0 15532K 11400K piperd  7   0:00   0.00% python3.6
3969 root          1  20    0  9012K  5164K select  3   0:00   0.00% zfsd
4295 root          1  42    0  6544K  2344K select  5   0:00   0.00% dhclient
5228 root          1  41    0  6544K  2344K select  0   0:00   0.00% dhclient
82284 root          1  20    0  7840K  4032K wait    0   0:00   0.00% bash
4344 _dhcp         1  20    0  6544K  2460K select  1   0:00   0.00% dhclient
5247 _dhcp         1  20    0  6544K  2460K select  3   0:00   0.00% dhclient
81832 root          1  39    0  6544K  2428K select  7   0:00   0.00% dhclient
5793 root          1  20    0 12604K  7388K select  7   0:00   0.00% sshd
60283 root          1  20    0  7840K  4032K select  2   0:00   0.00% bash
81969 _dhcp         1  20    0  6544K  2540K select  4   0:00   0.00% dhclient
6552 root          1  20    0 28680K  8372K pause   3   0:00   0.00% nginx
4164 root          1  52    0  7108K  3384K wait    2   0:00   0.00% sh
2486 root          1  52    0 13104K  6640K wait    5   0:00   0.00% syslog-ng
4178 root          1  52    0  7108K  3384K wait    0   0:00   0.00% sh
3308 messagebus    1  52    0  7344K  3320K select  2   0:00   0.00% dbus-daemon
  237 root          1  20    0  6352K  2028K piperd  6   0:00   0.00% daemon
7790 root          1  52    0  6564K  2364K select  3   0:00   0.00% moused


ps aux shows:
Code:
freenas# ps aux
USER         PID  %CPU %MEM    VSZ    RSS TT  STAT STARTED        TIME COMMAND
root          11 800.0  0.0      0    128  -  RNL  Sat10   31963:36.08 [idle]
root         239   0.5  0.8 330796 279120  -  S    Sat10      36:54.33 python3.6: middlewared (python3.6)
root           0   0.0  0.0      0  10448  -  DLs  Sat10      23:55.83 [kernel]
root           1   0.0  0.0   5396    888  -  ILs  Sat10       0:00.03 /sbin/init --
root           2   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [crypto]
root           3   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [crypto returns]
root           4   0.0  0.0      0     48  -  DL   Sat10       2:54.53 [cam]
root           5   0.0  0.0      0     64  -  DL   Sat10       0:00.09 [ctl]
root           6   0.0  0.0      0     16  -  DL   Sat10       0:00.03 [soaiod1]
root           7   0.0  0.0      0     16  -  DL   Sat10       0:00.03 [soaiod2]
root           8   0.0  0.0      0     16  -  DL   Sat10       0:00.03 [soaiod3]
root           9   0.0  0.0      0     16  -  DL   Sat10       0:00.03 [soaiod4]
root          10   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [audit]
root          12   0.0  0.0      0    432  -  WL   Sat10       6:39.81 [intr]
root          13   0.0  0.0      0     48  -  DL   Sat10       0:24.27 [geom]
root          14   0.0  0.0      0     80  -  DL   Sat10       0:10.89 [usb]
root          15   0.0  0.0      0    272  -  DL   Sat10       1:43.00 [zfskern]
root          16   0.0  0.0      0     16  -  DL   Sat10       0:43.88 [rand_harvestq]
root          17   0.0  0.0      0     16  -  DL   Sat10       0:02.19 [acpi_thermal]
root          18   0.0  0.0      0     16  -  DL   Sat10     134:40.43 [ipmi0: kcs]
root          19   0.0  0.0      0     48  -  DL   Sat10       0:10.93 [pagedaemon]
root          20   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [vmdaemon]
root          21   0.0  0.0      0     16  -  DNL  Sat10       0:00.00 [pagezero]
root          22   0.0  0.0      0     16  -  DL   Sat10       0:00.97 [bufspacedaemon]
root          23   0.0  0.0      0     16  -  DL   Sat10       0:00.95 [bufdaemon]
root          24   0.0  0.0      0     16  -  DL   Sat10       0:01.17 [vnlru]
root          25   0.0  0.0      0     16  -  DL   Sat10       0:21.25 [syncer]
root         237   0.0  0.0   6352   2028  -  Is   Sat10       0:00.00 daemon: /usr/local/bin/middlewared[239] (daemon)
root         247   0.0  0.0  15532  11400  -  I    Sat10       0:00.04 /usr/local/bin/python3.6 -c from multiprocessing.semaphore_tracker import main;main(11
root         348   0.0  0.3 129096 112296  -  I    Sat10       0:32.81 python3.6: middlewared (worker) (python3.6)
root         349   0.0  0.3 127560 112416  -  I    Sat10       0:34.67 python3.6: middlewared (worker) (python3.6)
root         350   0.0  0.3 128860 112152  -  I    Sat10       0:36.27 python3.6: middlewared (worker) (python3.6)
root         351   0.0  0.3 129608 112752  -  I    Sat10       0:35.03 python3.6: middlewared (worker) (python3.6)
root         352   0.0  0.3 127580 112856  -  I    Sat10       0:34.45 python3.6: middlewared (worker) (python3.6)
root         381   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_mp_kt]
root        1059   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_mirror swap0]
root        1061   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_mirror swap1]
root        1063   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_mirror swap2]
root        1065   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_mirror swap3]
root        1067   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_mirror swap4]
root        1069   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[0] mirror/swa]
root        1070   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[1] mirror/swa]
root        1071   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[2] mirror/swa]
root        1072   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[3] mirror/swa]
root        1073   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[4] mirror/swa]
root        1074   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[5] mirror/swa]
root        1075   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[6] mirror/swa]
root        1076   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[7] mirror/swa]
root        1079   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[0] mirror/swa]
root        1080   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[1] mirror/swa]
root        1081   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[2] mirror/swa]
root        1082   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[3] mirror/swa]
root        1083   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[4] mirror/swa]
root        1084   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[5] mirror/swa]
root        1085   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[6] mirror/swa]
root        1086   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[7] mirror/swa]
root        1089   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[0] mirror/swa]
root        1090   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[1] mirror/swa]
root        1091   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[2] mirror/swa]
root        1092   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[3] mirror/swa]
root        1093   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[4] mirror/swa]
root        1094   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[5] mirror/swa]
root        1095   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[6] mirror/swa]
root        1096   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[7] mirror/swa]
root        1099   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[0] mirror/swa]
root        1100   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[1] mirror/swa]
root        1101   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[2] mirror/swa]
root        1102   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[3] mirror/swa]
root        1103   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[4] mirror/swa]
root        1104   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[5] mirror/swa]
root        1105   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[6] mirror/swa]
root        1106   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[7] mirror/swa]
root        1109   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[0] mirror/swa]
root        1110   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[1] mirror/swa]
root        1111   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[2] mirror/swa]
root        1112   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[3] mirror/swa]
root        1113   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[4] mirror/swa]
root        1114   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[5] mirror/swa]
root        1115   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[6] mirror/swa]
root        1116   0.0  0.0      0     16  -  DL   Sat10       0:00.00 [g_eli[7] mirror/swa]
root        1667   0.0  0.0      0     16  -  DL   Sat10       5:13.87 [ftcleanup]
root        2154   0.0  0.0   9176   5552  -  Ss   Sat10       0:00.15 /sbin/devd -q
nobody      2268   0.0  0.0   6928   3068  -  Ss   Sat10       0:05.77 /usr/local/sbin/mdnsd
root        2486   0.0  0.0  13104   6640  -  I    Sat10       0:00.00 /usr/local/sbin/syslog-ng -p /var/run/syslog.pid
root        2487   0.0  0.0  20624  10404  -  Ss   Sat10       0:09.19 /usr/local/sbin/syslog-ng -p /var/run/syslog.pid
root        2490   0.0  0.0   3528   3592  -  S<s  Sat10       1:38.36 /usr/sbin/watchdogd --pretimeout 5 --pretimeout-action log,printf
root        2970   0.0  0.0  12488  12596  -  Ss   Sat10       0:11.30 /usr/sbin/ntpd -g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntpd.drift
root        3172   0.0  0.0  29404  16656  -  Ss   Sat10       0:01.86 /usr/local/sbin/nmbd --daemon --configfile=/usr/local/etc/smb4.conf
root        3175   0.0  0.4 164988 148488  -  Is   Sat10       0:02.15 /usr/local/sbin/smbd --daemon --configfile=/usr/local/etc/smb4.conf
root        3180   0.0  0.2  77364  61932  -  Ss   Sat10       0:02.86 /usr/local/sbin/winbindd --daemon --configfile=/usr/local/etc/smb4.conf
root        3184   0.0  0.0  10500   5316  -  Is   Sat10       0:00.68 /usr/local/sbin/smartd -n -i 1800 -c /usr/local/etc/smartd.conf -p /var/run/smartd-dae
root        3191   0.0  0.2  78256  63140  -  S    Sat10       0:00.43 winbindd: domain child [FREENAS] (winbindd)
root        3209   0.0  0.1  41788  17916  -  Ss   Sat10       4:37.93 /usr/local/bin/rrdcached -s www -l /var/run/rrdcached.sock -p /var/run/rrdcached.pid
root        3217   0.0  0.3 121384 105176  -  S    Sat10       0:00.18 /usr/local/sbin/smbd --daemon --configfile=/usr/local/etc/smb4.conf
root        3222   0.0  0.3 121376 105036  -  I    Sat10       0:00.18 /usr/local/sbin/smbd --daemon --configfile=/usr/local/etc/smb4.conf
messagebus  3308   0.0  0.0   7344   3320  -  Is   Sat10       0:00.00 /usr/local/bin/dbus-daemon --system
root        3358   0.0  0.1  38728  21860  -  S    Sat10       0:00.25 winbindd: idmap child (winbindd)
root        3360   0.0  0.1  37420  21824  -  S    Sat10       0:00.25 winbindd: domain child [BUILTIN] (winbindd)
root        3969   0.0  0.0   9012   5164  -  Is   Sat10       0:00.02 /usr/sbin/zfsd
root        3979   0.0  0.0   6488   2520  -  Is   Sat10       0:00.48 /usr/sbin/cron -s
root        4295   0.0  0.0   6544   2344  -  IsJ  Sat10       0:00.01 dhclient: epair0b [priv] (dhclient)
_dhcp       4344   0.0  0.0   6544   2460  -  ICsJ Sat10       0:00.01 dhclient: epair0b (dhclient)
root        4620   0.0  0.0   6420   2484  -  SsJ  Sat10       0:00.41 /usr/sbin/syslogd -c -ss
nzbget      4670   0.0  0.0  41064  15172  -  IsJ  Sat10       0:12.29 /usr/local/bin/nzbget -D
root        4677   0.0  0.0   6460   2344  -  IsJ  Sat10       0:00.61 /usr/sbin/cron -J 15 -s
root        5228   0.0  0.0   6544   2344  -  IsJ  Sat10       0:00.01 dhclient: epair0b [priv] (dhclient)
_dhcp       5247   0.0  0.0   6544   2460  -  ICsJ Sat10       0:00.01 dhclient: epair0b (dhclient)
root        5450   0.0  0.0   6420   2484  -  SsJ  Sat10       0:00.41 /usr/sbin/syslogd -c -ss
sonarr      5504   0.0  0.5 247564 182592  -  SsJ  Sat10       4:08.76 /usr/local/bin/mono /usr/local/share/NzbDrone/NzbDrone.exe --data=/config --nobrowser
root        5511   0.0  0.0   6460   2344  -  IsJ  Sat10       0:00.62 /usr/sbin/cron -J 15 -s
root        5676   0.0  0.0  12916   8036  -  Ss   05:21       0:00.02 sshd: root@pts/1 (sshd)
root        5793   0.0  0.0  12604   7388  -  Is   Sat10       0:00.01 /usr/local/sbin/sshd
root        6552   0.0  0.0  28680   8372  -  Is   Sat14       0:00.01 nginx: master process /usr/local/sbin/nginx
root        7790   0.0  0.0   6564   2364  -  Is   Sat10       0:00.00 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid
root       22478   0.0  0.5 168312 150868  -  I    Sat11       0:00.39 /usr/local/sbin/smbd --daemon --configfile=/usr/local/etc/smb4.conf
root       60256   0.0  0.0  12916   8048  -  Ss   Sat13       0:02.11 sshd: root@pts/0 (sshd)
root       62621   0.0  0.3 118232 102596  -  S    Sat13       0:08.18 /usr/local/bin/uwsgi --chdir=/usr/local/www --module=freenasUI.wsgi:application --mast
root       62726   0.0  0.4 171704 147392  -  I    Sat13       2:53.47 /usr/local/bin/uwsgi --chdir=/usr/local/www --module=freenasUI.wsgi:application --mast
www        75852   0.0  0.0  30728   8680  -  S    00:00       0:00.57 nginx: worker process (nginx)
nobody     80540   0.0  0.0   6928   3096  -  Ss   Sat18       0:04.18 /usr/local/sbin/mdnsd
root       81832   0.0  0.0   6544   2428  -  IsJ  Sun09       0:00.01 dhclient: epair0b [priv] (dhclient)
_dhcp      81969   0.0  0.0   6544   2540  -  ICsJ Sun09       0:00.01 dhclient: epair0b (dhclient)
root       82188   0.0  0.0   6412   2456  -  IsJ  Sun09       0:00.24 /usr/sbin/syslogd -c -ss
972        82244   0.0  0.3 183940 112508  -  IsJ  Sun09       2:47.23 /usr/local/share/plexmediaserver-plexpass/Plex_Media_Server (Plex Media Server)
root       82251   0.0  0.0   6464   2428  -  IsJ  Sun09       0:00.43 /usr/sbin/cron -J 15 -s
972        82277   0.0  0.2 115348  63852  -  INJ  Sun09       2:39.72 Plex Plug-in [com.plexapp.system] /usr/local/share/plexmediaserver-plexpass/Resources/
972        82298   0.0  0.1  31688  20744  -  IJ   Sun09       0:03.76 /usr/local/share/plexmediaserver-plexpass/Plex Tuner Service /usr/local/share/plexmedi
root       60283   0.0  0.0   7840   4032  0  Is+  Sat13       0:00.01 -bash (bash)
root        5709   0.0  0.0   7840   4032  1  Ss   05:21       0:00.00 -bash (bash)
root       10951   0.0  0.0   6956   3088  1  R+   05:34       0:00.00 ps aux
root          26   0.0  0.0   7108   3388 v0  Is+  Sat10       0:00.04 sh /etc/rc autoboot
root        4164   0.0  0.0   7108   3384 v0  I+   Sat10       0:00.00 sh /etc/rc autoboot
root        4178   0.0  0.0   7108   3384 v0  I+   Sat10       0:00.00 sh /etc/rc autoboot
root        4179   0.0  0.0  11188   7684 v0  S+   Sat10       2:12.70 /usr/local/bin/perl /mnt/SuperPool/Scripts/PID_fan_control.pl
 
Last edited:

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
And this doesn’t seem normal.
It is. The default ZFS tunables in FreeNAS cause it to close out transaction groups at a maximum lifetime of 5 seconds, so you'll see writes about that often, even if it's just a brief bit of metadata.

Where would a system dataset live, root?
The .system dataset starts on the boot volume, but gets relocated to the first pool created after install. You can check under the web UI from System - System Dataset or from SSH via zfs list.

See also https://www.ixsystems.com/documentation/freenas/11.2-U7/system.html#system-dataset
 
Top