A Linux service needs to start after mounting the USB hard drive.
At first, I wrote a shell script to combine mounting the device and executing commands, but it always failed.
Then I wrote two services: one for mounting the device and another service that adds After=mount_device.service
. Then it worked, but I don't know why for now..