Results 1 to 8 of 8

Thread: Lost GB when formating new MyPassport 3TB

  1. #1
    Join Date
    Jan 2006
    Beans
    279
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Lost GB when formating new MyPassport 3TB

    Hi,

    I just bought a MyPassport 3TB and removed the Nfts partition with Gparted, then made a new one with ext4. But to my surprise Gparted shows the new partition with 44GB already in use. Is this normal?

    And when I right click on the disk and look at the properties, it gets even worse. The pie chart shows 150GB in use.

    Is this normal or did I do something wrong? Or is ext4 not the best way to format a MyPassport drive?

    Any help or information would be greatly appreciated (before I start filling the disk

  2. #2
    Join Date
    Jul 2009
    Beans
    516
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Lost GB when formating new MyPassport 3TB

    When you create an ext4 partition it usually reserves a portion for use by root which I think defaults to 5%.

    You can get this back by running:
    Code:
    $ sudo tune2fs -m 0 /dev/sdX1
    where /dev/sdX1 is the name of your partition.
    Mark your thread as [SOLVED], use Thread Tools on forum page.

  3. #3
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,822
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Lost GB when formating new MyPassport 3TB

    Part of that 3 TB partition is used for file system overhead. Could that be those 44 GB? 1.5% of the total size? I think so.

    By default 5% of the partition is reserved for root. That's good for a smaller root partition to have some emergency space (or a few years back for any full install, when hard drives were much smaller than now), but for a big data partition it's much. Although you probably won't miss that 5% of your disk space and it's better anyway to leave some free space to prevent fragmentation and keep performance high. That explains the 150 GB unavailable space. The 44 GB overhead isn't even shown in the pie chart.

    Edit: You want to update your forum profile. I hope you aren't really running Ubuntu 10.10 anymore.

  4. #4
    Join Date
    Jan 2006
    Beans
    279
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Lost GB when formating new MyPassport 3TB

    Hi btindie and Impavidus,

    Thank for your replies.

    So would it be save to reduce the partition reserved for root to 0% with tune2fs? Or would it be safer to reserve some small percentage? (are percentages like 0.25 allowed?) Or doesn't it matter on a usb drive and can I safely reduce it to zero?

    (I'll update my profile I'm on 14.04)

  5. #5
    Join Date
    Jan 2006
    Beans
    279
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Lost GB when formating new MyPassport 3TB

    Hi everybody,

    So I went ahead and did (substitutin sdX1 with the right partition)
    Code:
    $ sudo tune2fs -m 0 /dev/sdX1
    and...

    the 150GB in the pie chart (disk properties) disappeared.

    But the 44GB that Gparted reports as being in use didn't...

    So what are those mysterious 44GB doing that Gparted reports?

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Lost GB when formating new MyPassport 3TB

    Probably the ext4 journal to improve performance. And partition table which is small.

    MB vs MiB
    http://en.wikipedia.org/wiki/Binary_prefix
    http://www.osforge.com/news/001337.html
    Then when you format it, the ext4 is journalized so it reserves space for the journal. This improves performance and allows error correction for the cost of a small amount of space. Also reserves space for superuser.
    http://blog.flexion.org/index.php/20...ed-space-ext4/
    Hard Drive size
    http://en.wikipedia.org/wiki/Gigabyt...umer_confusion
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7

    Re: Lost GB when formating new MyPassport 3TB

    The MyBook I have is a 3T and formats to 2.7T using ext4
    Windows assumes the user is an idiot.
    Linux demands proof.

  8. #8
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Lost GB when formating new MyPassport 3TB

    Quote Originally Posted by Habitual View Post
    The MyBook I have is a 3T and formats to 2.7T using ext4
    That would be 3TB (as that's the unit hard rive manufacturers prefer due to it giving them prettier big numbers ) formatted to 2.7 TiB (The unit that matches how your computer actually uses binary data). No space lost at all. 3TB = 2.728 TiB.

    It's quite common that programs use different units while not actually changing the name, as the standard for using 1000-based system instead of 1024-based is relatively new (and like mentioned, doesn't actually match with what's happening in your computer, even though it does fit better with the usual SI standards used for other units). If there's any doubt, I usually just do a quick check if the difference in numbers would match for 1000 VS 1024 based units conversion, almost always it does...

    edit. To make it more confusing, data transfers use 1000-base anyway (as pure data transferred through a network might or might not be computer related), while things like RAM, memory cards and (at least professional) SSD drives are built & sold in 1024-based units (because of how our binary-based computers and memory technology actually work and are manufactured). This means that if you have a GB of data in you have a GB worth of data in your RAM, it won't fit to GB of disk space And the contents of 1GB SD card would fit in 1GB of memory, but once again would not fit on 1GB hard drive.

    edit2: https://www.unitjuggler.com/convert-...TiB.html?val=3
    Last edited by mcduck; July 7th, 2016 at 10:44 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •