Choose style:

Author Topic: When it a 2Tb disk not a 2Tb disk [Closed]  (Read 1565 times)

0 Members and 1 Guest are viewing this topic.

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3045
  • Karma: 563
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
When it a 2Tb disk not a 2Tb disk [Closed]
« on: March 31, 2016, 04:20:32 pm »
Simple answer.... when its set up as etx4 in linux.

Ok, as some of you know I am converting my machine to be 100% Linux including setting up all my USB externals as ext4 and not NTFS.

Problem I am only getting 1.7Tb in ext4 whereas I got 1.8tb with NTFS.   How come and what have I done wrong.

How do I know....  copying files from NTFS 2tb Ext HDD to exact same model but ext4 and I have 154gb free space but 254Gb files to copy over.   Now that will fill up the ext4 drive 100% if they were the same size but  I always left at least 50Gb free space on a drive under windows.  So where has the space gone?

As usual - Thanks in advance.
« Last Edit: April 01, 2016, 01:17:48 am by zebedeeboss »
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25661
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: When it a 2Tb disk not a 2Tb disk
« Reply #1 on: March 31, 2016, 04:49:30 pm »
You're probably doing nothing wrong .. the file system structure itself requires some room.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline GNULINUX

  • Trusted User
  • Member
  • *****
  • Posts: 987
  • Karma: 311
    • View Profile
  • Peppermint version(s): Peppermint Six (x64)
Re: When it a 2Tb disk not a 2Tb disk
« Reply #2 on: March 31, 2016, 06:13:37 pm »
What PCNetSpec said...
Plus... make sure you are watching it in the same units, GB vs GiB or TB vs TiB.  ;)
Online Converter: GB-GiB and MB-MiB or TB-TiB and GB-GiB

Extra info: Even on my own system (Peppermint ext4 partition) it's inconsistent...

Conky: 51.1 GiB total and 28.0 GiB free (= same as SysMon)
SysMon: 54.9 GB total and 30.1 GB free (= same as Conky)
GParted: 52.05 GiB total and 30.63 GiB free (= ? ? ? )

Spoiler (click here to view / hide)
[close]
Peppermint 6  (x64)   -   Windows 7 Ultimate SP1  (x64)
Running different OS flavors in VirtualBox, just for fun!

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 4029
  • Karma: 863
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: When it a 2Tb disk not a 2Tb disk
« Reply #3 on: March 31, 2016, 06:21:09 pm »
What GNULINUX said.  I've found that sizes are different between Windows and Linux.  IE: the same disk or partition will show up as larger in Windows than in Linux.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25661
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: When it a 2Tb disk not a 2Tb disk
« Reply #4 on: March 31, 2016, 07:15:41 pm »
Try right-clicking your /proc directory and selecting "Properties" .. you'll be amazed at the size ;)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Scott

  • Jr. Member
  • **
  • Posts: 61
  • Karma: 21
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 8
Re: When it a 2Tb disk not a 2Tb disk
« Reply #5 on: March 31, 2016, 11:27:30 pm »
Hi Zebedeeboss

   In addition to what the previous threads talk about you may also have a hidden (virtual VCD) partition on the external drive. I had this problem with a WD Passport Drive a few years back and as odd as it sounds, at least at the time, this hidden partition was not simple to remove. Please see this article, it's the one I followed to fix the issue.

How to remove hidden Virtual CD (VCD) partitions on your Western Digital external disks
http://www.dedoimedo.com/computers/passport-vcd.html

Good Luck
Scott

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3045
  • Karma: 563
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: When it a 2Tb disk not a 2Tb disk
« Reply #6 on: April 01, 2016, 01:17:16 am »
Thanks for all the replies...  It's just that I didn't expect to lose nearly 1Tb of storage space just by converting my drives to ext4  :'(  :'(  :'(
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25661
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: When it a 2Tb disk not a 2Tb disk [Closed]
« Reply #7 on: April 01, 2016, 07:33:32 am »
More efficient file system than NTFS, so though you may have less room I'm betting you can fit more on .. that sounds weird doesn't it  ???

What you have to remember is BOTH of those are theoretical maximums (say a ton of 4kb files all contiguous and immutable) .. in the real world neither file system is ever likely to be able to hit that maximum (block sizes vs file sizes, and the way they're organised, etc.).

And since when did figures from Microsoft tell the truth .. What ever happened to Windows 9 ?
« Last Edit: April 01, 2016, 07:52:37 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 4029
  • Karma: 863
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: When it a 2Tb disk not a 2Tb disk [Closed]
« Reply #8 on: April 01, 2016, 09:36:40 am »
What ever happened to Windows 9 ?

Windows 9 was allegedly released.  It was called Windows 8.1.  ???  :-\

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25661
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: When it a 2Tb disk not a 2Tb disk [Closed]
« Reply #9 on: April 01, 2016, 10:16:00 am »
Well that's 8.1 then, not 9
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 4029
  • Karma: 863
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: When it a 2Tb disk not a 2Tb disk [Closed]
« Reply #10 on: April 01, 2016, 10:23:30 am »
Well that's 8.1 then, not 9

Yes, I know.  Some tool tried explaining it once, but it sounded like a bunch of B.S. to me.  Allegedly, if they'd named it Windows 9, certain elements would have thought of it as 9X, rather than just 9, because M$ apparently can't have anything starting with a 9.  To me, that just sounds like bad programming, but then that's what I expect from them.

Here's my theory:  Odd numbered Windows releases are the hits, even numbers are the duds.  I think they're trying to have a hit with an even numbered release by just skipping the odd number:

1. 3.1: hit
2. 95: dud
3. 98: hit
4: ME: (massive) dud
5. XP: hit (best one)
6. Vista: big dud
7. 7: hit
8. 8/8.1: dud
9. 10: jury's out (most likely, dud)

I supposed, if Windows 10 isn't a hit, they'll just skip to 12.  :P

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3045
  • Karma: 563
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: When it a 2Tb disk not a 2Tb disk [Closed]
« Reply #11 on: April 01, 2016, 10:33:48 am »
More efficient file system than NTFS, so though you may have less room I'm betting you can fit more on .. that sounds weird doesn't it  ???

Unfortunately, the truth of the matter is you can't...  as explained in my first post on this thread  :(   and it's nothing to do with "GB vs GiB or TB vs TiB." either.

It is simply and oh so true  "Sh!t appens" get over it Zeb and go buy another 2tb disk and enjoy Linux.
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25661
  • Karma: 2819
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: When it a 2Tb disk not a 2Tb disk [Closed]
« Reply #12 on: April 01, 2016, 10:57:18 am »
Ahh, right, I see....

See the answer with the tick here:
https://superuser.com/questions/300409/is-ext4-more-expensive-than-ntfs

Quote
It's 5% reserved blocks for superuser, which is used to avoid fragmentation. You can adjust it to 1% by mkfs.ext4 -m 1.

Quote from: FULL definition of the -m switch from 'man mkfs.ext4'
       -m reserved-blocks-percentage
              Specify the percentage of the filesystem blocks reserved for the
              super-user.   This  avoids  fragmentation, and allows root-owned
              daemons, such as syslogd( 8 ), to continue to  function  correctly
              after non-privileged processes are prevented from writing to the
              filesystem.  The default percentage is 5%.

So it would seem NTFS's policy of not reserving space for fragmentation manipulation might actually make it better (capacity wise) for "storage" drives where the data is going to be written once contiguously and never changed .. but worse if data ever gets moved around / removed and added.
(which is just about all use cases .. particularly where an OS is run from it ;))
« Last Edit: April 01, 2016, 11:02:41 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3045
  • Karma: 563
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: When it a 2Tb disk not a 2Tb disk [Closed]
« Reply #13 on: April 01, 2016, 12:00:11 pm »
Thanks for the update 5% of 2048gb = just over 102Gb    so that now adds up.  Thanks :)
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080