Solved

Why align a virtual lun

Posted on 2010-09-21
3
650 Views
Last Modified: 2013-11-14
Hi,

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

0
Comment
Question by:MTasova
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Assisted Solution

by:madan1278
madan1278 earned 100 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.
0
 
LVL 55

Accepted Solution

by:
andyalder earned 200 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)
0
 
LVL 10

Assisted Solution

by:BloodRed
BloodRed earned 200 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.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

739 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