You are not logged in.

#1 2017-06-20 17:00:00

alexanders916
Member
Registered: 2017-05-30
Posts: 42

[SOLVED] Disk has 50GB of nothing?

Hello guys,
I just installed a fresh arch installation again (after wiki instructions). I installed gnome-system-monitor and under 'data systems', it shows that my hdd has 983,4 GB (it's GiB), but only 933,4 GB (GiB too) are usable.

gdisk /dev/sda
GPT fdisk (gdisk) version 1.0.1

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): p
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 31BDDD30-E48A-4B62-B150-C712B331F343
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048      1953525134   931.5 GiB   8300  Linux filesystem

gdisk says that my hdd has a size of 931,5 GiB, roughly 1TB. Why does gnome-system-monitor show me something else? (false?)

Thank you for disconfusing me.

Last edited by alexanders916 (2017-06-22 16:16:08)

Offline

#2 2017-06-20 17:01:50

frostschutz
Member
Registered: 2013-11-15
Posts: 1,418

Re: [SOLVED] Disk has 50GB of nothing?

parted /dev/sda unit mib print free
df -h

Last edited by frostschutz (2017-06-20 17:02:54)

Offline

#3 2017-06-20 17:04:57

alexanders916
Member
Registered: 2017-05-30
Posts: 42

Re: [SOLVED] Disk has 50GB of nothing?

parted /dev/sda unit mib print free
Modell: ATA WDC WD10EZEX-21W (scsi)
Festplatte  /dev/sda:  953870MiB
Sektorgröße (logisch/physisch): 512B/4096B
Partitionstabelle: gpt
Disk-Flags: 

Nummer  Anfang   Ende       Größe      Dateisystem   Name              Flags
        0,02MiB  1,00MiB    0,98MiB    Freier Platz
 1      1,00MiB  953870MiB  953869MiB  ext4          Linux filesystem

df -h
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
dev             7,9G       0  7,9G    0% /dev
run             7,9G    1,3M  7,9G    1% /run
/dev/nvme0n1p2  234G    5,0G  217G    3% /
tmpfs           7,9G    198M  7,7G    3% /dev/shm
tmpfs           7,9G       0  7,9G    0% /sys/fs/cgroup
tmpfs           7,9G    2,9M  7,9G    1% /tmp
/dev/sda1       916G     77M  870G    1% /data
tmpfs           1,6G     40K  1,6G    1% /run/user/1000
/dev/sdb1        30G     14G   16G   48% /run/media/alexander/ALEXANDER

Last edited by alexanders916 (2017-06-20 17:05:36)

Offline

#4 2017-06-20 17:12:50

frostschutz
Member
Registered: 2013-11-15
Posts: 1,418

Re: [SOLVED] Disk has 50GB of nothing?

Nothing really wrong with it.

Well, maybe you don't need a root reserve here (tune2fs -m 0 /dev/sda1)

And just to make sure the filesystem uses all of the partition space, you could resize2fs on it. Or tune2fs -l to see what the filesystem sees.

Last edited by frostschutz (2017-06-20 17:14:16)

Offline

#5 2017-06-20 17:21:16

alexanders916
Member
Registered: 2017-05-30
Posts: 42

Re: [SOLVED] Disk has 50GB of nothing?

My actual question was why gnome-system-monitor shows 983 GiB of space, where's only 931 GiB?

Edit: Isn't important, thanks for keeping me calm smile.

Last edited by alexanders916 (2017-06-20 18:51:51)

Offline

Board footer

Powered by FluxBB