Could someone explain this to me?
Not downloaded yet
I used Parted to create the partitions on my fresh Arch install. I ran the commands, I had my swap space (sda1) set for 1MiB-8GiB, my root (sda2) from 8GiB-100GiB, and my home from 100GiB to 100%. I noticed when Parted made these, it made my root run to 107GiB; I realize it has to round a bit, but a full 7GB worth of rounding?
The other thing I noted is that Parted says my root partition is 98.8GB while running lsblk says it's 92GB. lsblk also says my home is 598.7GB, and Parted says 643GB. Why is there such a large discrepancy there? And why does lsblk also read the size of my harddrive as 698.7GB rather than something closer to the correct 750?
Here is a picture of the screen listing everything: http://i.imgur.com/nw3ztcR.jpg
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Image
- ID
- 3602ch
8 comments
Now, this is what's happening:
That's where the 107 comes from.
Well today I learned about gibibytes. This was a much simpler answer than I expected...
To give a visualization to the other comments, here's a few outputs on my own system. There's a
sizecommand in GNU Parted that can make it display GB (Gigabyte, 10003 bytes) versus GiB (Gibibyte, 10243 bytes) in its output. It looks likelsblkoutputs in Gibibytes (or Mebibytes, or whatever relevant order of magnitude) for its sizes.#####
######
#### Gibibyte:
Interesting: [Data rate units](https://en.wikipedia.org/wiki/Data_rate_units) | [Gigabyte](https://en.wikipedia.org/wiki/Gigabyte) | [Giga-](https://en.wikipedia.org/wiki/Giga-) | [Kibibyte](https://en.wikipedia.org/wiki/Kibibyte)
Parent commenter can [toggle NSFW](/message/compose?to=autowikibot&subject=AutoWikibot NSFW toggle&message=%2Btoggle-nsfw+cr9ghl3) or[](#or) [delete](/message/compose?to=autowikibot&subject=AutoWikibot Deletion&message=%2Bdelete+cr9ghl3). Will also delete on comment score of -1 or less. | FAQs | [Mods](http://www.np.reddit.com/r/autowikibot/comments/1x013o/for_moderators_switches_commands_and_css/) | [Magic Words](http://www.np.reddit.com/r/autowikibot/comments/1ux484/ask_wikibot/)
Some programs use 10n (decimal notation) while others use 2n (binary notation) to represent data.
See this wikipedia article.
#####
######
#### Orders of magnitude (data):
Interesting: [Tebibyte](https://en.wikipedia.org/wiki/Tebibyte) | [Gibibyte](https://en.wikipedia.org/wiki/Gibibyte) | [Exbibyte](https://en.wikipedia.org/wiki/Exbibyte) | [Pebibyte](https://en.wikipedia.org/wiki/Pebibyte)
Parent commenter can [toggle NSFW](/message/compose?to=autowikibot&subject=AutoWikibot NSFW toggle&message=%2Btoggle-nsfw+cr9gi2h) or[](#or) [delete](/message/compose?to=autowikibot&subject=AutoWikibot Deletion&message=%2Bdelete+cr9gi2h). Will also delete on comment score of -1 or less. | FAQs | [Mods](http://www.np.reddit.com/r/autowikibot/comments/1x013o/for_moderators_switches_commands_and_css/) | [Magic Words](http://www.np.reddit.com/r/autowikibot/comments/1ux484/ask_wikibot/)
The difference in size between the two commands is due to gigabyte vs gibibyte. Try googling "750 gb to gib" and you will get 698 ish.
Deleted before we saved it.