#898 Issue closed: ERROR: BUG BUG BUG! Could not determine size of disk sdl/sdl1, please file a bug.

Labels: support / question, fixed / solved / done

procurve86 opened issue at 2016-06-30 05:57:

Relax-and-Recover (rear) Issue Template

Please fill in the following items before submitting a new issue:

  • rear version (/usr/sbin/rear -V):
    Relax-and-Recover 1.17.2 / Git
  • OS version (cat /etc/rear/os.conf or lsb_release -a):
    OS_VENDOR=RedHatEnterpriseServer
    OS_VERSION=7
  • rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf):
# Create Relax-and-Recover rescue media as ISO image
OUTPUT=ISO
BACKUP=NETFS
NETFS_KEEP_OLD_BACKUP_COPY=no
NETFS_URL=nfs://10.1.30.20/u02/rear_backups
BACKUP_PROG_EXCLUDE=( '/u02/*' '/u03/*' '/u04/*' '/u05/*' '/u06/*' '/u07/*' '/u08/*' '/u09/*' '/u10/*' '/u11/* '/u12/*' '/u13/*' '/u14/*' )
  • Brief description of the issue
    Got notified by the cron job: /usr/sbin/rear checklayout || /usr/sbin/rear mkrescue:
ERROR: BUG BUG BUG!  Could not determine size of disk sdl/sdl1, please file a bug. 
=== Issue report ===
Please report this unexpected issue at: https://github.com/rear/rear/issues
Also include the relevant bits from /var/log/rear/rear-bosdvp01.log.lockless

HINT: If you can reproduce the issue, try using the -d or -D option !
====================
ERROR: BUG BUG BUG!  Could not determine size of disk sdu/sdu1, please file a bug. 
=== Issue report ===
Please report this unexpected issue at: https://github.com/rear/rear/issues
Also include the relevant bits from /var/log/rear/rear-bosdvp01.log.lockless

HINT: If you can reproduce the issue, try using the -d or -D option !
====================
Aborting due to an error, check /var/log/rear/rear-bosdvp01.log for details
/bin/sh: line 1: 57512 Terminated              /usr/sbin/rear checklayout
ERROR: BUG BUG BUG!  Could not determine size of disk sdg/sdg1, please file a bug. 
=== Issue report ===
Please report this unexpected issue at: https://github.com/rear/rear/issues
Also include the relevant bits from /var/log/rear/rear-bosdvp01.log

HINT: If you can reproduce the issue, try using the -d or -D option !
====================
Aborting due to an error, check /var/log/rear/rear-bosdvp01.log for details
/bin/sh: line 1: 63659 Terminated              /usr/sbin/rear mkrescue
  • Work-around, if any
    n/a

gdha commented at 2016-06-30 06:03:

@procurve86 could you give some more info around the devices in use, e.g. /dev/sdu1? Are these by accident Oracle ASM devices?

procurve86 commented at 2016-06-30 06:30:

Hi gdha

thank you for your quick reply.
These are multipath devices on a san storage and the filesystem is ext4.
Is it possible to exclude these devices or generally exclude mpath devices?

best regards
daniel

Below the log file:

2016-06-30 01:30:08 Including prep/default/31_include_uefi_tools.sh
2016-06-30 01:30:08 Including prep/ISO/default/32_check_cdrom_size.sh
2016-06-30 01:30:08 ISO Directory '/var/lib/rear/output' [/dev/mapper/VolGroup_System-LogVol_var] has 27722 MB free space
2016-06-30 01:30:08 Including prep/default/32_include_uefi_env.sh
2016-06-30 01:30:08 Including prep/ISO/GNU/Linux/32_verify_mkisofs.sh
2016-06-30 01:30:08 Using '/usr/bin/mkisofs' to create ISO images
2016-06-30 01:30:08 Including prep/ISO/Linux-i386/33_find_isolinux.sh
2016-06-30 01:30:08 Including prep/ISO/GNU/Linux/34_add_isofs_module.sh
2016-06-30 01:30:08 Including prep/NETFS/default/40_automatic_exclude_recreate.sh
2016-06-30 01:30:08 Including prep/default/50_guess_bootloader.sh
4+0 records in
4+0 records out
2048 bytes (2.0 kB) copied, 0.000316669 s, 6.5 MB/s
2016-06-30 01:30:08 Including prep/default/95_check_missing_programs.sh
2016-06-30 01:30:08 Including prep/NETFS/default/98_umount_NETFS_dir.sh
2016-06-30 01:30:08 Unmounting '/tmp/rear.kNN0DCzDToobPEz/outputfs'
2016-06-30 01:30:08 Finished running 'prep' stage in 0 seconds
2016-06-30 01:30:08 Running 'layout/save' stage
2016-06-30 01:30:08 Including layout/save/GNU/Linux/10_create_layout_file.sh
2016-06-30 01:30:08 Creating disk layout
2016-06-30 01:30:08 Preparing layout directory.
2016-06-30 01:30:08 Removing old layout file.
2016-06-30 01:30:08 Including layout/save/GNU/Linux/15_save_diskbyid_mappings.sh
2016-06-30 01:30:08 Saved diskbyid_mappings
2016-06-30 01:30:08 Including layout/save/GNU/Linux/20_partition_layout.sh
2016-06-30 01:30:08 Saving disk partitions.
2016-06-30 01:30:13 ERROR: BUG BUG BUG!  Could not determine size of disk sdg/sdg1, please file a bug.
=== Issue report ===
Please report this unexpected issue at: https://github.com/rear/rear/issues
Also include the relevant bits from /var/log/rear/rear-bosdvp01.log

HINT: If you can reproduce the issue, try using the -d or -D option !
====================
=== Stack trace ===
Trace 0: /usr/sbin/rear:251 main
Trace 1: /usr/share/rear/lib/mkrescue-workflow.sh:27 WORKFLOW_mkrescue
Trace 2: /usr/share/rear/lib/framework-functions.sh:70 SourceStage
Trace 3: /usr/share/rear/lib/framework-functions.sh:31 Source
Trace 4: /usr/share/rear/layout/save/GNU/Linux/20_partition_layout.sh:261 source
Trace 5: /usr/share/rear/layout/save/GNU/Linux/20_partition_layout.sh:64 extract_partitions
Trace 6: /usr/share/rear/lib/layout-functions.sh:506 get_disk_size
Trace 7: /usr/share/rear/lib/_input-output-functions.sh:156 BugIfError
Trace 8: /usr/share/rear/lib/_input-output-functions.sh:144 BugError
Message: BUG BUG BUG!  Could not determine size of disk sdg/sdg1, please file a bug.
=== Issue report ===
Please report this unexpected issue at: https://github.com/rear/rear/issues
Also include the relevant bits from /var/log/rear/rear-bosdvp01.log

HINT: If you can reproduce the issue, try using the -d or -D option !
====================
===================
2016-06-30 01:30:15 Running exit tasks.
2016-06-30 01:30:15 Finished in 7 seconds
2016-06-30 01:30:15 Removing build area /tmp/rear.kNN0DCzDToobPEz
2016-06-30 01:30:15 End of program reached

gdha commented at 2016-06-30 06:41:

Could you run the following rear -vD savelayout? Must see the debugging to have a better insight.

procurve86 commented at 2016-06-30 07:21:

rear-bosdvp01.txt

gdha commented at 2016-06-30 10:16:

@procurve86 The problem is you have a syntax error in you local.conf as seen in the dump:

++ NETFS_URL=nfs://10.1.30.20/u02/rear_backups
/etc/rear/local.conf: line 6: unexpected EOF while looking for matching `''
/etc/rear/local.conf: line 7: syntax error: unexpected end of fil

You missed a ' in BACKUP_PROG_EXCLUDE.
PS: remember - rear is sourcing the config files and therefore treat these a bash scripts content as well

procurve86 commented at 2016-06-30 11:33:

dear gdha

I'm sorry for wasting your time with configuration errors!
and many thanks for your support.

have a good one

best regards
daniel

jsmeix commented at 2016-07-04 12:29:

As far as I understand https://github.com/rear/rear/issues/898#issuecomment-229633357
I think this issue can be closed.


[Export of Github issue for rear/rear.]