#229 Issue closed
: SGI uv100 with SLES 11 SP1¶
Labels: enhancement
, documentation
, support / question
,
fixed / solved / done
umcastello opened issue at 2013-04-30 18:11:¶
I tried to run the system rear (rear-1.14-3.noarch.rpm) in a computer SGI uv100 with SLES 11 SP1 and got the following error:
rear -v mkbackup¶
Relax-and-Recover 1.14 / Git
Using log file: /var/log/rear/rear-machine.log
Creating disk layout
ERROR: Unknown boot loader elilo found in '/etc/sysconfig/bootloader'
Aborting due to an error, check /var/log/rear/rear-machine.log for
details
Terminated
Is there any way to fix this?
Best regards,
Ulisses
dagwieers commented at 2013-06-29 08:28:¶
@umcastello I noticed you closed this issue, is this no longer needed ? Did you fix it in some way ? It would be nice to learn from your experience :-)
umcastello commented at 2013-06-30 14:11:¶
Hello,
Actually I could not solve the problem.
I did not close the problem I just unsubscribe the list.
Cheers,
Ulisses
dagwieers commented at 2013-06-30 17:30:¶
The issue history states "@umcastello closed the issue 2 months ago". That's why nobody offered to help you with this issue.
umcastello commented at 2013-07-01 01:22:¶
Yes. This is the point.
gdha commented at 2013-07-01 09:38:¶
seems related to issue #254
gdha commented at 2013-07-11 06:48:¶
special code for SLES for the mkbootloader
has been removed -
commit 29b7d36c430cd1b5587d21f06980e22684859369
Author: Jeroen Hoekx jeroen@hoekx.be
Date: Fri Feb 8 11:00:49 2013 +0100
Remove special handling of Suse bootloader.
Using the Suse saved bootloader information does not work when restoring to a
system with a different layout.
please update your repository and try again...
gdha commented at 2013-08-09 11:03:¶
@umcastello did you have time to retest with an updated repo?
umcastello commented at 2013-08-14 14:28:¶
Hi Gdha,
I´m trying from this repo:
https://github.com/downloads/rear/rear/rear-1.14.tar.gz
Am I correct?
2013/8/9 gdha notifications@github.com
@umcastello https://github.com/umcastello did you have time to retest
with an updated repo?—
Reply to this email directly or view it on GitHubhttps://github.com/rear/rear/issues/229#issuecomment-22387877
.
gdha commented at 2013-08-14 15:03:¶
use the one found under
http://download.opensuse.org/repositories/Archiving:/Backup:/Rear:/Snapshot/SLE_11_SP1/noarch/
as it is more recent
umcastello commented at 2013-08-14 16:10:¶
Hi Gdha,
This is the output:
uv100:~ # rear -v mkbackup
Relax-and-Recover 1.14-git201308130912 / 2013-08-13
Using log file: /var/log/rear/rear-uv100.log
Using UEFI Boot Loader for Linux (USING_UEFI_BOOTLOADER=1)
Creating disk layout
Creating root filesystem layout
TIP: To login as root via ssh you need to set up
/root/.ssh/authorized_keys
or SSH_ROOT_PASSWORD in your configuration file
ERROR: Cannot find a proper UEFI_BOOTLOADER ().
Please define it in /etc/rear/local.conf (e.g.
UEFI_BOOTLOADER=/boot/efi/EFI/fedora/shim.efi)
Aborting due to an error, check /var/log/rear/rear-uv100.log for
details
Terminated
2013/8/14 gdha notifications@github.com
use the one found under
http://download.opensuse.org/repositories/Archiving:/Backup:/Rear:/Snapshot/SLE_11_SP1/noarch/
as it is more recent—
Reply to this email directly or view it on GitHubhttps://github.com/rear/rear/issues/229#issuecomment-22641933
.
umcastello commented at 2013-08-14 16:15:¶
Hi Gdha,
This is the log:
uv100:~ # more /var/log/rear/rear-uv100.log
2013-08-14 13:09:07 Relax-and-Recover 1.14-git201308130912 /
2013-08-13
2013-08-14 13:09:07 Command line options: /usr/sbin/rear -v mkbackup
2013-08-14 13:09:07 Using log file: /var/log/rear/rear-uv100.log
2013-08-14 13:09:07 Including /etc/rear/os.conf
2013-08-14 13:09:07 Including conf/Linux-i386.conf
2013-08-14 13:09:07 Including conf/GNU/Linux.conf
2013-08-14 13:09:07 Including conf/SUSE_LINUX.conf
2013-08-14 13:09:07 Including /etc/rear/local.conf
2013-08-14 13:09:07 Using build area '/tmp/rear.CShPVi0FmlLSHZx'
mkdir: created directory
/tmp/rear.CShPVi0FmlLSHZx/rootfs' mkdir: created directory
/tmp/rear.CShPVi0FmlLSHZx/tmp'
2013-08-14 13:09:07 Running mkbackup workflow
2013-08-14 13:09:07 Running 'prep' stage
2013-08-14 13:09:07 Including
prep/default/00_remove_workflow_conf.sh
mkdir: created directory
/tmp/rear.CShPVi0FmlLSHZx/rootfs/etc' mkdir: created directory
/tmp/rear.CShPVi0FmlLSHZx/rootfs/etc/rear'
2013-08-14 13:09:07 Including prep/default/02_translate_url.sh
2013-08-14 13:09:07 Using NETFS_URL is deprecated. Use BACKUP_URL
instead.
2013-08-14 13:09:07 Including prep/default/03_translate_tape.sh
2013-08-14 13:09:07 Including
prep/default/04_check_output_scheme.sh
2013-08-14 13:09:07 Including
prep/NETFS/default/05_check_NETFS_requirements.sh
2013-08-14 13:09:07 Skipping ping test
2013-08-14 13:09:07 Including
prep/NETFS/default/07_set_backup_archive.sh
2013-08-14 13:09:07 Including
prep/NETFS/default/09_check_encrypted_backup.sh
2013-08-14 13:09:07 Including
prep/NETFS/default/15_save_rsync_version.sh
2013-08-14 13:09:07 Including prep/GNU/Linux/20_include_agetty.sh
2013-08-14 13:09:07 Including
prep/NETFS/GNU/Linux/20_selinux_in_use.sh
2013-08-14 13:09:07 Including prep/GNU/Linux/21_include_dhclient.sh
2013-08-14 13:09:07 Including
prep/GNU/Linux/22_include_lvm_tools.sh
2013-08-14 13:09:07 Device mapper found enabled. Including LVM tools.
2013-08-14 13:09:07 Including prep/GNU/Linux/23_include_md_tools.sh
2013-08-14 13:09:07 Including prep/GNU/Linux/28_include_systemd.sh
2013-08-14 13:09:08 Including
prep/GNU/Linux/28_include_vmware_tools.sh
2013-08-14 13:09:08 Including prep/GNU/Linux/29_include_drbd.sh
2013-08-14 13:09:08 Including
prep/GNU/Linux/30_check_backup_and_output_url.sh
2013-08-14 13:09:08 Including prep/ISO/default/30_check_iso_dir.sh
2013-08-14 13:09:08 Including
prep/GNU/Linux/30_include_grub_tools.sh
2013-08-14 13:09:08 Including prep/default/31_include_uefi_tools.sh
2013-08-14 13:09:08 Using UEFI Boot Loader for Linux
(USING_UEFI_BOOTLOADER=1)
2013-08-14 13:09:08 Including
prep/ISO/default/32_check_cdrom_size.sh
2013-08-14 13:09:08 ISO Directory '/var/lib/rear/output' [/dev/sda2]
has
11061 MB free space
2013-08-14 13:09:08 Including
prep/ISO/GNU/Linux/32_verify_mkisofs.sh
2013-08-14 13:09:08 Using '/usr/bin/mkisofs' to create ISO images
2013-08-14 13:09:08 Including
prep/ISO/Linux-i386/33_find_isolinux.sh
2013-08-14 13:09:08 Including
prep/NETFS/default/40_automatic_exclude_recreate.sh
2013-08-14 13:09:08 Finished running 'prep' stage in 1 seconds
2013-08-14 13:09:08 Running 'layout/save' stage
2013-08-14 13:09:08 Including
layout/save/GNU/Linux/10_create_layout_file.sh
2013-08-14 13:09:08 Creating disk layout
2013-08-14 13:09:08 Preparing layout directory.
2013-08-14 13:09:08 Removing old layout file.
2013-08-14 13:09:08 Including
layout/save/GNU/Linux/20_partition_layout.sh
2013-08-14 13:09:08 Saving disk partitions.
2013-08-14 13:09:08 Including
layout/save/GNU/Linux/21_raid_layout.sh
2013-08-14 13:09:08 Including layout/save/GNU/Linux/22_lvm_layout.sh
2013-08-14 13:09:08 Saving LVM layout.
/dev/sdb: open failed: No medium found
/dev/sdb: open failed: No medium found
/dev/sdb: open failed: No medium found
2013-08-14 13:09:08 Including
layout/save/GNU/Linux/23_filesystem_layout.sh
2013-08-14 13:09:08 Saving Filesystem layout.
/usr/share/rear/layout/save/GNU/Linux/23_filesystem_layout.sh: line
65:
dosfslabel: command not found
2013-08-14 13:09:08 /proc is not a block device, skipping.
2013-08-14 13:09:08 Including
layout/save/GNU/Linux/24_swaps_layout.sh
2013-08-14 13:09:08 Saving Swap information.
2013-08-14 13:09:08 Including
layout/save/GNU/Linux/25_drbd_layout.sh
2013-08-14 13:09:08 Including
layout/save/GNU/Linux/26_crypt_layout.sh
2013-08-14 13:09:08 Saving Encrypted volumes.
2013-08-14 13:09:08 Device Mapper name No not found in /dev/mapper.
2013-08-14 13:09:08 Including
layout/save/GNU/Linux/27_hpraid_layout.sh
2013-08-14 13:09:08 Including
layout/save/GNU/Linux/28_multipath_layout.sh
2013-08-14 13:09:08 Did not find multipath device No in the expected
location.
2013-08-14 13:09:08 Including
layout/save/default/30_list_dependencies.sh
2013-08-14 13:09:08 Including
layout/save/GNU/Linux/30_save_diskbyid_mappings.sh
2013-08-14 13:09:08 Saved diskbyid_mappings
2013-08-14 13:09:08 Including
layout/save/default/31_include_exclude.sh
2013-08-14 13:09:08 Including layout/save/default/32_autoexclude.sh
2013-08-14 13:09:08 Disk /dev/sdb is not used by any mounted
filesystem.
Excluding.
2013-08-14 13:09:08 Including
layout/save/default/33_remove_exclusions.sh
2013-08-14 13:09:08 Including
layout/save/default/34_generate_mountpoint_device.sh
2013-08-14 13:09:09 Including
layout/save/GNU/Linux/35_copy_drbdtab.sh
2013-08-14 13:09:09 Including
layout/save/GNU/Linux/50_extract_vgcfg.sh
/dev/sdb: open failed: No medium found
2013-08-14 13:09:09 Including
layout/save/GNU/Linux/51_current_disk_usage.sh
2013-08-14 13:09:09 Including
layout/save/default/60_snapshot_files.sh
2013-08-14 13:09:09 Finished running 'layout/save' stage in 1 seconds
2013-08-14 13:09:09 Running 'rescue' stage
2013-08-14 13:09:09 Including rescue/default/01_merge_skeletons.sh
2013-08-14 13:09:09 Creating root filesystem layout
2013-08-14 13:09:09 Adding 'default'
2013-08-14 13:09:09 Including rescue/default/10_hostname.sh
2013-08-14 13:09:09 Including rescue/default/20_etc_issue.sh
2013-08-14 13:09:09 Including
rescue/GNU/Linux/23_storage_and_network_modules.sh
find:
/lib/modules/2.6.32.29-0.3.1.2687.3.PTF-default/kernel/drivers/firewire': No such file or directory find:
/lib/modules/2.6.32.29-0.3.1.2687.3.PTF-default/kernel/drivers/xen':
No such file or directory
find:
/lib/modules/2.6.32.29-0.3.1.2687.3.PTF-default/extra': No such file or directory 2013-08-14 13:09:09 Including rescue/GNU/Linux/24_kernel_modules.sh 2013-08-14 13:09:09 Including rescue/GNU/Linux/25_udev.sh 2013-08-14 13:09:09 Including rescue/GNU/Linux/26_collect_initrd_modules.sh 2013-08-14 13:09:09 Including rescue/GNU/Linux/26_storage_drivers.sh 2013-08-14 13:09:09 Including rescue/GNU/Linux/30_dns.sh 2013-08-14 13:09:09 Including rescue/GNU/Linux/31_network_devices.sh mkdir: created directory
/tmp/rear.CShPVi0FmlLSHZx/tmp/mappings'
2013-08-14 13:09:09 Including rescue/GNU/Linux/35_routing.sh
2013-08-14 13:09:09 Including
rescue/GNU/Linux/39_check_usb_modules.sh
2013-08-14 13:09:09 Including
rescue/GNU/Linux/40_use_serial_console.sh
2013-08-14 13:09:09 Modified kernel commandline to: 'selinux=0
console=ttyS0,115200 console=ttyS1,9600 console=tty0'
2013-08-14 13:09:09 Including
rescue/GNU/Linux/41_use_xen_console.sh
2013-08-14 13:09:09 Including rescue/default/43_prepare_timesync.sh
2013-08-14 13:09:09 Including
rescue/GNU/Linux/50_clone_keyboard_mappings.sh
2013-08-14 13:09:09 Including rescue/default/50_ssh.sh
mkdir: created directory
/tmp/rear.CShPVi0FmlLSHZx/rootfs/var/lib/sshd' ownership of
/tmp/rear.CShPVi0FmlLSHZx/rootfs/var/lib/sshd'
retained as
root:root
2013-08-14 13:09:09 TIP: To login as root via ssh you need to set up
/root/.ssh/authorized_keys or SSH_ROOT_PASSWORD in your
configuratio
n file
2013-08-14 13:09:09 Including
rescue/NETFS/default/60_store_NETFS_variables.sh
2013-08-14 13:09:09 Including
rescue/default/85_save_sysfs_uefi_vars.sh
cat:
/sys/firmware/efi/vars/Setup-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9/data:
Input/output error
grep:
/sys/firmware/efi/vars/Setup-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9/attributes:
Input/output error
grep:
/sys/firmware/efi/vars/Setup-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9/attributes:
Input/output error
grep:
/sys/firmware/efi/vars/Setup-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9/attributes:
Input/output error
2013-08-14 13:09:10 ERROR: Cannot find a proper UEFI_BOOTLOADER ().
Please define it in /etc/rear/local.conf (e.g.
UEFI_BOOTLOADER=/boot/efi/EFI/fedora/shim.efi)
=== Stack trace ===
Trace 0: /usr/sbin/rear:249 main
Trace 1: /usr/share/rear/lib/mkbackup-workflow.sh:19
WORKFLOW_mkbackup
Trace 2: /usr/share/rear/lib/framework-functions.sh:79 SourceStage
Trace 3: /usr/share/rear/lib/framework-functions.sh:40 Source
Trace 4:
/usr/share/rear/rescue/default/85_save_sysfs_uefi_vars.sh:63
source
Message: Cannot find a proper UEFI_BOOTLOADER ().
Please define it in /etc/rear/local.conf (e.g.
UEFI_BOOTLOADER=/boot/efi/EFI/fedora/shim.efi)¶
2013-08-14 13:09:10 Running exit tasks.
2013-08-14 13:09:10 Finished in 3 seconds
2013-08-14 13:09:10 Removing build area /tmp/rear.CShPVi0FmlLSHZx
rmdir: removing directory, `/tmp/rear.CShPVi0FmlLSHZx'
2013-08-14 13:09:10 End of program reached
2013/8/14 gdha notifications@github.com
use the one found under
http://download.opensuse.org/repositories/Archiving:/Backup:/Rear:/Snapshot/SLE_11_SP1/noarch/
as it is more recent
Reply to this email directly or view it on GitHubhttps://github.com/rear/rear/issues/229#issuecomment-22641933
.
umcastello commented at 2013-08-14 16:23:¶
Hi,
I put this in local.conf:
UEFI_BOOTLOADER=/boot/efi/efi/SuSE/elilo.efi
And now i have other error:
uv100:~ # rear -v mkbackup
Relax-and-Recover 1.14-git201308130912 / 2013-08-13
Using log file: /var/log/rear/rear-uv100.log
Using UEFI Boot Loader for Linux (USING_UEFI_BOOTLOADER=1)
Creating disk layout
Creating root filesystem layout
TIP: To login as root via ssh you need to set up
/root/.ssh/authorized_keys
or SSH_ROOT_PASSWORD in your configuration file
Copying files and directories
Copying binaries and libraries
Copying kernel modules
Creating initramfs
Making ISO image
ERROR: Could not create ISO image (with /usr/bin/mkisofs)
Aborting due to an error, check /var/log/rear/rear-uv100.log for
details
Terminated
2013/8/14 gdha notifications@github.com
use the one found under
http://download.opensuse.org/repositories/Archiving:/Backup:/Rear:/Snapshot/SLE_11_SP1/noarch/
as it is more recent—
Reply to this email directly or view it on GitHubhttps://github.com/rear/rear/issues/229#issuecomment-22641933
.
gdha commented at 2013-10-11 13:58:¶
@umcastello could you give rear-1.15 a try as there were some UEFI detection fixes in it?
gdha commented at 2013-10-11 14:00:¶
@umcastello check issue #214 - perhaps it is the same? What did the rear.log say about the error?
umcastello commented at 2013-10-14 13:27:¶
Hello Dag,
I will try the new version 1.15.
Regards,
Ulisses
2013/10/11 gdha notifications@github.com
@umcastello https://github.com/umcastello check issue #214https://github.com/rear/rear/issues/214\- perhaps it is the same? What did the rear.log say about the error?
—
Reply to this email directly or view it on GitHubhttps://github.com/rear/rear/issues/229#issuecomment-26139039
.
gdha commented at 2013-11-04 15:35:¶
@umcastello please install dosfstools
RPM package - noticed the error
message:
2013-08-14 13:09:08 Saving Filesystem layout.
/usr/share/rear/layout/save/GNU/Linux/23_filesystem_layout.sh: line 65:
dosfslabel: command not found
umcastello commented at 2013-11-04 15:57:¶
Hi Dag,
The package dosfstools was installed.
What is the site for "rear for suse 11"?
I need install the last version.
Regard,
Ulisses
2013/11/4 gdha notifications@github.com
@umcastello https://github.com/umcastello please install dosfstools RPM
package - noticed the error message:2013-08-14 13:09:08 Saving Filesystem layout.
/usr/share/rear/layout/save/GNU/Linux/23_filesystem_layout.sh: line 65:
dosfslabel: command not found—
Reply to this email directly or view it on GitHubhttps://github.com/rear/rear/issues/229#issuecomment-27694089
.
gdha commented at 2013-11-04 16:15:¶
See download sections for SLES at
http://relax-and-recover.org/download/
Ok, I see, on SLES 11 rpm -ql dosfstools | grep dosfslabel
=> no
dosfslabel
command present. How do you view the label then on SLES?
umcastello commented at 2013-11-04 18:44:¶
Hi,
I don´t have dosfslabel in my suse 11 sp1.
Regard,
Ulisses
2013/11/4 gdha notifications@github.com
See download sections for SLES at http://relax-and-recover.org/download/
Ok, I see, on SLES 11 rpm -ql dosfstools | grep dosfslabel => no
dosfslabel command present. How do you view the label then on SLES?—
Reply to this email directly or view it on GitHubhttps://github.com/rear/rear/issues/229#issuecomment-27697774
.
umcastello commented at 2013-11-04 20:13:¶
Hi Dag,
I installed doslabel now.
I ran rear again and now I have a new error message.
uv100:~ # tail -50 /var/log/rear/rear-uv100.log
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isolinux/menu.c32' ->
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isofs/isolinux/menu.c32'
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isolinux/reboot.c32' ->
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isofs/isolinux/reboot.c32'
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isolinux/chain.c32' ->
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isofs/isolinux/chain.c32'
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isolinux/message' ->
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isofs/isolinux/message'
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isolinux/hdt.c32' ->
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isofs/isolinux/hdt.c32'
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isolinux/isolinux.cfg' ->
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isofs/isolinux/isolinux.cfg'
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isolinux/pci.ids' ->
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isofs/isolinux/pci.ids'
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isolinux/rear.help' ->
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isofs/isolinux/rear.help'
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isolinux/isolinux.bin' ->
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isofs/isolinux/isolinux.bin'
2013-11-04 18:06:22 Including
output/ISO/Linux-i386/70_umount_efibootimg.sh
umount: /tmp/rear.8ahvyDfbmqXZNuA/tmp/efiboot.img: not mounted
Could not find /tmp/rear.8ahvyDfbmqXZNuA/tmp/efiboot.img in mtab
/tmp/rear.8ahvyDfbmqXZNuA/tmp/efiboot.img' ->
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isofs/boot/efiboot.img'
2013-11-04 18:06:22 Including
output/ISO/Linux-i386/80_create_isofs.sh
2013-11-04 18:06:22 Copying kernel
/boot/vmlinuz-2.6.32.29-0.3.1.2687.3.PTF-default' ->
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isofs/isolinux/kernel'
/tmp/rear.8ahvyDfbmqXZNuA/tmp/initrd.cgz' ->
/tmp/rear.8ahvyDfbmqXZNuA/tmp/isofs/isolinux/initrd.cgz'
2013-11-04 18:06:22 Including
output/ISO/Linux-i386/81_prepare_multiple_iso.sh
2013-11-04 18:06:22 Including
output/ISO/Linux-i386/82_create_iso_image.sh
2013-11-04 18:06:22 Starting '/usr/bin/mkisofs'
2013-11-04 18:06:22 Making ISO image
2013-11-04 18:06:22 Including ISO UEFI boot (as triggered by
USING_UEFI_BOOTLOADER=1)
genisoimage: option '-e' is ambiguous
Usage: genisoimage [options] -o file directory ...
Use genisoimage -help
to get a list of valid options.
Report problems to debburn-devel@lists.alioth.debian.org.
2013-11-04 18:06:22 ERROR: Could not create ISO image (with
/usr/bin/mkisofs)
=== Stack trace ===
Trace 0: /usr/sbin/rear:249 main
Trace 1: /usr/share/rear/lib/mkbackup-workflow.sh:30
WORKFLOW_mkbackup
Trace 2: /usr/share/rear/lib/framework-functions.sh:79 SourceStage
Trace 3: /usr/share/rear/lib/framework-functions.sh:40 Source
Trace 4:
/usr/share/rear/output/ISO/Linux-i386/82_create_iso_image.sh:17
source
Trace 5: /usr/share/rear/lib/_input-output-functions.sh:131 StopIfError
Message: Could not create ISO image (with /usr/bin/mkisofs)¶
2013-11-04 18:06:22 Running exit tasks.
umount.nfs: trying 10.180.0.86 prog 100005 vers 3 prot UDP port 34678
umount.nfs: prog 100005, trying vers=3, prot=17
10.180.0.86:/bkp1/rear umounted
rmdir: removing directory,
/tmp/rear.8ahvyDfbmqXZNuA/outputfs' 2013-11-04 18:06:22 Finished in 22 seconds 2013-11-04 18:06:22 Removing build area /tmp/rear.8ahvyDfbmqXZNuA rm: cannot remove directory
/tmp/rear.8ahvyDfbmqXZNuA/tmp/mnt':
Device or
resource busy
rmdir: removing directory,
/tmp/rear.8ahvyDfbmqXZNuA' rmdir: failed to remove
/tmp/rear.8ahvyDfbmqXZNuA':
Directory not empty
2013-11-04 18:06:26 End of program reached¶
Regard,
Ulisses
2013/11/4 gdha notifications@github.com
See download sections for SLES at http://relax-and-recover.org/download/
Ok, I see, on SLES 11 rpm -ql dosfstools | grep dosfslabel => no
dosfslabel command present. How do you view the label then on SLES?—
Reply to this email directly or view it on GitHubhttps://github.com/rear/rear/issues/229#issuecomment-27697774
.
gdha commented at 2013-11-05 08:17:¶
You git the bug mentioned in issue #214
Currently there is no solution (yet). It does work with Ubuntu and
Fedora, but with OpenSuse we have bad luck with the -e
option
gdha commented at 2014-01-03 12:49:¶
as this issues became a duplicate for issue #214 it makes no sense to keep this open.
gdha commented at 2015-04-28 12:38:¶
https://bugzilla.novell.com/show_bug.cgi?id=649046
explains that the dosfslabel
command is now part of the dosfstools
package. Hum, dates back from 2010, and now in 2015 on SLES 11SP3 there
is no trace of dosfslabel
even the package is installed:
# rpm -ql dosfstools
/sbin/dosfsck
/sbin/fsck.msdos
/sbin/fsck.vfat
/sbin/mkdosfs
/sbin/mkfs.msdos
/sbin/mkfs.vfat
/usr/share/doc/packages/dosfstools
/usr/share/doc/packages/dosfstools/CHANGES
/usr/share/doc/packages/dosfstools/README.Atari
/usr/share/doc/packages/dosfstools/TODO
/usr/share/doc/packages/dosfstools/dosfsck
/usr/share/doc/packages/dosfstools/dosfsck/COPYING
/usr/share/doc/packages/dosfstools/dosfsck/README
/usr/share/doc/packages/dosfstools/mkdosfs
/usr/share/doc/packages/dosfstools/mkdosfs/COPYING
/usr/share/doc/packages/dosfstools/mkdosfs/README
/usr/share/man/man8/dosfsck.8.gz
/usr/share/man/man8/fsck.msdos.8.gz
/usr/share/man/man8/fsck.vfat.8.gz
/usr/share/man/man8/mkdosfs.8.gz
/usr/share/man/man8/mkfs.msdos.8.gz
/usr/share/man/man8/mkfs.vfat.8.gz
gdha commented at 2015-04-29 07:30:¶
SLES 12 seems ok:
$ rpm -ql dosfstools
/sbin/dosfsck
/sbin/dosfslabel
jsmeix commented at 2015-04-29 09:14:¶
Regarding https://github.com/rear/rear/issues/229#issuecomment-97048029 I can explain why dosfslabel is still missing even on SLE11-SP3:
https://bugzilla.opensuse.org/show_bug.cgi?id=649046 is about openSUSE 11.3 and SLE11 is basically based on openSUSE 11.1 (cf. the list of values for the suse_version RPM macro in https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto)
Therefore the issue exists also in SLE11.
Unfortunaltely the issue was not fixed in any SLE11 service pack so that dosfslabel is still missing even on SLE11-SP3.
jsmeix commented at 2015-04-29 09:43:¶
I submittend an internal request to get dosfslabel included in SLE11.
As far as I understand it dosfslabel is only needed to recover vfat partitions and because for UEFI Boot Loader its EFI System partition (ESP) is a vfat partition, dosfslabel is also needed for UEFI.
Or are there more cases where rear needs dosfslabel?
gdha commented at 2015-04-29 09:48:¶
@jsmeix No that is basically it - was yesterday busy with a bunch of SLES SAP HANA systems based on SLES11SP3 and using UEFI to boot from, so that is why dosfslabel was needed. However, as UEFI ISO creation is not possible (see issue #214) I disabled UEFI and to recover a one-time boot into legacy BIOS is required. Afterwards, UEFI booting needs to be configured manually...
jsmeix commented at 2015-04-29 09:54:¶
@gdha
many thanks for the information!
schlomo commented at 2015-04-29 12:54:¶
Maybe in this case we will spend less total effort by removing the
dependency on dosfslabel? mkfs.vfat allows setting the label and blkid
can
be used to retrieve the label, with probably a bunch of other tools.
On 29 April 2015 at 11:54, Johannes Meixner notifications@github.com
wrote:
@gdha https://github.com/gdha
many thanks for the information!—
Reply to this email directly or view it on GitHub
https://github.com/rear/rear/issues/229#issuecomment-97374746.
jsmeix commented at 2015-04-29 15:40:¶
I am faster!
;-)
I built our newest dosfstools from the Base:System development project
of the openSUSE build service in my personal playground project
home:jsmeix also for SLE11 (all SLE11 service packs and various openSUSE
versions and SLE12) for direct RPM download from
http://download.opensuse.org/repositories/home:/jsmeix/
Please read
https://build.opensuse.org/project/show/home:jsmeix
For example how I installed it on my SLE11-SP3 64bit x86_64 system:
# wget http://download.opensuse.org/repositories/home:/jsmeix/SLE_11_SP3/x86_64/dosfstools-3.0.27-93.1.x86_64.rpm ... 2015-04-29 17:32:45 (8.55 MB/s) - `dosfstools-3.0.27-93.1.x86_64.rpm' saved [91120/91120] # rpm -Uhv dosfstools-3.0.27-93.1.x86_64.rpm ... 1:dosfstools ######################## [100%] # type -a dosfslabel dosfslabel is /sbin/dosfslabel dosfslabel is /usr/sbin/dosfslabel
Note that this results a version upgrade from dosfstools 2.11 that is originally provided (and supported) in SLE11 to dosfstools 3.0.27 and I did not at all check if there are incompatibilities.
RedBrick36 commented at 2015-05-01 21:08:¶
my .02
When it errored out, I edited the script (All I did was comment out
the
call for dosfslabel) told it to continue and it finished running the
script just fine....
On Wed, 2015-04-29 at 05:54 -0700, Schlomo Schapiro wrote:
Maybe in this case we will spend total effort by removing the
dependency on dosfslabel? mkfs.vfat allows setting the label and blkid
can
be used to retrieve the label, with probably a bunch of other tools.On 29 April 2015 at 11:54, Johannes Meixner notifications@github.com
wrote:@gdha https://github.com/gdha
many thanks for the information!—
Reply to this email directly or view it on GitHub
https://github.com/rear/rear/issues/229#issuecomment-97374746.—
Reply to this email directly or view it on GitHub.
Admin admin@mrelectricsa.com
jsmeix commented at 2015-05-08 12:31:¶
dosfslabel (fatlabel) is not part of dosfstools 2.11.
dosfstools 2.11 is provided up to SLE11-SP3 which means using dosfslabel cannot work up to SLE11-SP3.
For the upcoming SLE11-SP4 we will provide a version upgrade to dosfstools-3.0.26 (the same as we provide in SLE12) which means using dosfslabel will work for SLE11-SP4 (and SLE12).
Regarding @RedBrick36 "comment out the call for dosfslabel":
I am not at all a sufficient expert in this area to imagine if leaving out the call for dosfslabel may cause whatever issues elsewhere in some/many/most? cases.
If it should work in almost all cases also without the call for dosfslabel, a generic solution could be to test if dosfslabel can be called and only use it if it exists.
pavoldomin commented at 2015-11-05 07:51:¶
@gdha how have you addressed a missing dosfslabel, when doing
UEFI-booting DR of SAP HANA SLES (cf.
http://www.it3.be/2015/10/27/uefi-iso-boot-with-ebiso/)?
Have you installed dosfstools from the repo referenced by @jsmeix above,
or does the recovery work also without? I am concerned because of the
line in my rear -v savelayout
log:
/usr/share/rear/layout/save/GNU/Linux/23_filesystem_layout.sh: line 130: dosfslabel: command not found
pavoldomin commented at 2015-11-05 09:16:¶
If I actually tried also mkrescue, I would not ask stupid questions, as it fails immediately with the clear message:
# rear mkrescue
ERROR: Cannot find required programs: dosfslabel
Aborting due to an error, check /var/log/rear/rear-hostname.log for details
Terminated
So you must have had dosfstools extra upgraded on your SLES11 server for HANA recovery @gdha , right?
pavoldomin commented at 2015-11-05 09:35:¶
I am willing to obsolete the requirement of dosfstools by blkid and mkfs.vfat, as outlined above by @schlomo , unless you guys have reasons not to. I would post a pull request.
gdha commented at 2015-11-05 10:17:¶
@pavoldomin Here is an example of a /etc/rear/local.conf
file:
# SAP HANA on UEFI capable systems need EFI and DOS tools.
# SLES 11 SP3 does not have dosfslabel executable in package dosfstools-2.11-121.30.1
# Download package with dosfslabel included from (SLES 11 SP4 and SLES 12 are fine):
# wget http://download.opensuse.org/repositories/home:/jsmeix/SLE_11_SP3/x86_64/dosfstools-3.0.28-97.1.x86_64.rpm
# and update it :
# rpm -Uvh dosfstools-3.0.28-97.1.x86_64.rpm
# ebiso package is available at (SLES 11 SP3):
# wget http://download.opensuse.org/repositories/home:/gdha/SLE_11_SP3/x86_64/ebiso-0.1.4-7.1.x86_64.rpm
# Install it: rpm -ivh ebiso-0.1.4-7.1.x86_64.rpm
# Furthermore ebiso needs rear higher then 1.17.2 (e.g. use a development release)
ISO_MKISOFS_BIN=/usr/bin/ebiso
# Define backup method and location
BACKUP=NETFS
BACKUP_URL=nfs://sgnt8133/var/archive
# make sure to exclude ALL SAP HANA related volume groups and mount points
EXCLUDE_VG=( vgHANA-data-HC2 vgHANA-data-HC3 vgHANA-log-HC2
vgHANA-log-HC3 vgHANA-shared-HC2 vgHANA-shared-HC3 )
BACKUP_PROG_EXCLUDE=( ${BACKUP_PROG_EXCLUDE[@]} '/hana/*' )
If you would like to get rid of dosfslabel
be my guest by creating a
patch using blkid
and mkfs.vfat -n label
scheme. I really don't
mind. It would save you lots of work (not to update dosfstools on all
SLES 11 systems). However, if you wish to do so - could you re-open this
issue so it is easier to track (for us). Or, perhaps, create a new
issue...
pavoldomin commented at 2015-11-05 12:24:¶
Thanks @gdha. I will indeed open separate new issues (dosfslabel is just one of them) and submit patches for problems I am having with my current DR tests, related with the complex uefi-booting landscape. You can expect several pull requests coming from me next week ;)
jsmeix commented at 2015-11-05 13:36:¶
@gdha
I think your above example of a /etc/rear/local.conf
for SAP HANA on UEFI capable systems
would make perfect sense to be added into
the new usr/share/rear/conf/examples directory
(cf.
https://github.com/rear/rear/pull/681).
jsmeix commented at 2015-11-05 13:49:¶
@gdha
right now I copied dosfstools and ebiso to the openSUSE Build Service
project Archiving:Backup:Rear to make them avaialbe at the same
place where rear is:
$ osc copypac -e home:gdha ebiso Archiving:Backup:Rear ebiso $ osc copypac -e Base:System dosfstools Archiving:Backup:Rear dosfstools
I will check how they build there.
If they build sufficiently there, I will adapt the URLs in
your above example of a /etc/rear/local.conf
for SAP HANA on UEFI
and add it into the new
usr/share/rear/conf/examples directory
jsmeix commented at 2015-11-05 13:51:¶
I know I hijacked this issue but I hope for this
small documentation add-on it is o.k.
...
jsmeix commented at 2015-11-05 14:59:¶
Building dosfstools and ebiso in OBS Archiving:Backup:Rear
looks fine:
$ osc results -v Archiving:Backup:Rear dosfstools | grep succeeded SLE_11_SP3 i586 succeeded(unpublished) SLE_11_SP3 x86_64 succeeded(unpublished) SLE_11_SP2 i586 succeeded(unpublished) SLE_11_SP1 x86_64 succeeded(unpublished) SLE_11_SP1 i586 succeeded(unpublished) SLE_11 x86_64 succeeded(unpublished) SLE_11 i586 succeeded(unpublished) $ osc results -v Archiving:Backup:Rear ebiso | grep succeeded SLE_12 x86_64 succeeded(unpublished) SLE_11_SP4 x86_64 succeeded(unpublished) SLE_11_SP3 x86_64 succeeded(unpublished) SLE_11_SP1 x86_64 succeeded(unpublished) SLE_11 x86_64 succeeded(unpublished)
They should be automatically published in a few hours
which makes the RPMs available under
http://download.opensuse.org/repositories/Archiving:/Backup:/Rear/
@gdha
when
https://github.com/rear/rear/pull/683
is o.k. for you,
I can merge it.
jsmeix commented at 2015-11-05 16:49:¶
RPMs for dosfstools and ebiso from OBS Archiving:Backup:Rear
are now available from
http://download.opensuse.org/repositories/Archiving:/Backup:/Rear/
dosfstools is available for i586 and x86_64 for
SLE_11 SLE_11_SP1 SLE_11_SP2 SLE_11_SP3
ebiso is available for x86_64 for
SLE_11 SLE_11_SP1 SLE_11_SP2 SLE_11_SP3
SLE_11_SP4 SLE_12
If needed I can enable build for more distributions and architectures.
jsmeix commented at 2015-11-06 12:24:¶
With
https://github.com/rear/rear/pull/683
merged
and RPMs for dosfstools and ebiso
available from OBS Archiving:Backup:Rear
I consider the issue to be fixed as good as
currently possible in rear.
[Export of Github issue for rear/rear.]