USB memeory stick query

Discussion in 'hardware' started by samy, Nov 7, 2024.

  1. samy

    samy Registered Member

    Joined:
    Aug 18, 2008
    Posts:
    254
    Today I bought a new SanDisk 64 GB USB memory stick.. When I connected it to the computer it
    shows only 57.2 GB . Where the 6.8 GB disappeared?
     
  2. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    5,110
    Location:
    .
  3. garioch7

    garioch7 Registered Member

    Joined:
    Nov 17, 2011
    Posts:
    103
    Location:
    Port Hastings, Nova Scotia, Canada
    @samy ,

    You might want to try the Gibson Research ValiDrive utility to check that USB drive. It is freeware, and I check all of my flash drives with it after purchasing them.

    Please share the results with us. Have a great day.

    Regards,
    Phil
     
  4. xxJackxx

    xxJackxx Registered Member

    Joined:
    Oct 23, 2008
    Posts:
    9,032
    Location:
    USA
  5. Bill_Bright

    Bill_Bright Registered Member

    Joined:
    Jun 29, 2007
    Posts:
    4,126
    Location:
    Nebraska, USA
    I have never heard or read that. Nor do I see how they could. The HD makers are not wrong. In fact, if you read your own article, basing sizes on the decimal system, instead of the binary system, makes more sense in terms of user understandings.

    Having said that, using different values (1000 for kilo vs 1024 for example) is not the only reason drives show different values for space. Some of that space is used for drive mapping. Once the drive is formatted, some of the space is used up. It is like file folders in a file cabinet. You could put more sheets of paper in each drawer if you didn't have a bunch of folders in there too. But the folders are needed to keep related sheets of paper (parts of the same documents) together to make them easier to find.
     
  6. reasonablePrivacy

    reasonablePrivacy Registered Member

    Joined:
    Oct 7, 2017
    Posts:
    2,165
    Location:
    Member state of European Union
    Apart from small reserved space for bad blocks, "mapping" is the OS job. Specifically filesystem part of OS. It affects free space, but should not affect reported total space.
     
  7. Bill_Bright

    Bill_Bright Registered Member

    Joined:
    Jun 29, 2007
    Posts:
    4,126
    Location:
    Nebraska, USA
    As part of mapping, I also mean the file tables and file system created when the drive is formatted. These take up space even when no files have been saved to the drive.
     
  8. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,513
    Location:
    NSW, Australia
    They are different units. 64 GB is gigabytes. 57.2 GB is gibibytes. GiB. Microsoft creates confusion by calling it GB when it is really GiB.

    Also, I have an empty SSD which shows 117.38 GiB of Free Space. (Using TereByte Unlimited Partition Work) An NTFS partition is created and the partition size is 117.38 GiB. The same size as the previous Free space. The formatted partition contains 114.93 MiB of Used space and 117.24 GiB of Free space.
     
  9. Bill_Bright

    Bill_Bright Registered Member

    Joined:
    Jun 29, 2007
    Posts:
    4,126
    Location:
    Nebraska, USA
    I think Microsoft is trying to avoid confusion. GiB is not commonly used by the entire scientific community.

    The problem really stems from the fact that 1 kilobyte is expressed by the different disciplines in different ways. For example, the communications, electronics and physics sectors use decimal system's metric units. The information technology and data storage industries tend to use the binary system and its non-metric units. Microsoft did not dictate how it was done. That was established before Microsoft's time. I note hard disks have been around since the late 1950s.
     
  10. samy

    samy Registered Member

    Joined:
    Aug 18, 2008
    Posts:
    254
    Hi Phil
    1.I tested the new (empty) 64GB USB drive using the ValiDrive. It shows 61.5 GB. On the desktop I got 57.2GB
    2. I also tested an old Sandisk 32 GB USB drive. ValiDrive shows 31.4GB. On the desktop I got 7.50 GB free of 29.2 GB.
    On this drive I tried to add a file sized 5.2 GB and got a windows "file too large".
    I checked the size of the drive contents (files and folders) using "Properties". I got 21.7 GB. o_O:thumbd:
     
  11. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,513
    Location:
    NSW, Australia
    It's likely you have a FAT32 partition. Files over 4 GiB aren't supported.
     
  12. reasonablePrivacy

    reasonablePrivacy Registered Member

    Joined:
    Oct 7, 2017
    Posts:
    2,165
    Location:
    Member state of European Union
    As Brian said is is filesystem limitation and probably nothing is wrong with USB drive in that regard.
    Format it using exFAT or NTFS. It will destroy files so be sure to move them to other storage beforehand. I would suggest exFAT as it does not have journaling which improves performance and decreases write operations.
     
  13. xxJackxx

    xxJackxx Registered Member

    Joined:
    Oct 23, 2008
    Posts:
    9,032
    Location:
    USA
    In my experience I have found exFAT to be slower than NTFS. It possibly could depend on the device. I would test both and settle on the one that provides better results.
     
  14. garioch7

    garioch7 Registered Member

    Joined:
    Nov 17, 2011
    Posts:
    103
    Location:
    Port Hastings, Nova Scotia, Canada
    @samy

    Thanks for sharing your ValiDrive results with us. :thumb: Reading through this topic, I see that you are getting excellent advice, so I will bow out.

    Have a great day.

    Regards,
    Phil
     
  15. samy

    samy Registered Member

    Joined:
    Aug 18, 2008
    Posts:
    254
    Thank you all for your valuable assistance
     
  16. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,513
    Location:
    NSW, Australia
    Samy, some maths to keep us entertained.

    A MBR disk is limited to 2^32 sectors. So if you have 512 byte sectors the maximum disk size is 2^32 * 512 which is 2,199,023,255,552 bytes. That is 2 TiB or about 2.2 TB.

    But what if the sectors are larger? Disks with 4K Native sectors, eight times larger than 512 byte sectors, can have a maximum MBR disk size of 16 TiB or about 17.6 TB. They still have 2^32 sectors.
     
  17. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,618
    Location:
    Location Unknown
    Nerd.
     
  18. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,513
    Location:
    NSW, Australia
    I've always been interested in maths. When I did celestial navigation years ago, I had to learn spherical trigonometry. We didn't do that at school.
     
  19. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,618
    Location:
    Location Unknown
    The cripple stands by his statement.
     
  20. Brian K

    Brian K Imaging Specialist

    Joined:
    Jan 28, 2005
    Posts:
    12,513
    Location:
    NSW, Australia
    Correct, I have many nerdy interests.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.