You should probably check the health of the disk being written to by reading the SMART info of the disk. The command would be:
sudo smartctl -a /dev/sda
However, the 'sda' needs to match the drive. You can use this command to list:
df -h
I can help interpret the output.