我将一个目录从一台服务器复制到另一台服务器,我检查双向数据以便知道没有丢失任何数据,实际上没有丢失数据,但是当我使用时du -sc ....
卷不一样,请参见下面:
源服务器:
[sensage@drl520 dwf_dump]$ du -sc azar94
99016492 azar94
99016492 total
目标服务器:
[sensage@sensage4 dwf_backup]$ du -sc azar94
99016376 azar94
99016376 total
源服务器:
[sensage@drl520 dwf_dump]$ du -shc azar94
95G azar94
95G total
目标服务器:
[sensage@sensage4 dwf_backup]$ du -shc azar94
95G azar94
95G total
这些目录充满了 zip 文件,例如:
[sensage@sensage4 Incoming_query]$ find . -iname "*.gz"
./result/IN/Complete/Markazi/ARAK_Incoming_comp.txt.gz
./result/IN/Complete/Markazi/Markazi_Incoming_comp.txt.gz
./result/IN/Complete/Yazd/YAZDTX_Incoming_comp.txt.gz
./result/IN/Complete/Yazd/Yazd_Incoming_comp.txt.gz
./result/IN/Complete/Tehran/Tehran_Incoming_etc_comp.txt.gz
./result/IN/Complete/Tehran/Tehran_Incoming_comp.txt.gz
./result/IN/Complete/Tehran/TCT_Incoming_comp.txt.gz
./result/IN/Complete/TKC/TKCsms_Incoming_comp.txt.gz
./result/IN/Complete/TKC/TKCVoice_Incoming_comp.txt.gz
............................
我跟踪了双方的不匹配情况,实际上我确信没有丢失任何内容,并且两个数据都是相同的,但我想知道输出不匹配的解释是什么du -sc ...