Two steps:
1, with Fuser:fuser-k/data
2, Umount/data
Basically can deal with Umount device busy busy problem, of course, it is best to be sure that the partition uninstall will not have an impact.
Here are some parameter explanations for the Fuser command:
-K kills these processes that are accessing these files. The Sigkill signal is sent unless the signal is modified with-signal.
-I interactive mode
-l lists all known signal names.
-N space, choose a different namespace, but file,udp,tcp. The default is file, which is files.
-SIGNAL specifies the signal to send, not the default Sigkill
-4 query IPV4 sockets only
-6 query IPV6 sockets only
-Reset all options to set the information back to Sigkill
This article is from the "System Operations" blog, please be sure to keep this source http://gravel.blog.51cto.com/6432642/1657978
Linux Offload partition device tip: Umount device busy