Size vs Size on disk

Home Forums Other Misc Size vs Size on disk

This topic contains 4 replies, has 3 voices, and was last updated by Avatar shefi 2 years, 11 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • loureed4
    loureed4
    Participant
    #166782

    [ATTACH=JSON]{“data-align”:”none”,”data-attachmentid”:”508668″,”data-size”:”full”}[/ATTACH] Hello,

    Does anyone know why there is a difference in value between those two measures: “Size” and “Size on disk” , on the properties of a file ?

    (I attach an image for clarification purposes)

    Thanks in advance.

    Avatar
    Ossian
    Moderator
    #191496

    Disks store information in blocks, so a 1 byte file would still occupy a block (normally 4kb)

    Avatar
    shefi
    Member
    #380047

    So, the real size would the “size on disk” ?

    Avatar
    Ossian
    Moderator
    #191497

    Not necessarily
    In your example, the actual file is 26.9Kb – on a disk with 4K blocks (clusters), it is 28Kb, on a disk with 8K blocks, it would be 32Kb
    See https://support.microsoft.com/en-gb/kb/140365 for default cluster sizes

    Avatar
    shefi
    Member
    #380048
    Ossian;n508676 wrote:
    Not necessarily
    In your example, the actual file is 26.9Kb – on a disk with 4K blocks (clusters), it is 28Kb, on a disk with 8K blocks, it would be 32Kb
    See https://support.microsoft.com/en-gb/kb/140365 for default cluster sizes

    Thanks a lot for the explanation and the link!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.