Problem Description ----------------------------- rear command fails with Could not determine size of disk error message on Fedora 18 Beta ppc64 installed P7 LPAR system. [root@ltcfbl6fb10 ~]# rear -v mkbackup Relax and Recover 1.12.0 / 2011-11-22 10:21:35 +0100 Creating disk layout ERROR: BUG BUG BUG! Could not determine size of disk sda/sda11049kB5243kB4194kBprimaryboot,prep, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine start of partition sda11049kB5243kB4194kBprimaryboot,prep, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine size of disk sda/sda25243kB530MB524MBprimaryext4, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine start of partition sda25243kB530MB524MBprimaryext4, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine size of disk sda/sda3530MB26.8GB26.3GBprimarylvm, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine start of partition sda3530MB26.8GB26.3GBprimarylvm, please file a bug. Please report this as a bug to the authors of Relax and Recover Aborting due to an error, check /tmp/rear-ltcfbl6fb10.log for details Finished in 21 seconds Terminated Steps to reproduce ----------------------------------- 1.Install rear-1.12.0-2.fc18.noarch rpm 2.update BACKUP_URL= in /etc/rear/local.conf 3.rear -v mkbackup --- Other Details --- [root@ltcfbl6fb10 ~]# uname -a Linux ltcfbl6fb10.austin.ibm.com 3.6.6-3.fc18.ppc64p7 #1 SMP Fri Nov 9 11:18:55 MST 2012 ppc64 ppc64 ppc64 GNU/Linux [root@ltcfbl6fb10 ~]# rpm -qa | grep rear rear-1.12.0-2.fc18.noarch == Comment: #1 - Mahesh M. Hiremath <maheshhi.com> - == Please find below o/p of "rear -d mkbackup" and "rear -D mkbackup" commands. Attached rear-D-mkbackup-ltcfbl6fb10.log log for reference. [root@ltcfbl6fb10 ~]# rear -d mkbackup 2013-01-04 04:15:00.401255765 Using 'blkid' for vol_id Relax and Recover 1.12.0 / 2011-11-22 10:21:35 +0100 Creating disk layout ERROR: BUG BUG BUG! Could not determine size of disk sda/sda11049kB5243kB4194kBprimaryboot,prep, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine start of partition sda11049kB5243kB4194kBprimaryboot,prep, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine size of disk sda/sda25243kB530MB524MBprimaryext4, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine start of partition sda25243kB530MB524MBprimaryext4, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine size of disk sda/sda3530MB26.8GB26.3GBprimarylvm, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine start of partition sda3530MB26.8GB26.3GBprimarylvm, please file a bug. Please report this as a bug to the authors of Relax and Recover Aborting due to an error, check /tmp/rear-ltcfbl6fb10.log for details Finished in 18 seconds You should also rm -Rf /tmp/rear.4VeD5E4K2e0lbYX Terminated [root@ltcfbl6fb10 ~]# ls /tmp/rear.4VeD5E4K2e0lbYX rootfs tmp [root@ltcfbl6fb10 ~]# ls /tmp/rear.4VeD5E4K2e0lbYX/rootfs [root@ltcfbl6fb10 ~]# [root@ltcfbl6fb10 ~]# ls /tmp/rear.4VeD5E4K2e0lbYX/tmp parted selinux.mode [root@ltcfbl6fb10 ~]# [root@ltcfbl6fb10 ~]# cat /tmp/rear.4VeD5E4K2e0lbYX/tmp/parted Model: AIX VDASD (scsi) Disk /dev/sdf: 5369MB Sector size (logical/physical): 512B/512B Partition Table: unknown Disk Flags: [root@ltcfbl6fb10 ~]# cat /tmp/rear.4VeD5E4K2e0lbYX/tmp/selinux.mode 1[root@ltcfbl6fb10 ~]# [root@ltcfbl6fb10 ~]# [root@ltcfbl6fb10 ~]# [root@ltcfbl6fb10 ~]# [root@ltcfbl6fb10 ~]# [root@ltcfbl6fb10 ~]# [root@ltcfbl6fb10 ~]# rear -D mkbackup ERROR: BUG BUG BUG! Could not determine size of disk sda/sda11049kB5243kB4194kBprimaryboot,prep, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine start of partition sda11049kB5243kB4194kBprimaryboot,prep, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine size of disk sda/sda25243kB530MB524MBprimaryext4, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine start of partition sda25243kB530MB524MBprimaryext4, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine size of disk sda/sda3530MB26.8GB26.3GBprimarylvm, please file a bug. Please report this as a bug to the authors of Relax and Recover ERROR: BUG BUG BUG! Could not determine start of partition sda3530MB26.8GB26.3GBprimarylvm, please file a bug. Please report this as a bug to the authors of Relax and Recover Aborting due to an error, check /tmp/rear-ltcfbl6fb10.log for details Terminated
Created attachment 673726 [details] rear-ltcfbl6fb10 log
Created attachment 673727 [details] rear-D-mkbackup
------- Comment From vaish123.com 2013-01-07 06:55 EDT------- Hi Mahesh, Can you confirm if the machine is a LVM based system ? From http://fedoraproject.org/wiki/Common_F18_bugs#Installer_crashes_with_degraded.2Fincomplete_RAID.2C_LVM_or_btrfs_devices_present we see that Fedora18 has installer issues with LVM. So guessing this mite be one of the effects. Thanks.
------- Comment From vaish123.com 2013-02-11 09:03 EDT------- This issue still persists in Fedora18GA. FYI, [root@miz05 yum.repos.d]# rear -v mkbackup ERROR: BUG BUG BUG! Could not determine size of disk sda/sda3530MB4774MB4245MBprimarylinux-swap(v1), please file a bug. ERROR: BUG BUG BUG! Could not determine start of partition sda3530MB4774MB4245MBprimarylinux-swap(v1), please file a bug. ERROR: BUG BUG BUG! Could not determine size of disk sda/sda44774MB22.5GB17.8GBextended, please file a bug. ERROR: BUG BUG BUG! Could not determine start of partition sda44774MB22.5GB17.8GBextended, please file a bug. ERROR: BUG BUG BUG! Could not determine size of disk sda/sda54775MB22.5GB17.8GBlogicalext4, please file a bug. ERROR: BUG BUG BUG! Could not determine start of partition sda54775MB22.5GB17.8GBlogicalext4, please file a bug. Aborting due to an error, check /tmp/rear-miz05.log for details Finished in 1 seconds [root@miz05 yum.repos.d]# [root@miz05 yum.repos.d]# uname -a Linux miz05.austin.ibm.com 3.6.10-4.fc18.ppc64p7 #1 SMP Wed Dec 12 16:08:02 MST 2012 ppc64 ppc64 ppc64 GNU/Linux [root@miz05 yum.repos.d]#
------- Comment From iranna.ankad.com 2013-03-13 05:46 EDT------- This issue is fixed in rear-1.14-1.fc18 and can be closed now. Thanks! I could successfully create rear backup on Fedora18GA with above rear package version. [root@miz10 ~]# uname -a Linux miz10.austin.ibm.com 3.6.10-4.fc18.ppc64p7 #1 SMP Wed Dec 12 16:08:02 MST 2012 ppc64 ppc64 ppc64 GNU/Linux [root@miz10 ~]# rpm -qa | grep rear rear-1.14-1.fc18.noarch gallery2-rearrange-2.3.2-5.fc18.noarch [root@miz10 ~]# FYI, [root@miz10 ~]# rear -v mkbackup Relax-and-Recover 1.14 / Git Using log file: /var/log/rear/rear-miz10.log Creating root filesystem layout TIP: To login as root via ssh you need to set up /root/.ssh/authorized_keys Copying files and directories Copying binaries and libraries Copying kernel modules Creating initramfs Making ISO image Wrote ISO Image /var/lib/rear/output/rear-miz10.iso (80M) Copying resulting files to https location Creating tar archive '/tmp/rear.R8j0SJqgfT5Bjiy/outputfs/miz10/backup.tar.gz' Archived 8366 MiB [avg 11800 KiB/sec]OK Total bytes written: 8793026560 (8.2GiB, 12MiB/s) in 727 seconds. [root@miz10 ~]# Here is my sample local configuration: [root@miz10 ~]# cat /etc/rear/local.conf # Create Relax-and-Recover rescue media as ISO image OUTPUT=ISO MODULES_LOAD=( vmxnet ) BACKUP=NETFS BACKUP_URL=https://9.3.110.206/srv/www/pub/ [root@miz10 ~]# and here are the backup files it created: [root@miz10 miz10]# ls -l /tmp/rear.R8j0SJqgfT5Bjiy/outputfs/miz10 total 3741636 -rw-r--r--. 1 root root 15309471 Mar 12 22:23 backup.log -rw-r--r--. 1 root root 3732888052 Mar 12 22:23 backup.tar.gz -rw-r--r--. 1 root root 202 Mar 12 22:11 README -rw-r--r--. 1 root root 187394 Mar 12 22:11 rear.log -rw-r--r--. 1 root root 83027968 Mar 12 22:11 rear-miz10.iso -rw-r--r--. 1 root root 0 Mar 12 22:23 selinux.autorelabel -rw-r--r--. 1 root root 278 Mar 12 22:11 VERSION [root@miz10 miz10]#