"Device or resource busy" typically occurs when a computer or device is being used by another process or application.
If this problem occurs, you can identify the process causing the issue by using the following command:
fuser [filename]
This command will display the following output:
[/path to filename]: ???(PID)
Here, you can terminate the process by using the following command:
kill -9 ???(PID) (ex.)kill -9 12345
Please note that the "kill -9" command forcefully terminates the process with the specified PID. Use this command with caution, as it may result in data loss or other unforeseen consequences.