When you use music videos to move large files, exceptions are interrupted.
Source: Internet
Author: User
When you use music videos to move large files, an exception is interrupted-Linux general technology-Linux technology and application information. For more information, see the following. Make a big mistake. Log on to the server and see that the partition space is almost full. I want to move some files and leave a little space.
Mv finename/mnt/e, suddenly thought that this file has a soft link, and is in use, immediately ctrl + c
Check that the size of the original file has not changed, but you are worried about problems. Check the document to learn: when moving files across file systems, the mv first copies the files and then deletes the original files.
In order to prove this point, we will proceed with the experiment! Find a sub-account. You can also perform a test on the vmserver to find a large file.
[Root @ localhost apache2] # du-sh text/
762 M text/
[Root @ localhost apache2] # mv text // var
[Root @ localhost apache2] # du-sh text/
762 M text/
File size not changed
View a temporary file at the target address. Another part is the files that have been copied.
[Root @ localhost apache2] # ls/var/text/
Info/old/update. php yipingNum. php
Now I have nothing to worry about. I was shocked just now. Many people have not done this operation.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.