I have now checked all of the directory sizes for each partition using:-
- Code: Select all
find /path-to-card -type d -exec ls -ld --time-style=full-iso '{}' ';'
and looked at the differences given for the bytes used for each directory [alone, not its contents].
{the --full-iso made it easier to pull out the size info for summing}.
Of the 16378 folders 110 had byte allocations that were different between each card.
The differences were either 1 or 2 blocks of 4KiB in size.
Card-1 had 56 that were bigger than card-2 even though it has the smaller partition size
and of these: 12 were 2 blocks larger.
For the larger partition in card-2: just 6 were 2 blocks larger.
p.h wrote:You can compare the two filesystems with
- Code: Select all
dumpe2fs -h /dev/sdxy
For card-1 the outputs of that is:-
- Code: Select all
Filesystem volume name: SDS_EXT2
Last mounted on: /media/user1/SDS_EXT2
Filesystem UUID: ff8e063d-41f1-44a3-a0ea-b363fb721608
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: ext_attr resize_inode dir_index filetype sparse_super large_file
Filesystem flags: signed_directory_hash
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 7618560
Block count: 30449408
Reserved block count: 1522470
Free blocks: 15595804
Free inodes: 7215086
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 1016
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
Filesystem created: Sun Apr 4 12:33:02 2021
Last mount time: Wed Apr 7 15:34:38 2021
Last write time: Wed Apr 7 15:34:41 2021
Mount count: 1
Maximum mount count: -1
Last checked: Wed Apr 7 15:04:36 2021
Check interval: 0 (<none>)
Lifetime writes: 55 GB
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 32
Desired extra isize: 32
Default directory hash: half_md4
Directory Hash Seed: 1338f6f4-de6c-4b34-a6d3-107001ccbdcb
and for card-2 it is:-
- Code: Select all
Filesystem volume name: SDS2_EXT2
Last mounted on: /media/user1/SDS2_EXT2
Filesystem UUID: 110a4cbb-8820-434d-a9ac-a61f226c1d34
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: ext_attr resize_inode dir_index filetype sparse_super large_file
Filesystem flags: signed_directory_hash
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 7618560
Block count: 30453504
Reserved block count: 1522675
Free blocks: 15599906
Free inodes: 7215086
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 1016
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8192
Inode blocks per group: 512
Filesystem created: Sun Apr 4 08:45:09 2021
Last mount time: Wed Apr 7 15:34:37 2021
Last write time: Wed Apr 7 15:34:42 2021
Mount count: 1
Maximum mount count: -1
Last checked: Wed Apr 7 15:07:57 2021
Check interval: 0 (<none>)
Lifetime writes: 55 GB
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 32
Desired extra isize: 32
Default directory hash: half_md4
Directory Hash Seed: 34d31303-32bb-4b72-b235-249d7a161b39