Hello,<br><br> There are 2 file in the xfs device, md5 is the same, but the size is different. <br> I don't know why .......<br> Does anyone could help me? <br><br><br> Server1 is EMC Isilon export from NFS (mount point: A, onefs)<br>
Server2 is rack server export from NFS (mount point: B, xfs)<br> Login node could access A and B by NFS client, and then "copy /A/xxx/xxx to /B/xxx/xxx", the file size is different. <br> I Switch to Server3 , and use jfs or ext3, it 's ok.<br>
<br> mount point:<br> df -h /export/data1/<br>
Filesystem Size Used Avail Use% Mounted on<br>
/dev/sdb 17T 13T 4.1T 76% /export/data1<br><br><br>I don't know why their "Blocks" is different.<br><br>#find /export/data1 -name
130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz |xargs stat<br>
File:
`/export/data1/data/F12FTSCCKF0542-01_ORYknyE/DGESEP00000760/130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41/130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz'<br>
<span style="color:rgb(0,0,0)"><span style="color:rgb(255,0,0)">Size: 287928288</span> <span style="color:rgb(255,0,0)"> Blocks: 562360 </span> IO
Block: 4096</span> regular file<br>
Device: 810h/2064d Inode: 145099 Links: 1<br>
Access: (0555/-r-xr-xr-x) Uid: ( 501/ solexa) Gid: ( 501/
solexa)<br>
Access: 2013-01-22 14:11:53.742552293 +0800<br>
Modify: 2013-01-15 06:51:21.650490280 +0800<br>
Change: 2013-01-15 06:51:21.926667534 +0800<br>
File:
`/export/data1/data/TEST/130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz'<br>
<span style="color:rgb(0,0,0)"><span style="color:rgb(255,0,0)">Size: 287928288</span> <span style="color:rgb(255,0,0)">Blocks: 1048576</span> IO
Block: 4096</span> regular file<br>
Device: 810h/2064d Inode: 234501 Links: 1<br>
Access: (0644/-rw-r--r--) Uid: ( 501/ solexa) Gid: ( 501/
solexa)<br>
Access: 2013-01-22 15:47:05.078570059 +0800<br>
Modify: 2013-01-22 15:24:27.774527465 +0800<br>
Change: 2013-01-22 15:24:27.774527465 +0800<br><br><br>Here is jfs status, <br># stat 130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz <br> File: `130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz'<br> Size: 287928288 Blocks: 562360 IO Block: 4096 regular file<br>
Device: 810h/2064d Inode: 4 Links: 1<br>Access: (0644/-rw-r--r--) Uid: ( 501/ solexa) Gid: ( 501/ solexa)<br>Access: 2013-01-24 16:01:49.793750980 +0800<br>Modify: 2013-01-24 16:02:14.766622939 +0800<br>
Change: 2013-01-24 16:02:14.766622939 +0800<br><br><br><br>md5:<br>find /export/data1 -name
130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz |xargs md5sum<br>
<font color="#FF0000">f570d91ed71b1cbeac6d594766a3055f</font>
/export/data1/data/F12FTSCCKF0542-01_ORYknyE/DGESEP00000760/130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41/130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz<br>
<font color="#FF0000">f570d91ed71b1cbeac6d594766a3055f</font>
/export/data1/data/TEST/130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz<br><br><br>Here is the xfs config and system info:<br><br>#xfs_info /export/data1<br>
meta-data=/dev/sdb isize=256 agcount=32,
agsize=137260368 blks<br>
= sectsz=512 attr=2<br>
data = bsize=4096 blocks=4392331776,
imaxpct=5<br>
= sunit=0 swidth=0 blks<br>
naming =version 2 bsize=4096 ascii-ci=0<br>
log =internal bsize=4096 blocks=521728,
version=2<br>
= sectsz=512 sunit=0 blks,
lazy-count=1<br>
realtime =none extsz=4096 blocks=0,
rtextents=0<br>
<br>
<br>
# cat /etc/redhat-release<br>
CentOS release 6.3 (Final)<br>
<br>
uname -r<br>
2.6.32-279.el6.x86_64<br>
<br>
# modinfo xfs<br>
filename:
/lib/modules/2.6.32-279.el6.x86_64/kernel/fs/xfs/xfs.ko<br>
license: GPL<br>
description: SGI XFS with ACLs, security attributes, large
block/inode numbers, no debug enabled<br>
author: Silicon Graphics, Inc.<br>
srcversion: 2D92BBDEE6D42920ECC78EB<br>
depends: exportfs<br>
vermagic: 2.6.32-279.el6.x86_64 SMP mod_unload modversions<br><br><br clear="all"><br>-- <br>Best Regards<br>Homer Li