SyntaxFix
Write A Post
Hire A Developer
Questions
Try running
lsof | grep /mnt/data
That should list any process that is accessing /mnt/data that would prevent it from being unmounted.