Hi!
I just finished building my first nas with a Rock64 with emmc, one 3tb WD elements external hard drive, one 4tb WD red with the HD622 board.
The issue I'm having is that something wakes up my drives and I can't figure out what is it. I'm using a new installation of OMV from sourceforge with omv extras, flashmemory, shell in a box, docker (with no containers for now), smb and ssh running.
Changes in the "Physical disk properties" seem to have no effect (I tried setting spindown time to "disabled" but the disks are spinning down anyway). I'm guessing that the usb to sata controllers have spindown built in and it can't be changed in OMV. Anyway, I'm not really interessed in turning it off, I just want to know why the disks spin back up for no apparent reason.
I currently have S.M.A.R.T. enabled (check interval: 1800, power mode: standby). I tried disabling it but that didn't work. I tried with iosnoop but nothing came up.
root@rock64:~# ./iosnoop
Tracing block I/O. Ctrl-C to end.
COMM PID TYPE DEV BLOCK BYTES LATms
mmcqd/0 156 WS 179,0 478968 65536 2.00
mmcqd/0 156 WS 179,0 479096 65536 1.71
mmcqd/0 156 WS 179,0 478968 65536 1.78
mmcqd/0 156 WS 179,0 479096 65536 1.67
mmcqd/0 156 WS 179,0 479096 65536 1.58
mmcqd/0 156 WSM 179,0 3626304 32768 0.93
mmcqd/0 156 WSM 179,0 4150592 32768 1.76
mmcqd/0 156 WSM 179,0 3626368 245760 3.56
mmcqd/0 156 WSM 179,0 4150656 245760 5.22
mmcqd/0 156 FWS 179,0 18446744073709551615 0 0.15
mmcqd/0 156 WFS 179,0 163968 4096 0.81
mmcqd/0 156 WS 179,0 294912 4096 0.59
Alles anzeigen
I found this thread but I can't get the script to work:
root@rock64:~# ./find_culprit.sh sdb
-bash: ./find_culprit.sh: /bin/sh^M: bad interpreter: No such file or directory
I'm new to Linux so I must be doing something wrong. What I did was: create the file "find_culprit.sh" with notepad++ on windows and move it to /root using filezilla, chmod 755 find_culprit.sh, ./find_culprit.sh sdb. Again, I don't know if this is the right way to do it but this is what I figure out and it took me a long time to do so because I'm a total noob .
I also found this thread where this user had the same issue I have and managed to track it down to "webmin". I have never heard of webmin and I am pretty sure I haven't installed it on my system.
I'm looking for some tips.
Thanks!