I am using a 6 TB MyCloud FW 4.X. Off late I have noticed that every 2 secs or so I hear a click sound similar to read or write access HDD (I am sure the sound is of HDD). But I don’t understand why it is clicking? I mean I am not doing any read or write but the regular clicking every 2 secs or so is irritating specially at night when it is all silent at home !!!
Any logs I can see to find out if there is a read write error? Although I am using a scheduled backup tool which runs every night and the log in the morning shows no errors and all synced well…
I have WD View. The dash does not show any errors or logs. I restarted the device last week. I have however started a Full Test to check for errors… Its stuck at 10% for 15 min… hope it runs.
You can try to run the following . It will tell you which partition is being accessed and what file was accessed. Note that once the file is accessed it will show up in the output for a minute.
CheckGen1.sh
#!/bin/bash
Device=(“sda4” “md1”)
sda=(" " " " " " " " " " " " " " " " );
function test () {
if [ “$1” != “$2” ]; then
da=date +%k-%M-%S
A=$1
B=1
ior_sda=${A#-}
iow_sda=${A%-}
A=$2
ior_sdaold=${A#-}
iow_sdaold=${A%-}
let a=ior_sda-ior_sdaold
let b=iow_sda-iow_sdaold
if [ $4 -ne 1 ]; then
echo -n $da " "
fi
printf “%4s %4s %4s " $3 $a $b
fi
}
A=cat /proc/cmdline | awk -F= 'BEGIN{RS=" "}{ if ($1=="root") print $2 }'
Device[1]=${A:5}
date
while :; do
i=0
for x in “${Device[@]}”
do
sda[$i]=awk -v disk="$x" '{if ($3==disk) printf "%s-%s",$10,$6}' /proc/diskstats
i=$i+1
done
let B=i=0
for x in “${Device[@]}”
do
test “${sda[$i]}” “${sdb[$i]}” $x $B
i=$i+1
done
sdb=(”${sda[@]}")
if [ $B -eq 1 ]; then
echo
./find /bin /etc /boot /lib /usr /CacheVolume /DataVolume /nfs/SmartWare /nfs/TimeMachineBackup -cmin -1
fi
sleep 4
done