Rakesh Jain
2018-07-27 16:24:29 UTC
Hello team,
We are using Virtual Environment 5.2-1 in our environment.
I have Resized raw disk image from 30 GB to 112 GB. We don’t have LVM configured.
What I did is ->
Shutdown the VM Virtual Machine 100 (labs-provision) on node pve01 from GUI
Increase the DISK size, Memory Size and Increased CPU cores from GUI
Restarted the VM from GUI
Now when I see the disk it shows the increased size but how can I make this change reflecting to /dev/sda3 ??
***@labs-provision:~$ sudo fdisk -l
[sudo] password for rakesh.jain:
GPT PMBR size mismatch (67108863 != 234881023) will be corrected by w(rite).
Disk /dev/sda: 112 GiB, 120259084288 bytes, 234881024 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: gpt
Disk identifier: 5101DB8D-88D6-487F-9660-CBA9D05EE18F
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 268287 264192 129M Linux filesystem
/dev/sda3 268288 67106815 66838528 31.9G Linux filesystem
***@labs-provision:~$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs tmpfs 396M 41M 356M 11% /run
/dev/sda3 ext4 32G 18G 12G 61% /
tmpfs tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/sda2 ext2 125M 35M 84M 30% /boot
tmpfs tmpfs 396M 0 396M 0% /run/user/26528
tmpfs tmpfs 396M 0 396M 0% /run/user/37379
Please let me know. Any help is appreciated.
-Rakesh Jain
This email and any attachments thereto may contain private, confidential, and/or privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto.
We are using Virtual Environment 5.2-1 in our environment.
I have Resized raw disk image from 30 GB to 112 GB. We don’t have LVM configured.
What I did is ->
Shutdown the VM Virtual Machine 100 (labs-provision) on node pve01 from GUI
Increase the DISK size, Memory Size and Increased CPU cores from GUI
Restarted the VM from GUI
Now when I see the disk it shows the increased size but how can I make this change reflecting to /dev/sda3 ??
***@labs-provision:~$ sudo fdisk -l
[sudo] password for rakesh.jain:
GPT PMBR size mismatch (67108863 != 234881023) will be corrected by w(rite).
Disk /dev/sda: 112 GiB, 120259084288 bytes, 234881024 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: gpt
Disk identifier: 5101DB8D-88D6-487F-9660-CBA9D05EE18F
Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 268287 264192 129M Linux filesystem
/dev/sda3 268288 67106815 66838528 31.9G Linux filesystem
***@labs-provision:~$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs tmpfs 396M 41M 356M 11% /run
/dev/sda3 ext4 32G 18G 12G 61% /
tmpfs tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/sda2 ext2 125M 35M 84M 30% /boot
tmpfs tmpfs 396M 0 396M 0% /run/user/26528
tmpfs tmpfs 396M 0 396M 0% /run/user/37379
Please let me know. Any help is appreciated.
-Rakesh Jain
This email and any attachments thereto may contain private, confidential, and/or privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto.