After the copy, there is a directory size mismatch.

unix syzadmin unixsyzadmin at gmail.com
Mon Jun 5 04:07:17 UTC 2006


Hi,

Find attached the excerpt of dumpe2fs results for both the systems. The
block size for both the systems seems to be 4096 bytes or 4K.  Please
suggest.

Source
=====
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          12805845-7b78-4185-87db-b9c0d44fe055
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      ext_attr resize_inode filetype sparse_super
large_file
Default mount options:    (none)
Filesystem state:         not clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              17072128
Block count:              34138116
Reserved block count:     1706905
Free blocks:              14447178
Free inodes:              16555269
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1015
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         16384
Inode blocks per group:   512
Filesystem created:       Tue Aug 30 23:29:46 2005
Last mount time:          Sun May 14 11:20:53 2006
Last write time:          Mon Jun  5 09:03:46 2006
Mount count:              1
Maximum mount count:      35
Last checked:             Sun May 14 11:20:51 2006
Check interval:           15552000 (6 months)
Next check after:         Fri Nov 10 11:20:51 2006
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:    128
Default directory hash:   tea
Directory Hash Seed:      b663db93-1954-4d61-bf79-d52bdd962828

Destination
========
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          194a62c4-28f8-4b8d-b26c-382230f30ad4
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal filetype needs_recovery sparse_super
large_file
Default mount options:    (none)
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              12959744
Block count:              25907200
Reserved block count:     1295360
Free blocks:              20573445
Free inodes:              12852920
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         16384
Inode blocks per group:   512
Filesystem created:       Tue Nov 30 12:36:40 2004
Last mount time:          Wed Apr 19 10:39:51 2006
Last write time:          Wed Apr 19 10:39:51 2006
Mount count:              9
Maximum mount count:      26
Last checked:             Wed Mar  1 10:03:30 2006
Check interval:           15552000 (6 months)
Next check after:         Mon Aug 28 10:03:30 2006
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:    128
Journal UUID:             <none>
Journal inode:            8
Journal device:           0x0000
First orphan inode:       0

Thanks & Regards.


On 6/5/06, Asanka Gunasekera <asanka_gunasekera at yahoo.co.uk> wrote:
>
> Hay can you compare the blocak size of the two do dumpe2fs /dev/hda1 |
> grep block
>
> ----- Original Message ----
> From: unix syzadmin <unixsyzadmin at gmail.com>
> To: General Red Hat Linux discussion list <redhat-list at redhat.com>
> Sent: Friday, 2 June, 2006 4:29:48 PM
> Subject: After the copy, there is a directory size mismatch.
>
> Hi,
>
> I am copying from one redhat linux server to another using scp recursive
> copy (scp -r).  After the copy, there is a directory size
> mismatch.  Please
> suggest.
>
> Source
> =====
> du -sk *
> 4       all_env.sh
> 16      all_home
> 816     ALSB_2.1
> 628     Certification_Docs
> 6743852 Diamond
> 656952  installed_software
> 28296   jrockit142
> 73548   jrockit-j2re1.4.2_08
> 16      lost+found
> 780     wls90_certification_docs
>
> Destination
> ========
> du -sk *
> 4       all_env.sh
> 8       all_home
> 772     ALSB_2.1
> 572     Certification_Docs
> 6709356 Diamond
> 652824  installed_software
> 28288   jrockit142
> 71364   jrockit-j2re1.4.2_08
> 4       lost+found
> 688     wls90_certification_docs
>
> Note: The source is RHEL AS 4 Update1, the destination is a RHEL AS 3
> (Taroon).
>
> Thanks & Regards,
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



More information about the redhat-list mailing list