In Windows, if you already have a D drive and want to add an E drive, refer to the following:
The System Disk: Add Additional Capacity to New Volume (F:) and Data Disk: Add Additional Capacity to New Volume (E:) parts in the following section:
In Linux, if your disk already has, for example, partition /dev/vdb1 and you want to create a new partition, /dev/vdb2, and allocate the additional space to the new partition, refer to the following: