#63 Issue closed: Partition does not end on cylinder boundary after recovery

Shabahang opened issue at 2012-04-11 06:28:

[root@t1vl034 ~]# rear -V
Relax and Recover 1.12.0 / 2011-11-22 10:21:35 +0100
[root@t1vl034 ~]# uname -a
Linux t1vl034 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@t1vl034 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
[root@t1vl034 ~]#

on SRC :

[root@drvl034 ~]# fdisk -l /dev/sda

Disk /dev/sda: 322.1 GB, 322122547200 bytes
255 heads, 63 sectors/track, 39162 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 2114 16779892+ 82 Linux swap / Solaris
/dev/sda3 2115 39162 297588060 8e Linux LVM
[root@drvl034 ~]#

On DEST (recovered):

[root@t1vl034 ~]# fdisk -l /dev/sda

Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 200781 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 2115 16779892+ 83 Linux
/dev/sda3 2115 7833 45929835 8e Linux LVM
[root@t1vl034 ~]#

jhoekx commented at 2012-04-12 17:31:

We use parted for all partitioning needs. Parted is generally more sensible than fdisk, but it might be interesting to find out why the partitions shifted.

Could you add the partitioning code generated in /var/lib/rear/layout/diskrestore.sh in the rescue system and also the /var/lib/rear/layout/disklayout.conf file?

ozi23 commented at 2012-06-08 06:36:

This is only a warning for msdos compatibility. You can safely ignore it.

See web site:

http://prefetch.net/blog/index.php/2009/09/12/why-partition-x-does-now-end-on-cylinder-boundary-warnings-dont-matter/

gdha commented at 2013-10-28 15:22:

No valuable feedback within 1 year - time to close the issue


[Export of Github issue for rear/rear.]