Hello everyone,
I'm am unable to increase the size of my hard drive. All the guides I found are for a different storage configuration and are assuming the partition is not the primary (running/used) for the VM. Can some one please help me figure out how to increase the size of the disk on my VM?
First I resized the disk in proxmox gui from 16 to 64g
From there, all guides/commands I were given produce errors. VM is running debian 10.
Disk Info :
I would really appreciate any help you could provide
I'm am unable to increase the size of my hard drive. All the guides I found are for a different storage configuration and are assuming the partition is not the primary (running/used) for the VM. Can some one please help me figure out how to increase the size of the disk on my VM?
First I resized the disk in proxmox gui from 16 to 64g
From there, all guides/commands I were given produce errors. VM is running debian 10.
Code:
root@gitlab:~# parted
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: QEMU QEMU HARDDISK (scsi)
Disk /dev/sda: 68.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 15.0GB 15.0GB primary ext4 boot
2 15.0GB 17.2GB 2144MB extended
5 15.0GB 17.2GB 2144MB logical linux-swap(v1)
(parted) resizepart 1 100%
Warning: Partition /dev/sda1 is being used. Are you sure you want to continue?
parted: invalid token: 100%
Yes/No? n
(parted) ^C
Disk Info :
Code:
root@gitlab:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 64G 0 disk
├─sda1 8:1 0 14G 0 part /
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 2G 0 part [SWAP]
sr0 11:0 1 1024M 0 rom
I would really appreciate any help you could provide