Shrinking your NetWare disks

After you create the virtual machines and install the operating system the virtual disk file (.VMDK) will grow dynamically but will not decrease in size automatically. You can however shrink the disk file by using the option Defragment in the settings of the virtual HDD. But first you must prepare your volumes so that unused space is really unused by filling it with zeroes. (fillzero.nlm) Follow these three steps to shrink your disk really small:

Delete unused files
ConsoleOne – DNS/DHCP management console – sys:\public\winnt & win95
CD-ROM index files in SYS:\CDROM$$.ROM – SYS:\PVSW (Pervasive SQL)
SYS:\java\nwgfx (if you won’t need the GUI. You will however need the GUI to install a service pack or eDirectory 8.5 / 8.6 / 8.7 so be careful) 

Purge your volumes
Even after a new server installation the filesystem is packed with salvageable files.  (The installer unzips many temporary files tot SYS). So make sure you purge your volumes before shrinking. 

FILLZERO.NLM
Fills the disk with a file (sys:\fillzero.tmp) containing only zeroes so the diskfile can be shrinked and efficiently compressed.
Generates an error message when finished = OK
Because it fills the disk all purgeable files will be purged
Can also be used for other volumes: 
LOAD FILLZERO.NLM VOL1:\FILLZERO.TMP

Shrink the disk with the Defragment option in Settings --> Configuration Editor --> Virtual Disk

PS: The shrink option is now available with the VMware Tools for NetWare that are shipped with VMware Workstation since version 3.2. But my experience is that with using FILLZERO.NLM disks are still shrinked more than with the tools.