[rear-devel] [rear/rear] 2db845: Update 420_autoresize_last_partitions.sh

Johannes Meixner noreply at github.com
Tue Dec 14 14:41:26 CET 2021


  Branch: refs/heads/master
  Home:   https://github.com/rear/rear
  Commit: 2db845c63a6f2c12fe7523997c9332ff7e9d2bad
      https://github.com/rear/rear/commit/2db845c63a6f2c12fe7523997c9332ff7e9d2bad
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-12-09 (Thu, 09 Dec 2021)

  Changed paths:
    M usr/share/rear/layout/prepare/default/420_autoresize_last_partitions.sh

  Log Message:
  -----------
  Update 420_autoresize_last_partitions.sh

Trying to automatically resize active last partitions also on RAID1 disks...


  Commit: 78de7f40e213d182b2b40ef606bf04d9f73960a7
      https://github.com/rear/rear/commit/78de7f40e213d182b2b40ef606bf04d9f73960a7
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-12-09 (Thu, 09 Dec 2021)

  Changed paths:
    R usr/share/rear/layout/prepare/default/420_autoresize_last_partitions.sh

  Log Message:
  -----------
  Delete 420_autoresize_last_partitions.sh


  Commit: 6f9651e92e871200c2d0ff47b6f43a5f59106888
      https://github.com/rear/rear/commit/6f9651e92e871200c2d0ff47b6f43a5f59106888
  Author: Johannes Meixner <jsmeix at suse.de>
  Date:   2021-12-09 (Thu, 09 Dec 2021)

  Changed paths:
    A usr/share/rear/layout/prepare/default/420_autoresize_last_partitions.sh

  Log Message:
  -----------
  Add files via upload


  Commit: d7dc9cbfef567dd9a8bc8c77361bd2838c7e8417
      https://github.com/rear/rear/commit/d7dc9cbfef567dd9a8bc8c77361bd2838c7e8417
  Author: Johannes Meixner <jsmeix at suse.de>
  Date:   2021-12-10 (Fri, 10 Dec 2021)

  Changed paths:
    M usr/share/rear/layout/prepare/default/420_autoresize_last_partitions.sh

  Log Message:
  -----------
  Add files via upload


  Commit: f49d79a655842de4d77a2be409c27d0486c553f8
      https://github.com/rear/rear/commit/f49d79a655842de4d77a2be409c27d0486c553f8
  Author: Johannes Meixner <jsmeix at suse.de>
  Date:   2021-12-10 (Fri, 10 Dec 2021)

  Changed paths:
    M usr/share/rear/layout/prepare/default/420_autoresize_last_partitions.sh

  Log Message:
  -----------
  Add files via upload


  Commit: 8ff57127be0ac673b9ae23c65ed2fdda037b8e2c
      https://github.com/rear/rear/commit/8ff57127be0ac673b9ae23c65ed2fdda037b8e2c
  Author: Johannes Meixner <jsmeix at suse.de>
  Date:   2021-12-10 (Fri, 10 Dec 2021)

  Changed paths:
    M usr/share/rear/layout/prepare/default/250_compare_disks.sh

  Log Message:
  -----------
  Add files via upload


  Commit: 0b7666096dc7865e45611ef299d2ed6041840322
      https://github.com/rear/rear/commit/0b7666096dc7865e45611ef299d2ed6041840322
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M usr/share/rear/layout/prepare/default/250_compare_disks.sh

  Log Message:
  -----------
  Update 250_compare_disks.sh

Better user messages about old disk and sizes and new disks and sizes


  Commit: ed3155f68bfcaddad9e8930b7fd93022274c4d8c
      https://github.com/rear/rear/commit/ed3155f68bfcaddad9e8930b7fd93022274c4d8c
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M usr/share/rear/layout/prepare/default/250_compare_disks.sh

  Log Message:
  -----------
  Update 250_compare_disks.sh

In layout/prepare/default/250_compare_disks.sh skip CDROM devices
(in particular the device where the ReaR recovery system was booted from)
same as already done in layout/prepare/default/300_map_disks.sh


  Commit: 49c9f5c95f0d517d1081a5cede57022791c82f4a
      https://github.com/rear/rear/commit/49c9f5c95f0d517d1081a5cede57022791c82f4a
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M usr/share/rear/layout/prepare/default/300_map_disks.sh

  Log Message:
  -----------
  Update 300_map_disks.sh

In layout/prepare/default/300_map_disks.sh
more explanatory comment why "removable" devices are not included
in the choices for the user: Primarily to skip CDROM devices.


  Commit: fd3a3bbf6b0ea7a57286b737159f310cd94414e8
      https://github.com/rear/rear/commit/fd3a3bbf6b0ea7a57286b737159f310cd94414e8
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M usr/share/rear/layout/prepare/default/420_autoresize_last_partitions.sh

  Log Message:
  -----------
  Update 420_autoresize_last_partitions.sh

In layout/prepare/default/420_autoresize_last_partitions.sh
fixed the code to avoid 'set -e -u' exit and the code to set fallbacks.
In particular the old fallback for AUTORESIZE_EXCLUDE_PARTITIONS
did not let the user specify AUTORESIZE_EXCLUDE_PARTITIONS=()
which is now possible.


  Commit: 41ce2e13581cf173d983eed9f7408f47ad237d9c
      https://github.com/rear/rear/commit/41ce2e13581cf173d983eed9f7408f47ad237d9c
  Author: Johannes Meixner <jsmeix at suse.com>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M usr/share/rear/layout/prepare/default/250_compare_disks.sh
    M usr/share/rear/layout/prepare/default/300_map_disks.sh
    M usr/share/rear/layout/prepare/default/420_autoresize_last_partitions.sh

  Log Message:
  -----------
  Merge pull request #2726 from rear/jsmeix-resize-RAID1

In layout/prepare/default/420_autoresize_last_partitions.sh
automatically resize active last partitions on RAID1 disks
and fixed fallback setting so that now the user can specify
AUTORESIZE_EXCLUDE_PARTITIONS=() in his local.conf.
Additionally in layout/prepare/default/250_compare_disks.sh
show info about old disk and sizes and new disks and sizes
in case of MIGRATION_MODE to make it easier to answer
the questions to which new disks old disk should be mapped.


Compare: https://github.com/rear/rear/compare/0138f3253b35...41ce2e13581c


More information about the rear-devel mailing list