Solved

Why align a virtual lun

Posted on 2010-09-21
3
646 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
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

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…
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …

786 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