Why align a virtual lun

Posted on 2010-09-21
Medium Priority
Last Modified: 2013-11-14

The need of aligning a raw lun or ISCSI lun  I understand.
But why align a virtual lun, it is just a file.

Question by:MTasova

Assisted Solution

madan1278 earned 400 total points
ID: 33723672
If the virtual lun resides on a shared storage, the VM can be failed over seamlessly via the vmmotion network.
In a virtual lun acts like a physical to the actual VM's.
LVL 56

Accepted Solution

andyalder earned 800 total points
ID: 33723728
The virtual KUN may be just a file but files are made up of blocks and clusters and these should be aligned to an even boundary to avoid split I/Os. See the drawing on page 5 of http://www.vmware.com/pdf/esx3_partition_align.pdf. (it can get even worse if the SAN LUN itself is a file under iSCSI target software, then there's yet another layer where mis-alignment can occur)
LVL 10

Assisted Solution

by:Justin C
Justin C earned 800 total points
ID: 33724515
Essentially, it is still a file which is accessed by looking up the associated blocks on the underlying disk subsystem.  If the file is alligned, one virtual block will (well, should) map to one physical block and one I/O operation is used to read it.  If the virtual blocks are mis-aligned and span multiple physical blocks, each 'read' of a virtual block will require the disk head to read multiple physical blocks.  In other words, there will be more read/write operations required to write a single virtual block of data should the file be mis-aligned.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
Suggested Courses

586 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question