It is possible to attach a temporary REDO file to a VM which is in a powered on state. Normally,
you have to power down the VM to change the disk mode. In this case, the VM disk stays in a
Persistent mode, but has a REDO file.
The REDO file is automatically committed to the virtual disk when you shutdown, unless you use
vmware-cmd or vmkfstools to commit the REDO to the virtual disk beforehand. When you power up the
virtual machine, the REDO file is not recreated
The Perl script that achieves this is available from VMware Support here:
Requires Free Membership to View
- Logon to the Service Console, as ROOT or VM Administrator
- Run nano -w addredo.pl
- Cut and Paste the script above into the window
- Close nano and save the file
To use the script – follow this example belowperl addredo.pl esx1.rtfm-ed.co.uk root password /root/vmware/instructor1/instructor1.vmx scsi0:0
Note:
Syntax requirements can be viewed by simply typing pl addredo.pl
To use the script you must specify:Name of ESX server
Username and Password
Path to VMX file
Optionally, specify the scsi node (in case your VM has more than one virtual disk – scsi0:0 adds a REDO to the boot disk)
This was first published in July 2005

Join the conversationComment
Share
Comments
Results
Contribute to the conversation