

fdisk -l Find New Partition Details New disk added is shown as /dev/xvdc. Observer fdisk -l output before and after adding/scanning disk to get a new disk name.įor our example, I am using the AWS EC2 server and I added 5GB disk to my server. (VM) > Edit virtual machine settings > Hardware > Hard Disk (SCSI) > Utilities > Expand > Maximum disk size. Find Linux Partition Details After attaching the hard disk of 20GB capacity, the fdisk -l will give the below output.Match timestamp of file and disk addition time. Next to the instance that has the new attached disk, click the. Check newly created disk files in /dev filesystem. Resize the file system and partitions In the Google Cloud console, go to the VM instances page.
#Adding more disk space to linux vm download#
Download GParted (linux gui disk utility.
#Adding more disk space to linux vm how to#
From the above you should see the Disk size has increased to the value you chose in VM Workstation, but the linux VM does not know how to use it yet.

REST API: Standard updating of virtual machine disk: PUT /. If you are running a physical rack-mount/blade server then adding disk will be a physical task. Use Extend Size By(GB) field to insert the size in GB which should be added to the existing size. If you are on VMware Linux VM you will have a different set of steps to follow to add disk. If you are using the AWS EC2 Linux server, you may follow these steps to add raw disk. Extend Virtual Disk Create Virtual Disk Partition the New Space Add Partition to LVM Resize Fixed Size Disks.

Objective: Add a new 10GB disk to the server and create a 5GB mount point out of it using LVM and newly created volume group. Locate the disk which needs to be expanded. Adding a raw disk to the Linux machine may vary depending upon the type of server you have but once the disk is presented to the machine, the procedure of getting it to mount points is almost the same. Select Disks from the left navigation window of the Virtual Machine. In this article, we will walk you through steps to add a new disk in the Linux machine.
