VM Explorer Practitioner Forum
cancel

(VMX) Support Tip: "After backup convert as thin" option disk usage

Highlighted
markovdi
Micro Focus Expert

(VMX) Support Tip: "After backup convert as thin" option disk usage

When this option is used transfered to target location .vmdk file will be converted to thin using vmkfstools command eg: 

/backup/target/vm/2017-01-11-171511 # vmkfstools -i testvmbackup_1.vmdk -d thin testvmbackup_1-tmp.vmdk

So the disk space usage will be provisioned sized + actual size, At the beginning of the task there is a check for space needed eg: 

1/10/2017 6:39:33 PM [6170133] Backup space needed: 1,928,440,330,570 bytes
1/10/2017 6:39:34 PM [6170133] Available space: 2,065,255,366,656 bytes

That doesn't take into account the disk conversion and it might fail with: 

[6468] 1/11/2017 12:27:37 AM [ERROR] [6170133] Error converting disk '/backup/target/vm/2017-01-10-183911/test.vmdk' as thin, (Failed to clone disk: There is not enough space on the file system for the selected operation (13).)

If the conversion is succesful the thick disk is then removed using "vmkfstool -U" command and the thin one is renamed. 

1 REPLY
MichaelFunke
Micro Focus Expert

Re: (VMX) Support Tip: "After backup convert as thin" option disk usage

Thanks!