F5F Stay Refreshed Software Operating Systems "size" vs "size on disk"?

"size" vs "size on disk"?

"size" vs "size on disk"?

X
XxGrenidierXx
Posting Freak
813
11-18-2025, 10:12 AM
#1
Hello everyone, I’m trying to move a folder from my NAS to my local machine using a script. The properties window shows both size and size on disk, but I’m not sure which one matters more. On my system, 144GB should fit comfortably, while 11.4TB seems impossible. Can someone clarify the difference between these values?
X
XxGrenidierXx
11-18-2025, 10:12 AM #1

Hello everyone, I’m trying to move a folder from my NAS to my local machine using a script. The properties window shows both size and size on disk, but I’m not sure which one matters more. On my system, 144GB should fit comfortably, while 11.4TB seems impossible. Can someone clarify the difference between these values?

N
NietEnzoKnol
Junior Member
5
11-19-2025, 02:40 PM
#2
Most NAS devices include compression enabled by default, meaning the stored file sizes reflect compressed data. I initially thought the numbers indicated 11.4 GB instead of TB, which likely caused confusion. Updated: I suspect snapshots might be active and frequent file changes could be contributing to this issue. Edited October 18, 2021 by RONOTHAN##
N
NietEnzoKnol
11-19-2025, 02:40 PM #2

Most NAS devices include compression enabled by default, meaning the stored file sizes reflect compressed data. I initially thought the numbers indicated 11.4 GB instead of TB, which likely caused confusion. Updated: I suspect snapshots might be active and frequent file changes could be contributing to this issue. Edited October 18, 2021 by RONOTHAN##

S
Seoulsib
Member
192
11-19-2025, 08:14 PM
#3
I tried to cover it all on my own, though my translation abilities aren’t great. Here’s the full info from the link you shared: https://askanydifference.com/difference-...e-on-disk/
S
Seoulsib
11-19-2025, 08:14 PM #3

I tried to cover it all on my own, though my translation abilities aren’t great. Here’s the full info from the link you shared: https://askanydifference.com/difference-...e-on-disk/

J
josiecatz__10
Senior Member
640
11-20-2025, 01:44 PM
#4
Size refers to the true dimensions of the file. Disk space is how much room it takes on the storage device. This depends on the disk's grouping capacity. For instance, with a 4KB group size, a single byte file must be at least 4KB because that’s the smallest addressable chunk your drive can use. The big variation suggests the drive was tuned for big files, possibly using a large group size but holding many small ones.
J
josiecatz__10
11-20-2025, 01:44 PM #4

Size refers to the true dimensions of the file. Disk space is how much room it takes on the storage device. This depends on the disk's grouping capacity. For instance, with a 4KB group size, a single byte file must be at least 4KB because that’s the smallest addressable chunk your drive can use. The big variation suggests the drive was tuned for big files, possibly using a large group size but holding many small ones.

S
S3R4PHIM
Member
128
11-20-2025, 05:45 PM
#5
Various factors influence how files appear in size, often causing discrepancies between total storage used and actual file dimensions. Physical limits of storage may also play a role. External links or references to files can affect space usage depending on the underlying filesystem. The same file might be stored multiple times, increasing its footprint. Additionally, some systems allow several streams per file, which can lead to unusually large allocations for certain streams.
S
S3R4PHIM
11-20-2025, 05:45 PM #5

Various factors influence how files appear in size, often causing discrepancies between total storage used and actual file dimensions. Physical limits of storage may also play a role. External links or references to files can affect space usage depending on the underlying filesystem. The same file might be stored multiple times, increasing its footprint. Additionally, some systems allow several streams per file, which can lead to unusually large allocations for certain streams.

D
DJMB
Junior Member
9
11-20-2025, 07:09 PM
#6
Many responses are overwhelming! I’m trying to understand how the file system affects these results. When moving files locally, the disk size should match more closely with the actual size. @Eigenvektor tried a small text file and got 256MB on disk—seems accurate. @HanZie82 your note is useful. @RONOTHAN your question about snapshots is important; they can explain storage differences. @porina regarding references: if a file is used three times, does it really double the storage? I’m still trying to grasp what you mean by streams.
D
DJMB
11-20-2025, 07:09 PM #6

Many responses are overwhelming! I’m trying to understand how the file system affects these results. When moving files locally, the disk size should match more closely with the actual size. @Eigenvektor tried a small text file and got 256MB on disk—seems accurate. @HanZie82 your note is useful. @RONOTHAN your question about snapshots is important; they can explain storage differences. @porina regarding references: if a file is used three times, does it really double the storage? I’m still trying to grasp what you mean by streams.

I
Its_Jerome
Junior Member
8
11-22-2025, 01:01 AM
#7
I don't know how smart or stupid file explorer is, but there is some risk it might count multiple times.
I
Its_Jerome
11-22-2025, 01:01 AM #7

I don't know how smart or stupid file explorer is, but there is some risk it might count multiple times.

P
PapieszZKremu
Member
132
12-03-2025, 10:32 PM
#8
It seems unlikely there are 256MB clusters; the NAS might be returning incorrect data. In this scenario, I’d skip the "size on disk" information.
P
PapieszZKremu
12-03-2025, 10:32 PM #8

It seems unlikely there are 256MB clusters; the NAS might be returning incorrect data. In this scenario, I’d skip the "size on disk" information.

N
Natty77
Junior Member
41
12-04-2025, 04:48 AM
#9
I saved the folder to my local device and the total storage usage is around 144GB, with a difference of about 100MB—everything looks fine!
N
Natty77
12-04-2025, 04:48 AM #9

I saved the folder to my local device and the total storage usage is around 144GB, with a difference of about 100MB—everything looks fine!