X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=align%2Fvirt-alignment-scan.pod;h=3b6828b7fdcd3cd01f4aac15f90e679c701591e0;hb=bf7f3170eadb8be5a74a7698a6f7b1dda7a27541;hp=dcc71b4a223bb20d2685c1f9a4c952dd1e3eb1fe;hpb=df711241fff32036acbc3fae10486816cbdd8ef9;p=libguestfs.git diff --git a/align/virt-alignment-scan.pod b/align/virt-alignment-scan.pod index dcc71b4..3b6828b 100755 --- a/align/virt-alignment-scan.pod +++ b/align/virt-alignment-scan.pod @@ -275,24 +275,15 @@ will start at a multiple of 2048 sectors. =head2 SETTING ALIGNMENT -Currently there is no virt tool for fixing alignment problems in -guests. This is a difficult problem to fix because simply moving -partitions around breaks the bootloader, necessitating either manual -reinstallation of the bootloader using a rescue disk, or complex and -error-prone hacks. - -L does not change the alignment of the first -partition, but it does align the second and subsequent partitions to a -multiple of 64 or 128 sectors (depending on the version of -virt-resize, 128 in virt-resize E 1.13.19). For operating systems -that have a separate boot partition, virt-resize could be used to -align the main OS partition, so that the majority of OS accesses -except at boot will be aligned. - -The easiest way to correct partition alignment problems is to -reinstall your guest operating systems. If you install operating -systems from templates, ensure these have correct partition alignment -too. +L can change the alignment of the partitions of some +guests. Currently it can fully align all the partitions of all +Windows guests, and it will fix the bootloader where necessary. For +Linux guests, it can align the second and subsequent partitions, so +the majority of OS accesses except at boot will be aligned. + +Another way to correct partition alignment problems is to reinstall +your guest operating systems. If you install operating systems from +templates, ensure these have correct partition alignment too. For older versions of Windows, the following NetApp document contains useful information: L