| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Copy file , file blocks is different |
| From: | Homer Li <01jay.ly@xxxxxxxxx> |
| Date: | Thu, 24 Jan 2013 17:48:25 +0800 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=7/jF6a5++8OWda+sKPaRN06hpkBL3JD1XfQtCNxjDLg=; b=JYYXl6ws9piVB0l6Jrhgac1U5pdzAmj9ZeMvQ1dyZOCYD37QA/7ixbZmTYdpvWtDyo O66ge44nmcWhLMyc+dHFYdJn+hEf5nOIvp2YSF2NEEXLoemjwlEp4ubi23gzvkB6+d0s hae0vdcewRCYfgat4+UOT/zi5CL+lIKRpBZgxdQE4hg6NXE2s+408L05POr9qZJy0KEE 2ikFkh6Z2mtS6wdsAig3a1EqU9HnZkH/fYvLISePbyp1WdNClLB090y8kdNptbDa9K9K xPv713HBKLDOz96+J9gLoKt2KRCYTRVTY+l1GA/879bCjAn8e7i7VBK26Lr5LzO6uwPO c6kg== |
|
Hello,  There are 2 file in the xfs device, md5 is the same, but the size is different. Â I don't know why .......  Does anyone could help me?  Server1 is EMC Isilon export from NFS (mount point: A, onefs)  Server2 is rack server export from NFS (mount point: B, xfs)  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.  I Switch to Server3 , and use jfs or ext3, it 's ok.  mount point: df -h /export/data1/ Filesystem Size Used Avail Use% Mounted on /dev/sdb 17T 13T 4.1T 76% /export/data1 I don't know why their "Blocks" is different. #find /export/data1 -name 130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz |xargs stat  File: `/export/data1/data/F12FTSCCKF0542-01_ORYknyE/DGESEP00000760/130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41/130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz'  Size: 287928288  Blocks: 562360 IO Block: 4096 regular file Device: 810h/2064d Inode: 145099 Links: 1 Access: (0555/-r-xr-xr-x) Uid: ( 501/ solexa) Gid: ( 501/ solexa) Access: 2013-01-22 14:11:53.742552293 +0800 Modify: 2013-01-15 06:51:21.650490280 +0800 Change: 2013-01-15 06:51:21.926667534 +0800  File: `/export/data1/data/TEST/130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz'  Size: 287928288  Blocks: 1048576 IO Block: 4096 regular file Device: 810h/2064d Inode: 234501 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 501/ solexa) Gid: ( 501/ solexa) Access: 2013-01-22 15:47:05.078570059 +0800 Modify: 2013-01-22 15:24:27.774527465 +0800 Change: 2013-01-22 15:24:27.774527465 +0800 Here is jfs status, # stat 130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz  File: `130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz'  Size: 287928288  Blocks: 562360 IO Block: 4096 regular file Device: 810h/2064d Inode: 4 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 501/ solexa) Gid: ( 501/ solexa) Access: 2013-01-24 16:01:49.793750980 +0800 Modify: 2013-01-24 16:02:14.766622939 +0800 Change: 2013-01-24 16:02:14.766622939 +0800 md5: find /export/data1 -name 130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz |xargs md5sum f570d91ed71b1cbeac6d594766a3055f /export/data1/data/F12FTSCCKF0542-01_ORYknyE/DGESEP00000760/130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41/130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz f570d91ed71b1cbeac6d594766a3055f /export/data1/data/TEST/130111_I262_FCD1F5KACXX_L8_ORYknyECRAASE-41_1.fq.gz Here is the xfs config and system info: #xfs_info /export/data1 meta-data="" isize=256 agcount=32, agsize=137260368 blks  = sectsz=512 attr=2 data = bsize=4096 blocks=4392331776, imaxpct=5  = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 log =internal bsize=4096 blocks=521728, version=2  = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0 # cat /etc/redhat-release CentOS release 6.3 (Final) uname -r 2.6.32-279.el6.x86_64 # modinfo xfs filename: /lib/modules/2.6.32-279.el6.x86_64/kernel/fs/xfs/xfs.ko license: GPL description: SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled author: Silicon Graphics, Inc. srcversion: 2D92BBDEE6D42920ECC78EB depends: exportfs vermagic: 2.6.32-279.el6.x86_64 SMP mod_unload modversions -- Best Regards Homer Li |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Initial mount with inode32 option, Arkadiusz MiÅkiewicz |
|---|---|
| Next by Date: | Re: Initial mount with inode32 option, Dave Chinner |
| Previous by Thread: | Initial mount with inode32 option, Harry Edmon |
| Next by Thread: | Re: Copy file , file blocks is different, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |