Bug 2091750 - Error ‘Cannot mount ISO because there is no ‘/dev/disk/by-label/RELAXRECOVER’ when try "rear recover" from HP ProLiant physical server
Summary: Error ‘Cannot mount ISO because there is no ‘/dev/disk/by-label/RELAXRECOVER...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rear
Version: 8.5
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Pavel Cahyna
QA Contact: CS System Management SST QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-31 01:42 UTC by William LEE
Modified: 2022-07-26 09:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-26 09:31:50 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-123696 0 None None None 2022-05-31 01:51:48 UTC

Description William LEE 2022-05-31 01:42:03 UTC
Description of problem:
Customer make the backup into single one iso file without problem. With /etc/rear/local.conf like this:
***********
$ more 0120-local.conf.txt
OUTPUT=ISO
OUTPUT_URL=file:///u03/
BACKUP=NETFS
BACKUP_URL=iso:///backup/
BACKUP_PROG_EXCLUDE=("${BACKUP_PROG_EXCLUDE[@]}" '/media' '/var/tmp' '/var/crash' '/u01' '/u02' '/u03')
NETFS_KEEP_OLD_BACKUP_COPY=
PRE_RECOVERY_SCRIPT=("modprobe usb-storage ; sleep 35")
MODULES+=("usb-storage")
AUTOEXCLUDE_MULTIPATH=n
*************

The "rear mkbackup" completed with a success,  But found error below when “rear recover” 
*******
Error ‘Cannot mount ISO because there is no ‘\’ ‘/dev/disk/by-label/RELAXRECOVER’ , the recover log can be found in capture file in c#15 (file “SST-Recover-debug.docx”)
*******

Version-Release number of selected component (if applicable):
rear-2.6-4.el8.x86_64                                       Mon May 23 10:39:20 2022

How reproducible:


Steps to Reproduce:
1. "rear mkbakcup" success  (backup files to single iso file)
2. "rear recover" to another HP identical physical server.
3. see "‘Cannot mount ISO because there is no ‘\’ ‘/dev/disk/by-label/RELAXRECOVER’

Actual results:


Expected results:


Additional info:
test the same in vmware platform (between two vmware virtual server) with the same /etc/rear/local.conf , it worked.

Comment 1 Pavel Cahyna 2022-05-31 08:26:02 UTC
"the recover log can be found in capture" - can you please attach it?

Comment 3 William LEE 2022-05-31 08:42:29 UTC
attached recover log, thanks.

one point here, since the single iso file is more than 4G size, he seem boot this iso file from HPE proliant server with ""virtual CDROM option", does it a problem ?  should customer burn it to DVD and retry the "rear recover"?   thanks.

Comment 4 Pavel Cahyna 2022-05-31 08:58:35 UTC
> one point here, since the single iso file is more than 4G size, he seem boot this iso file from HPE proliant server with ""virtual CDROM option", does it a problem ?  

I am not sure, because this is something that depends on the server firmware, not the OS or ReaR. I would try a physical DVD indeed if it is easy.

I also recommend examining the system before ReaR starts to check if the rescue DVD is visible to the system (using commands like lsblk and blkid).

Comment 5 Pavel Cahyna 2022-05-31 09:32:22 UTC
Here's how it looks when the DVD is found properly:

RESCUE localhost:~ # blkid
...
/dev/sr0: UUID="2021-06-21-13-07-28-00" LABEL="REAR-ISO" TYPE="iso9660"

RESCUE localhost:~ # lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
(...)
sr0     11:0    1 201.3M  0 rom  

RESCUE localhost:~ # blkid -L REAR-ISO
/dev/sr0

RESCUE localhost:~ # ls -l /dev/disk/by-label/REAR-ISO 
lrwxrwxrwx 1 root root 9 May 31 09:20 /dev/disk/by-label/REAR-ISO -> ../../sr0

(Replace REAR-ISO by RELAXRECOVER, my example is from a newer version of ReaR where the label got changed from RELAXRECOVER to REAR-ISO, but otherwise it should behave the same.)

Note that the lsblk commands shows the size of the virtual DVD (ISO image) in sr0.

Comment 7 William LEE 2022-06-24 02:34:51 UTC
Hi, Pavel,

    Have suggested customer upgrade HP iLo, but they didn't reply with results. you can close this bug request. thanks .

Comment 8 Pavel Cahyna 2022-07-26 09:31:50 UTC
Hi William, thank you for the information. Closing.


Note You need to log in before you can comment on or make changes to this bug.