On 2017-06-13 15:14, Istvan Gabor wrote:
Hello:
Shortly: I have to identical partitions I formatted with the same tool. I copied everything from one partition to the other still the file system usage is different. Why?
Longer version:
I have two extended partitions on the same hard disks. They have identical sizes and block numbers. fdisk report is:
Device Boot Start End Blocks Id System /dev/sdc7 399155791 457744782 29294496 83 Linux /dev/sdc8 457744846 516333837 29294496 83 Linux
Are they both the same sector size? New disks sectors are 4 KiB.
I formatted both partitions as ext4 using Leap 42.2 yast2 partition tool with its default options. I installed Leap 42.2 onto partition 7. Partition 6 also has Leap 42.2 installed earlier. I booted part6 Leap 42.2, mounted partitions 7 and 8 (as /mnt1 and /mnt2) and rsynced everything from partition 7 to 8:
rsync -a /mnt1/ /mnt2
Interestingly the file systems usage is not the same for the two partitions (part7 is mnt1, part8 is mnt2):
df -h Filesystem Size Used Avail Use% Mounted on
/dev/sdc7 28G 6.1G 21G 24% /mnt1 /dev/sdc8 28G 6.7G 20G 26% /mnt2
Why is this difference?
Do you have sparse files, perhaps? -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)