I am using Ubuntu 18.04 and I sometimes write a large amount of files to an external hard disk (might take an hour or so). When that copy process is over I am clicking on
Safely remove drive
after wich a message appears
Device should not be unplugged
But that message is there for a LONG time! What can I do? Wait for 30 minutes? Or a day? Or a week?
What is going on? Why does it take so long time to safely remove the device? The data has been written, so what is going on? How to improve/fix this situation?
rsync
instead ofcp
the command only returns when the files are really written. – PerlDuck Feb 09 '19 at 16:23