For backup and space purposes, you have the ability to store WDS images on a network share.
Add a WDS share
-
Create a virtual disk.
-
In vSphere client, select the AD server for which you want to a second virtual
disk.
-
Click Edit virtual machine settings.
-
Click Add, select Hard Disk, and
click Next.
-
Select Create virtual disk, and click
Next.
-
For Capacity, enter the desired size.
-
For Location, select Specify a
datastore, then browse and select the NAS volume on which you want this
new virtual disk to reside. Click OK.
-
Click Next on the following screens, and finally
Finish.
-
Format the disk in the WDS/AD server.
-
Right-click My computer and select
Manage.
-
Click Disk management.
-
In the right panel, right-click the new disk, select New
partition and create a NTFS partition using the entire disk.
-
For the drive letter, choose the next available drive partition, say E:
-
Select default options for rest.
You should now have your new disk mounted as "E:\".
Grow the share
-
If the new disk become full, follow these steps to extend its size.
-
Shut down the AD/WDS server completely.
-
Find the path to the virtual disk on your ESXi server.
It will be something like [os_repository]
ad.j.sp.collab.net/ad.j.sp.collab.net_1.vmdk.
-
On the mgr node, run the vmkfstools command to
extend its size.
For example, this command will extend the disk to a final size of 20g:
$ /usr/local/vmware-vicli/bin/vmkfstools --server devmgr2.sp.collab.net -X 20g \
"[os_repository] ad.j.sp.collab.net/ad.j.sp.collab.net_1.vmdk"
Enter username: root
Enter password:
$
-
Restart the WD/WDS server. Then follow this
procedure to extend the partition on the disk using the
diskpart.exe command line tool.