I made a simple script that you can put in cron and it will log when your drive is locked for upload.