How to resize and extend centos 7 disk manually Resizing The Partition You need to modify the Linux partition table within the virtual machine to recognize that the disk size has changed. This can be done using the fdisk utility, which is a partition editor. For the virtual machine provided by Nagios Enterprises: sda1 is used for the boot partition sda2 is the device for all logical volumes, this is the partition you need to edit Start fdisk by executing the following command: fdisk /dev/sda You should print the current partition table so you can keep track of your changes as you go: Command (m for help): p Take a screenshot or copy the screen contents into a text file in case you want to reference it later. To resize a partition, you actually "delete" it and then add a new one with the new size, making sure to place the beginning of the new partition at the same sector/cylinder as the old one started. This process is NOT destructive, your data
Comments
Post a Comment