Should mbralign be run against the boot drive? I have read elsewhere that aligning the boot drive is not recommended and the only thing that should be aligned are data drives. Most of my VMs only have one drive the boot drive and on a few of them it is quite active so I would like to align them. The articles I have read talk about aligning the boot drive somehow screws up vss service.
Aligning the boot disk in existing virtual machines is not required but will improve performance under some circumstances. If you have diagnosed performance issue due to misalignment, it may be necessary to align boot disks as well as data disks. In any case, it is essential to align templates and "gold image" VMs in order to prevent proliferation of misaligned VMs, and to align any new VMs using procedures in this document.
To get back to VMware's statement. I don't know why it wouldn't be recommended.
My understanding from conversations with NetApp people is that VMware is correct in their recommendation....but from a storage system perspective if you have a lot of unaligned boot vmdk's it just adds up (possibly very noticeably as the environment grows) so is absolutely worth having aligned vmdk's in a template and possibly to likely worth aligning after the fact.
Absolutely! The mbralign tool was originally written to deal specifically with boot drives. It has shown to be useful on data drives as well, however data drives can be migrated using guest based tools as well.
>I have read elsewhere that aligning the boot drive is not recommended...
IMHO, this is a poor (perhaps dated) recommendation. The boot drive tends to have the guest virtual memory files (swap/pagefile.sys), temp directories, binaries and common libraries. The result is that the boot drive is very likely to do enough IO (even if you split out the guest virtual memory files) to warrant alignment.
>The articles I have read talk about aligning the boot drive somehow screws up vss service.
I haven't come across anything that documents this, nor can I think of a reason the filesystem starting offset would effect vss usage. You do want to release any snapshots (VM or VSS) before aligning, perhaps thats the issue?