[PVE-User] Increase RAW Disk SIZE from UI
ml+pve-user at valo.at
Fri Jul 27 18:48:59 CEST 2018
On July 27, 2018 6:46:40 PM GMT+02:00, Rakesh Jain <rakesh.jain at FireEye.com> wrote:
>Thanks for reply. I know but the PVE documentation mentions a different
>You can resize your disks online or offline with command line:
>qm resize <vmid> <disk> <size>
>exemple: to add 5G to your virtio0 disk on vmid100:
>qm resize 100 virtio0 +5G
This just does on the command line what you did from the GUI.
You still need to grow the filesystem inside the VM yourself.
>So, got confused.
>On 27/07/18, 10:09 PM, "pve-user on behalf of Yannis Milios"
><pve-user-bounces at pve.proxmox.com on behalf of yannis.milios at gmail.com>
> Well, that’s basic linux sysadmin, nothing related to pve ...
>You can find dozens of articles by googling. If you feel lazy to
> here’s some examples ...
>On Fri, 27 Jul 2018 at 17:24, Rakesh Jain <rakesh.jain at fireeye.com>
> > 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
> > 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
> > this change reflecting to /dev/sda3 ??
> > rakesh.jain at 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
> > rakesh.jain at 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,
>> and/or privileged material for the sole use of the intended
>> review, copying, or distribution of this email (or any attachments
>> by others is strictly prohibited. If you are not the intended
>> please contact the sender immediately and permanently delete the
> > and any copies of this email and any attachments thereto.
> > _______________________________________________
> > pve-user mailing list
> > pve-user at pve.proxmox.com
> > https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> Sent from Gmail Mobile
> pve-user mailing list
> pve-user at pve.proxmox.com
>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.
>pve-user mailing list
>pve-user at pve.proxmox.com
More information about the pve-user