#2593 Issue closed
: Error: Could not create ISO image (with /bin/xorrisofs)¶
Labels: support / question
, fixed / solved / done
Chownx opened issue at 2021-03-30 11:00:¶
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"):
ReaR 2.4 release, 13.el7 -
OS version ("cat /etc/os-release" or "lsb_release -a" or "cat /etc/rear/os.conf"):
RHEL 7.9 -
ReaR configuration files ("cat /etc/rear/site.conf" and/or "cat /etc/rear/local.conf"):
OUTPUT=ISO
BACKUP=TSM
#COPY_AS_IS_TSM=( /etc/adsm/TSM.PWD /opt/tivoli/tsm/client )
COPY_AS_IS_TSM=( /etc/adsm/TSM.PWD /opt/tivoli/tsm/client/ba/bin/dsmc )
COPY_AS_IS_EXCLUDE_TSM=( )
PROGS_TSM=(dsmc)
ISO_VOLID=REAR_b0d0c9z2
ISO_DIR=/backup/b0d0c9z2
MODULES=(vmxnet)
MODULES_LOAD=(vmxnet)
TSM_RESULT_SAVE=n
ISO_MAX_SIZE=4500
BACKUP_PROG_EXCLUDE=("${BACKUP_PROG_EXCLUDE[@]}" '/media' '/var/tmp' '/var/crash' '/tmp/*')
-
Hardware (PC or PowerNV BareMetal or ARM) or virtual machine (KVM guest or PoverVM LPAR):
Dell PowerEdge R730 -
System architecture (x86 compatible or PPC64/PPC64LE or what exact ARM device):
x86 -
Firmware (BIOS or UEFI or Open Firmware) and bootloader (GRUB or ELILO or Petitboot):
BIOS, GRUB -
Storage (local disk or SSD) and/or SAN (FC or iSCSI or FCoE) and/or multipath (DM or NVMe):
SAN, FC with EMC, powerpath driver. -
Storage layout ("lsblk -ipo NAME,KNAME,PKNAME,TRAN,TYPE,FSTYPE,SIZE,MOUNTPOINT" or "lsblk" as makeshift):
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 7.4G 0 disk
sdb 8:16 0 33.7G 0 disk
├─sdb1 8:17 0 200M 0 part
└─sdb2 8:18 0 33.5G 0 part
sdc 8:32 0 505.8G 0 disk
sdd 8:48 0 101.2G 0 disk
sde 8:64 0 505.8G 0 disk
sdf 8:80 0 505.8G 0 disk
sdg 8:96 0 505.8G 0 disk
sdh 8:112 0 505.8G 0 disk
sdi 8:128 0 505.8G 0 disk
sdj 8:144 0 505.8G 0 disk
sdk 8:160 0 505.8G 0 disk
sdl 8:176 0 505.8G 0 disk
sdm 8:192 0 505.8G 0 disk
sdn 8:208 0 505.8G 0 disk
sdo 8:224 0 505.8G 0 disk
sdp 8:240 0 505.8G 0 disk
sdq 65:0 0 505.8G 0 disk
sdr 65:16 0 505.8G 0 disk
sds 65:32 0 505.8G 0 disk
sdt 65:48 0 505.8G 0 disk
sdu 65:64 0 505.8G 0 disk
sdv 65:80 0 505.8G 0 disk
sdw 65:96 0 505.8G 0 disk
sdx 65:112 0 505.8G 0 disk
sdy 65:128 0 505.8G 0 disk
sdz 65:144 0 505.8G 0 disk
sdaa 65:160 0 505.8G 0 disk
sdab 65:176 0 505.8G 0 disk
sdac 65:192 0 505.8G 0 disk
sdad 65:208 0 505.8G 0 disk
sdae 65:224 0 505.8G 0 disk
sdaf 65:240 0 505.8G 0 disk
sdag 66:0 0 505.8G 0 disk
we have a lot of disk.
vgs
VG #PV #LV #SN Attr VSize VFree
appvg 4 3 0 wz--n- 1.58t 1.53t
daosvg 18 1 0 wz--n- 8.89t 0
datavg 56 1 0 wz--n- 27.66t 832.22g
rootvg 1 6 0 wz--n- 33.52g 5.43g
toolsvg 1 3 0 wz--n- 24.00g 11.00g
- Description of the issue (ideally so that others can reproduce
it):
rear -d -v mkbackup fails with below messages:
Added to ISO image: directory '/'='/tmp/rear.FL335Os7cEfq4gg/tmp/isofs'
xorriso : UPDATE : 14 files added in 1 seconds
xorriso : UPDATE : 14 files added in 1 seconds
xorriso : UPDATE : Thank you for being patient. Working since 0 seconds.
libburn : SORRY : Failed to open device (a pseudo-drive) : Permission denied
xorriso : UPDATE : Thank you for being patient. Working since 1 seconds.
libburn : FATAL : Burn run failed
xorriso : FATAL : -abort_on 'FAILURE' encountered 'FATAL' during image writing
xorriso : NOTE : libburn has now been urged to cancel its operation
xorriso : UPDATE : Thank you for being patient. Working since 2 seconds.
xorriso : UPDATE : Thank you for being patient. Working since 3 seconds.
xorriso : UPDATE : Thank you for being patient. Working since 4 seconds.
libisofs: MISHAP : Image write cancelled
xorriso : FAILURE : libburn indicates failure with writing.
xorriso : NOTE : -return_with SORRY 32 triggered by problem severity FATAL
2021-03-30 12:13:03.427428337 ERROR: Could not create ISO image (with /bin/xorrisofs)
==== Stack trace ====
Trace 0: /usr/sbin/rear:547 main
Trace 1: /usr/share/rear/lib/mkbackup-workflow.sh:24 WORKFLOW_mkbackup
Trace 2: /usr/share/rear/lib/framework-functions.sh:101 SourceStage
Trace 3: /usr/share/rear/lib/framework-functions.sh:49 Source
Trace 4: /usr/share/rear/output/ISO/Linux-i386/820_create_iso_image.sh:28 source
Trace 5: /usr/share/rear/lib/_input-output-functions.sh:372 StopIfError
Message: Could not create ISO image (with /bin/xorrisofs)
== End stack trace ==
2021-03-30 12:13:03.434205707 Exiting rear mkbackup (PID 16430) and its descendant processes
2021-03-30 12:13:04.474968541 rear,16430 /usr/sbin/rear -d -v mkbackup
`-rear,23338 /usr/sbin/rear -d -v mkbackup
`-pstree,23339 -Aplau 16430
/usr/share/rear/lib/_input-output-functions.sh: line 157: kill: (23344) - No such process
2021-03-30 12:13:04.512104193 Running exit tasks
2021-03-30 12:13:04.514019012 Exit task 'rm -Rf -v /tmp/rear.FL335Os7cEfq4gg/outputfs >&2'
-
Workaround, if any:
-
Attachments, as applicable ("rear -D mkrescue/mkbackup/recover" debug log files):
pcahyna commented at 2021-03-30 11:37:¶
libburn : SORRY : Failed to open device (a pseudo-drive) : Permission denied
Do you have permissions to write the ISO image file ($ISO_DIR
)?
Chownx commented at 2021-03-30 12:27:¶
Hello,
Yes, it is NFS share and it has below permission.
# ls -ld /backup/b0d0c9z2/
drwxrwxrwx 3 nobody nobody 4096 Mar 30 05:00 /backup/b0d0c9z2/
# df -h |grep b0d0c9z2
b0d0s4t2.com:/backup/b0d0c9z2 162G 127G 27G 83% /backup/b0d0c9z2
pcahyna commented at 2021-03-30 12:35:¶
I would still point ISO_DIR
to some local directory (or not set it and
set OUTPUT_URL=file://...
) to rule out NFS problems.
(Is the NFS share exported and mounted read/write?)
pcahyna commented at 2021-03-30 12:38:¶
You can also try to set ISO_DIR to a nonexistent subdirectory:
ISO_DIR=/backup/b0d0c9z2/subdir
, ReaR will create the subdirectory, so
if there is problem with writes to the NFS share, you will see the
problem sooner.
Chownx commented at 2021-03-30 13:31:¶
Hi,
Thanks a lot for you support. You are right, I dont know why but it was
a problem of write permission on NFS share.
thanks.
pcahyna commented at 2021-03-30 13:35:¶
You are welcome, glad that it helped. @jsmeix can you please close the issue? I can't.
jsmeix commented at 2021-03-30 14:15:¶
@pcahyna
my pleasure!
Thank you for solving it!
[Export of Github issue for rear/rear.]