To add a hard disk to an existing virtual machine in vCenter, follow these steps:
1. Open vSphere Client and connect to the vCenter server.
1. Select the virtual machine you want to add the hard disk to and click on “Edit Settings” from the context menu.
1. From the “Hardware” tab, click on “Add” to add a new hardware device.
1. From the “Add Hardware” wizard, select “Hard Disk” and click “Next”.
1. Choose the “Create a new virtual disk” option and click “Next”.
1. Specify the disk size, format, and type (thin or thick) and click “Next”.
1. Choose the datastore where you want to create the new virtual disk and click “Next”.
1. Review the settings and click “Finish” to complete the creation of the new virtual disk.
1. Click “OK” to save the changes and close the virtual machine settings.
1. Power on the virtual machine and log in to it.
1. Open Disk Management in Windows or use the appropriate command in Linux, and initialize the new disk if needed.
You have successfully added a new hard disk to your virtual machine.