Copy file , file blocks is different

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux