GNU Parted 3.4 Using /dev/sda Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print Warning: Not all of the space available to /dev/sda appears to be used, you can fix the GPT to use all of the space (an extra 10485760 blocks) or continue with the current setting? Fix/Ignore? fix Model: QEMU QEMU HARDDISK (scsi) Disk /dev/sda: 26.8GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags:
Number Start End Size File system Name Flags 1 1049kB 2097kB 1049kB bios_grub 2 2097kB 2150MB 2147MB linux-swap(v1) swap 3 2150MB 21.5GB 19.3GB ext4
(parted) resizepart 3 100% Warning: Partition /dev/sda3 is being used. Are you sure you want to continue? Yes/No? y (parted) print Model: QEMU QEMU HARDDISK (scsi) Disk /dev/sda: 26.8GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags:
Number Start End Size File system Name Flags 1 1049kB 2097kB 1049kB bios_grub 2 2097kB 2150MB 2147MB linux-swap(v1) swap 3 2150MB 26.8GB 24.7GB ext4
root@l4rkserver:~/omnivore# resize2fs /dev/sda3 resize2fs 1.46.5 (30-Dec-2021) Filesystem at /dev/sda3 is mounted on /; on-line resizing required old_desc_blocks = 3, new_desc_blocks = 3 The filesystem on /dev/sda3 is now 6028795 (4k) blocks long.