Manage Learn to apply best practices and optimize your operations.

Adding a temporary REDO File to online VM with a script

It is possible to attach a temporary REDO file to VM which is in a powered on state.

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:

  1. Logon to the Service Console, as ROOT or VM Administrator
  2. Run nano -w
  3. Cut and Paste the script above into the window
  4. Close nano and save the file

     To use the script – follow this example below

    perl root password /root/vmware/instructor1/instructor1.vmx scsi0:0

    Syntax requirements can be viewed by simply typing  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)


Dig Deeper on VMware ESX and ESXi administrative tips

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.