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
Auto-Resizing Extended Partitions Fails #3010
Comments
I did not yet look at the details here but in general
is old functionality that is implemented in See the description about
in usr/share/rear/conf/default.conf |
Hello, AUTORESIZE_PARTITIONS=( /dev/sda5 ) #LVM# Parted layout
P.S. i hope i helped you |
This comment was marked as outdated.
This comment was marked as outdated.
Stale issue message |
ReaR version ("/usr/sbin/rear -V"): Relax-and-Recover 2.7-git.5183.29f51855.master / 2023-06-06
If your ReaR version is not the current version, explain why you can't upgrade: N/A
OS version ("cat /etc/os-release" or "lsb_release -a" or "cat /etc/rear/os.conf"):
ReaR configuration files ("cat /etc/rear/site.conf" and/or "cat /etc/rear/local.conf"):
We don't use a
site.conf
, here's the contents of ourlocal.conf
:Hardware vendor/product (PC or PowerNV BareMetal or ARM) or VM (KVM guest or PowerVM LPAR):
PowerVM LPAR
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):
IBM HMC with GRUB bootloader
Storage (local disk or SSD) and/or SAN (FC or iSCSI or FCoE) and/or multipath (DM or NVMe):
SAN FC with multipath DM
Storage layout ("lsblk -ipo NAME,KNAME,PKNAME,TRAN,TYPE,FSTYPE,LABEL,SIZE,MOUNTPOINT"):
Original layout of the machine:
Description of the issue (ideally so that others can reproduce it):
We initiated a backup of the system using
with the settings given above (NFS backup target). We created an LPAR with a smaller backing device (going from 100GB with 10GB used space to 20GB total), then booted from the backed up ISO and started the recover process:
Looking at the start-/end-blocks, the extended partition is created correctly, however, the logical partitions are not. The partition layout of the original machine looks like this:
The partition table auto-created by REAR does not contain the logical partitions:
Workaround, if any:
Manually editing the the
create_disk_partition
calls fixes the problem.Changing this
to that
fixes the resizing and system recovery works
Attachments, as applicable ("rear -D mkrescue/mkbackup/recover" debug log files):
See output above.
The text was updated successfully, but these errors were encountered: