I would like to note that prior to your virtual machine disk extension I recommend to back up the virtual disk. After that, the size of your partition will be increased. ![]() By default all available space will be offered to increase the disk size.Select the partition you want to increase and click Extend Volume.All of your disk partitions and unallocated space added will appear Select Storage -> Disk Management in the left pane.Open Server Manager -> Tools -> Computer Management.How to Increase the Disk Size in Guest Windows Server?Ĭonnect to the Windows Server virtual machine using RDP or VNC and expand the disk. Thus, you have extended the disk size on the virtual machine running CentOS 7. Some sources recommend using the following command :īut it won’twork for the XFS file system! Last sector, +sectors or +size Īfter the VM restart, check the disk using this command: # fdisk /dev/vda Welcome to fdisk (util-linux 2.23.2).Ĭhanges will remain in memory only, until you decide to write them.īe careful before using the write command. Let’s extend /dev/vda2 to the maximum available size: The screenshot shows that /dev/vda2 has the size of 20GB, and the available disk space is 25GB. Connect to the VM Guest OS over SSH and make sure that additional 5 Gb of disk space appears.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |