ReaR 1.17.2: unable to restore the OS due to "Partition number '' of partition is not a valid number" error
Issue
-
Unable to restore the server from "ReaR" backup, getting error below
2016-07-29 02:13:52.174476651 ERROR: Partition number '' of partition is not a valid number. === Stack trace === Trace 0: /bin/rear:251 main Trace 1: /usr/share/rear/lib/recover-workflow.sh:29 WORKFLOW_recover Trace 2: /usr/share/rear/lib/framework-functions.sh:70 SourceStage Trace 3: /usr/share/rear/lib/framework-functions.sh:31 Source Trace 4: /usr/share/rear/layout/prepare/default/54_generate_device_code.sh:52 source Trace 5: /usr/share/rear/lib/layout-functions.sh:35 create_device Trace 6: /usr/share/rear/layout/prepare/GNU/Linux/10_include_partition_code.sh:68 create_disk Trace 7: /usr/share/rear/layout/prepare/GNU/Linux/10_include_partition_code.sh:210 create_partitions Trace 8: /usr/share/rear/lib/layout-functions.sh:328 get_partition_number Trace 9: /usr/share/rear/lib/_input-output-functions.sh:132 StopIfError Message: Partition number '' of partition is not a valid number.
Environment
- Red Hat Enterprise Linux (RHEL)
- rear-1.17.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
