While restoring the rear backup, getting the error: "parted -s /dev/sdX mkpart '"primary"' XXXXXXB XXXXXXXB Error: The location XXXXXXB is outside of the device"

Solution Unverified - Updated -

Issue

  • While restoring the ReaR backup, getting the error: parted -s /dev/sdX mkpart '"primary"' XXXXXXB XXXXXXXB Error: The location XXXXXXB is outside of the device.
  • ReaR backup failing with the below error:
+++ return 0
+++ udevadm settle
+++ parted -s /dev/sdX mkpart '"primary"' XXXXXXB XXXXXXXB
Error: The location XXXXXXB is outside of the device /dev/sdX.
<Date> An error occurred during layout recreation.

Environment

  • Red Hat Enterprise Linux(RHEL) 7.
    • ReaR
    • Advanced Format (AF) hard disks.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content