我在计算md5sum时遇到问题。对于运行md5sum时的同一文件,我会得到不同的结果。
/tmp @at46> md5sum seq.swi
9b5f6616c8d9240ba504607e0a8085b8 seq.swi
/tmp @at46> md5sum seq.swi
7577bd05a3e49ca52a7d4e91cb0965df seq.swi
/tmp @at46> md5sum seq.swi
4592ee5f7bf5d28ff7539cd32592f3ed seq.swi
/tmp @at46> md5sum seq.swi
ecc75fe71ad4a7aa577f642c7ddc41a7 seq.swi
更新
/images @at46.> md5sum seq.swi
c1f29e3e83cbf025ca6283bd9dc26718 seq.swi
/images @at46.> stat seq.swi
File: `seq.swi'
Size: 468380585 Blocks: 914816 IO Block: 4096 regular file
Device: 803h/2051d Inode: 35127480 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-03-13 21:05:37.850790017 +0000
Modify: 2017-02-24 23:17:20.000000000 +0000
Change: 2017-02-28 04:00:33.148495437 +0000
/images @at46.> md5sum seq.swi
7c2179135cea70a4da7e84bc0a299f09 seq.swi
/images @at46.> stat seq.swi
File: `seq.swi'
Size: 468380585 Blocks: 914816 IO Block: 4096 regular file
Device: 803h/2051d Inode: 35127480 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-03-13 21:05:37.850790017 +0000
Modify: 2017-02-24 23:17:20.000000000 +0000
Change: 2017-02-28 04:00:33.148495437 +0000
/images @at46.> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 19223252 8647436 9599332 48% /
tmpfs 8139080 84 8138996 1% /dev/shm
/dev/sda3 1901713564 397742452 1407369616 23% /persist
/images @at46.>
图像目录位于/ devist上的/ dev / sda3中。
任何想法可能是什么原因。我们在不同的服务器上使用yum install加载相同的文件。我们仅在少数服务器上看到此问题。
这可能是磁盘问题吗?