05.08.2013 Views

[PDF] Parallels Server 5 Bare Metal

[PDF] Parallels Server 5 Bare Metal

[PDF] Parallels Server 5 Bare Metal

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Advanced Tasks<br />

In this example, any cluster (the smallest unit of data) in the guest OS file system is aligned with the<br />

boundaries of an NFS block, and reading from or writing to a cluster requires only access to one<br />

NFS block. For example, reading from Cluster 1 causes only a read from Block 1.<br />

At the same time, virtual machines running non-modern systems (for example, Windows <strong>Server</strong><br />

2003 or Red Hat Enterprise Linux 5) do usually have misaligned partitions, which is shown in the<br />

figure below:<br />

In this example, clusters of the guest OS file system do not match the boundaries of NFS blocks,<br />

and reading from or writing to a cluster requires access to several NFS blocks. For example,<br />

reading from Cluster 1 causes two reads: from Block 1 and from Block 2. This results in a slower<br />

read time as compared to properly aligned partitions and leads to performance degradation.<br />

Aligning partitions<br />

Basically, to align disks and partitions in virtual machines, you need to set an offset so that clusters<br />

in the guest OS file system match the volume block size on your NFS storage. Usually, the block<br />

size of most network storages is 512 bytes or a multiple of 512 bytes. As an example, the following<br />

sections describe the procedure of aligning disks and partitions for Linux and Windows virtual<br />

machines assuming that the size of your NFS blocks is 512 bytes.<br />

When deciding on aligning disks and partitions, take into account that this process destroys all data<br />

on these disks and partitions. So if you want to have a correctly aligned system partition, you need<br />

to align your disks and partitions before creating a virtual machine and installing a guest operating<br />

system in it. If you do not want an aligned system partition, you can first create a virtual machine<br />

and install a guest OS in it, and then align your data disks from inside the virtual machine.<br />

The sections below demonstrate how to align disks and partitions before you start installing a guest<br />

OS. You can, however, use a similar procedure to align data disks and partitions from inside your<br />

virtual machines.<br />

239

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!