-
Story
-
Resolution: Unresolved
-
Undefined
-
rhel-9.6, rhel-10.0, eln
-
None
-
rear-2.6-27.el9
-
Moderate
-
1
-
rhel-base-utils-core
-
ssg_core_services
-
0
-
False
-
False
-
-
None
-
BaseUtilsC Sprint CY25_00
-
Unspecified
-
Unspecified
-
Unspecified
-
None
Goal
- Backport enhancement from https://github.com/rear/rear/pull/3412 so that 300_map_disks.sh script prints the disk sizes and include this information in the logs
- Also include this information in the ReaR logs; however, it appears that the pull request covers logging.
- This script requires that library script /usr/share/rear/lib/write-protect-functions.sh is available as well
2025-02-28 09:05:07.217022299 Including layout/prepare/default/300_map_disks.sh 2025-02-28 09:05:07.411556781 Using /dev/sda (same name and same size 59055800320) for recreating /dev/sda 2025-02-28 09:05:07.421783784 Using /dev/sdb (same name and same size 107374182400) for recreating /dev/sdb 2025-02-28 09:05:07.431783600 Using /dev/sdc (same name and same size 429496729600) for recreating /dev/sdc 2025-02-28 09:05:07.441584014 Using /dev/sdd (same name and same size 21474836480) for recreating /dev/sdd 2025-02-28 09:05:07.483250556 Original disk /dev/sde does not exist (with same size) in the target system 2025-02-28 09:05:07.489534091 /dev/sda excluded from device mapping choices (is already used as mapping target) 2025-02-28 09:05:07.495736646 /dev/sdb excluded from device mapping choices (is already used as mapping target) 2025-02-28 09:05:07.501468133 /dev/sdc excluded from device mapping choices (is already used as mapping target) 2025-02-28 09:05:07.507184561 /dev/sdd excluded from device mapping choices (is already used as mapping target) 2025-02-28 09:05:07.509295222 sr0 excluded from device mapping choices (is a removable device) 2025-02-28 09:05:07.510573838 No device found where to /dev/sde could be mapped so that it will not be recreated 2025-02-28 09:05:07.515821124 Current disk mapping table (source => target): /dev/sda => /dev/sda /dev/sdb => /dev/sdb /dev/sdc => /dev/sdc /dev/sdd => /dev/sdd 2025-02-28 09:05:07.528597125 Currently unmapped disks and dependent devices will not be recreated
Acceptance criteria
- Create a new rear backup and then when restoring from the backup ensure that 300_map_disks.sh includes the disk sizes (which prints to log as in the above example)