Buehl, Kevin
03 Dezember 2018
03 Dezember 2018


Parted Not all of the space available appears to be used, you can fix the GPT


parted /dev/sdb p
Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an extra 78131200 blocks) or continue with the current setting?


apt install gdisk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
Suggested packages:
The following NEW packages will be installed:
gdisk groff-base
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1354 kB of archives.
After this operation, 4103 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ftp.de.debian.org/debian stretch/main amd64 groff-base amd64 1.22.3-9 [1160 kB]
Get:2 http://ftp.de.debian.org/debian stretch/main amd64 gdisk amd64 1.0.1-1 [195 kB]
Fetched 1354 kB in 0s (4431 kB/s)
Selecting previously unselected package groff-base.
(Reading database ... 18554 files and directories currently installed.)
Preparing to unpack .../groff-base_1.22.3-9_amd64.deb ...
Unpacking groff-base (1.22.3-9) ...
Selecting previously unselected package gdisk.
Preparing to unpack .../gdisk_1.0.1-1_amd64.deb ...
Unpacking gdisk (1.0.1-1) ...
Setting up groff-base (1.22.3-9) ...
Setting up gdisk (1.0.1-1) ...


Damit das "Problem" in einem Script automatisch behoben werden kann:
sgdisk -e /dev/sdb
The operation has completed successfully.