F5F Stay Refreshed Software Operating Systems The first drive's backup occupies less space on the second drive.

The first drive's backup occupies less space on the second drive.

The first drive's backup occupies less space on the second drive.

G
GamingChaos3
Junior Member
14
01-15-2023, 05:48 PM
#1
I possess two storage units, each with identical capacity and formatted using ext4. The confusing aspect is that the files occupy less space on the backup drive—despite being a direct 1:1 rsync copy and having the same logical size. What's happening? Volume names differ: storage2 versus backup2.
G
GamingChaos3
01-15-2023, 05:48 PM #1

I possess two storage units, each with identical capacity and formatted using ext4. The confusing aspect is that the files occupy less space on the backup drive—despite being a direct 1:1 rsync copy and having the same logical size. What's happening? Volume names differ: storage2 versus backup2.

G
goldcake_HD
Member
104
01-22-2023, 11:24 PM
#2
Both sides contain identical file counts. Rsync operates without reading what it can't access, ensuring consistency.
G
goldcake_HD
01-22-2023, 11:24 PM #2

Both sides contain identical file counts. Rsync operates without reading what it can't access, ensuring consistency.

T
TheBread69
Member
200
01-23-2023, 10:56 PM
#3
Dolphin reports identical file counts, folders, and total size, yet he questions the backup size being smaller. He wonders about counting files via the console and suspects Dolphin might be right. I back up as root to confirm permissions aren’t a problem, though ownership should remain consistent.
T
TheBread69
01-23-2023, 10:56 PM #3

Dolphin reports identical file counts, folders, and total size, yet he questions the backup size being smaller. He wonders about counting files via the console and suspects Dolphin might be right. I back up as root to confirm permissions aren’t a problem, though ownership should remain consistent.

D
d1n075
Junior Member
3
01-24-2023, 12:47 AM
#4
Check if both disks use identical filesystem types and sector sizes. If they differ, it's likely due to variations in the underlying storage systems.
D
d1n075
01-24-2023, 12:47 AM #4

Check if both disks use identical filesystem types and sector sizes. If they differ, it's likely due to variations in the underlying storage systems.

K
Kawiyi
Junior Member
18
01-24-2023, 07:26 AM
#5
They use ext4 filesystem with a 4096 block size.
K
Kawiyi
01-24-2023, 07:26 AM #5

They use ext4 filesystem with a 4096 block size.

S
sadri01
Junior Member
3
01-25-2023, 03:55 PM
#6
Running the command "du -sh --apparent-size /mnt/storage2 /mnt/backup2" will display the sizes in a human-readable format. The --apparent-size option shows the size as it appears to the user, not the actual disk usage. Check the documentation at https://linux.die.net/man/1/du for details.
S
sadri01
01-25-2023, 03:55 PM #6

Running the command "du -sh --apparent-size /mnt/storage2 /mnt/backup2" will display the sizes in a human-readable format. The --apparent-size option shows the size as it appears to the user, not the actual disk usage. Check the documentation at https://linux.die.net/man/1/du for details.

D
91
01-27-2023, 11:30 AM
#7
Run the command with the specified parameters to proceed.
D
DeadlyKiller06
01-27-2023, 11:30 AM #7

Run the command with the specified parameters to proceed.

P
PiggieLegends
Junior Member
19
01-27-2023, 02:04 PM
#8
The firmware handling data volume calculations might be communicating differently with the kernel and filesystem.
P
PiggieLegends
01-27-2023, 02:04 PM #8

The firmware handling data volume calculations might be communicating differently with the kernel and filesystem.

H
hayabusa4649
Junior Member
43
01-29-2023, 07:26 AM
#9
It's more likely due to scattered files and indirect blocks. When a file is saved and read, it reserves extra space for unused areas and metadata. During copying or moving, data may get lost and empty spots aren't properly assigned. This information doesn't impact the file's content but influences the filesystem and overall disk usage. The "--apparent-size" option in du adjusts for this, showing an estimate of the actual storage needed.
H
hayabusa4649
01-29-2023, 07:26 AM #9

It's more likely due to scattered files and indirect blocks. When a file is saved and read, it reserves extra space for unused areas and metadata. During copying or moving, data may get lost and empty spots aren't properly assigned. This information doesn't impact the file's content but influences the filesystem and overall disk usage. The "--apparent-size" option in du adjusts for this, showing an estimate of the actual storage needed.