-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken 'part' entries in disklayout.conf in case of 'unknown' partition table #2801
Comments
@tpatel80
The matching code in
This shows that
does not get any value for
output. So the error is right because according to the 'lsblk' output
entries in your Next step is to find out why Your https://github.com/rear/rear/files/8654468/rear.log
The
show what is wrong:
see the section For example on my homeoffice laptop I have
In contrast you have
so one of Next step is why
The matching code in
Your I guess your disk label is actually one of
and I assume in your case the
output is not what the current code in 200_partition_layout.sh @tpatel80 I will have a look at |
In layout/save/GNU/Linux/200_partition_layout.sh ensure the partition name/type entry in disklayout.conf is always set (and percent encoded if needed) at least it is set to the fallback value 'rear-noname' regardless of the 'disk_label' value, cf. #2801 (comment)
In layout/save/GNU/Linux/200_partition_layout.sh ensure $disk_label is one of the supported partition tables cf. #2801 (comment)
#2802 |
In layout/save/GNU/Linux/200_partition_layout.sh ensure $disk_label is one of the supported partition tables, cf. #2801 (comment)
Now its successor #2803 |
…conf In layout/save/GNU/Linux/200_partition_layout.sh ensure syntactically correct 'disk' and 'part' entries, cf. #2801 (comment)
#2804 |
@pcahyna the machine is a baremetal IBM Power System IC922 (9183-22X) factory installed with Redhat 8.2. |
@tpatel80 I will try (I have used ReaR on POWER bare metal and I have not seen this kind of issue, but it was the version shipped with RHEL, not the development version from Git) |
Neither #2803 Both are only meant to detect early i.e. directly I.e. #2803 |
@tpatel80 I am not able to reproduce the issue on RHEL 8.2 / POWER bare metal. What does
and
print for you? The message |
Also please add the output of |
Only a side note FYI: |
I've attempted to correct the end value for sda3 to 1874329599. Will report back if this helps in any manner.
|
Updating END value of sda3 seems to have done the trick. Running mkbackup now.
|
@tpatel80 I believe you still have a problem with LVM, it thinks that the PV is longer than the partition that it sits on. Not sure how serious it is or how to correct it... |
@tpatel80
Because you have parted errors and LVM warnings I assume a Red Hat installation does not result Alternatively a Red Hat installation may do FYI: |
@jsmeix I suspect the image used to clone these systems had different disk size. We've contacted IBM for details. |
@tpatel80 In general regarding a bit different hardware disk sizes To keep issues because of a bit different disk sizes This belongs to the general topic I think I add a subsection there about recommended disk usage. |
In layout/save/GNU/Linux/200_partition_layout.sh ensure $disk_label is one of the supported partition tables, cf. rear#2801 (comment)
…conf In layout/save/GNU/Linux/200_partition_layout.sh ensure syntactically correct 'disk' and 'part' entries, cf. rear#2801 (comment)
In layout/save/GNU/Linux/200_partition_layout.sh ensure $disk_label is one of the supported partition tables, cf. rear#2801 (comment)
…conf In layout/save/GNU/Linux/200_partition_layout.sh ensure syntactically correct 'disk' and 'part' entries, cf. rear#2801 (comment)
…able In layout/save/GNU/Linux/200_partition_layout.sh ensure $disk_label is one of the supported partition tables (i.e. one of 'msdos' 'gpt' 'gpt_sync_mbr' 'dasd'), see the last part about "error out directly ... when things failed" in #2801 (comment)
In layout/save/GNU/Linux/200_partition_layout.sh ensure syntactically correct 'disk' and 'part' entries in disklayout.conf (each value must exist and each value must be a single non-blank word), see the last part about "error out directly ... when things failed" in #2801 (comment)
Relax-and-Recover (ReaR) Issue Template
Fill in the following items before submitting a new issue
(quick response is not guaranteed with free support):
ReaR version ("/usr/sbin/rear -V"):
Relax-and-Recover 2.6 / Git
OS version ("cat /etc/os-release" or "lsb_release -a" or "cat /etc/rear/os.conf"):
Hardware vendor/product (PC or PowerNV BareMetal or ARM) or VM (KVM guest or PowerVM LPAR):
IBM
System architecture (x86 compatible or PPC64/PPC64LE or what exact ARM device):
PPC64LE
Firmware (BIOS or UEFI or Open Firmware) and bootloader (GRUB or ELILO or Petitboot):
Petitboot
Storage (local disk or SSD) and/or SAN (FC or iSCSI or FCoE) and/or multipath (DM or NVMe):
local disk
Storage layout ("lsblk -ipo NAME,KNAME,PKNAME,TRAN,TYPE,FSTYPE,LABEL,SIZE,MOUNTPOINT"):
REAR fails with following error:
Workaround, if any:
Attachments, as applicable ("rear -D mkrescue/mkbackup/recover" debug log files):
To paste verbatim text like command output or file content,
include it between a leading and a closing line of three backticks like
The text was updated successfully, but these errors were encountered: