Answer the question
In order to leave comments, you need to log in
How does Mb Ubuntu count?
Tell me, as far as I understand, Ubuntu considers that 1 Gb is 1000 MB, I made a partition of 15 Gb (15000 Mb) during installation, after installation, I run the Disks utility - it shows a volume of 15 Gb, and if you look through Nautilus-Computer-Properties then it shows the total volume of 14.6 Gb ??? Why?
Answer the question
In order to leave comments, you need to log in
> According to Mb Ubuntu
Ubuntu does not count megabytes in any way, Ubuntu is a distribution kit, a set of linux kernel, programs and wallpapers for the desktop. Programs can count differently. Installer and utility Drives show GB (gigabyte, 10⁹ bytes), Nautilus - GiB (gibibyte, 2³⁰ bytes)
PS It is unlikely that you have created a 15 Gb (gigabit) disk, gigabytes are indicated by GB.
Counts by 2 options, depends on the application.
Option 1: 1 MB - 1000 B
Option 2: 1 MiB - 1024 B
To partition the disk, it was necessary to allocate the size as follows: 15 MB x 1024 = 15 360.
15 360 MB - 15 GB
Всеравно не могу понять! Я указал в установщике Ubuntu 16106 MB, установил систему, захожу в утиліту "Диски" - 16 GB, как-бы правильно. Захожу в Анализатор использования дисков или в свойства Компьютер - 15,7 GB??? Откуда взялось 15,7 GB Если бы там отображалось в GiB тогда должно было быть 15 GiB
Ох. Вот и выросло поколение…
Не верьте графическим утилитам, одни из них работают в мебибайтах/гибибайтах, другие в мегабайтах/гигабайтах. Верьте только df -h.
Плюс вы, судя по всему, не знаете, что в ext* 5% места резервируются под рута и недоступны вам, это можно исправить при помощи tune2fs.
Смотрите фокус со свободным доступным местом
[email protected]:~# df -h|grep sda1
/dev/sda1 292G 100G 177G 37% /
[email protected]:~# tune2fs -m0.1 /dev/sda1
tune2fs 1.43.1 (08-Jun-2016)
Setting reserved blocks percentage to 0.1% (77623 blocks)
[email protected]:~# df -h|grep sda1
/dev/sda1 292G 100G 192G 35% /
There were 177 gigs, it became 192 gigs, because I reduced the reserved space. I wonder why, with the current volumes, to maintain a default reserve of 5%, it could have been reduced to 0.1 a long time ago and everything would be fine, but it happened historically.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question