Fdisk
Hello
Debian is running as a VM on the KVM. I enlarged the disk with QEMU.
But the disk is as follows.
So he did not grow up.
Pre:
root@debian:/home/gokan# fdisk -l
Disk /dev/sda:[b] 40 GiB[/b], 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6845f24a
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 80383999 80381952 38.3G 83 Linux
/dev/sda2 80386046 83884031 3497986 1.7G 5 Extended
/dev/sda5 80386048 83884031 3497984 1.7G 82 Linux swap / Solaris
root@debian:/home/gokan#
root@debian:/home/gokan# df -Th
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda1 ext4 38G 908M 35G 3% /
udev devtmpfs 10M 0 10M 0% /dev
tmpfs tmpfs 201M 4.4M 196M 3% /run
tmpfs tmpfs 501M 0 501M 0% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 501M 0 501M 0% /sys/fs/cgroup
Post:
root@debian:/home/gokan# fdisk -l
Disk /dev/sda:[b] 50 GiB[/b], 53687091200 bytes, 104857600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6845f24a
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 80383999 80381952 38.3G 83 Linux
/dev/sda2 80386046 83884031 3497986 1.7G 5 Extended
/dev/sda5 80386048 83884031 3497984 1.7G 82 Linux swap / Solaris
root@debian:/home/gokan#
root@debian:/home/gokan# df -Th
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda1 ext4 38G 908M 35G 3% /
udev devtmpfs 10M 0 10M 0% /dev
tmpfs tmpfs 201M 4.4M 196M 3% /run
tmpfs tmpfs 501M 0 501M 0% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 501M 0 501M 0% /sys/fs/cgroup
How can I grow this disc?
Reply to:
- Follow-Ups:
- Re: Fdisk
- From: Georgi Naplatanov <gosho@oles.biz>