Opened 8 years ago
Closed 8 years ago
#815 closed defect (worksforme)
Problem with mondoarchive in RHEL7
| Reported by: | Nelson Wu | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 3.3.0 |
| Component: | mondo | Version: | 3.2.2 |
| Severity: | normal | Keywords: | result=254; |
| Cc: | nelson.wu@… |
Description (last modified by )
We are not able to do the mondo rescue backup on RHEL7.2 with kernel 3.10.0-327.36.3.el7.x86_64.
---progress-form---4--- TASK: [*****...............] 25% done; 19:52 to go ---progress-form---1--- I am backing up your live filesystem now. ---progress-form---2--- ISO 1: [********............] 38% used ---progress-form---3--- Please wait. This may take a couple of hours. ---progress-form---E--- ---progress-form---4--- TASK: [*****...............] 25% done; 19:47 to go ---progress-form---1--- I am backing up your live filesystem now. ---progress-form---2--- ISO 1: [********............] 38% used ---progress-form---3--- Please wait. This may take a couple of hours. ---progress-form---E--- ---progress-form---4--- TASK: [*****...............] 25% done; 19:53 to go ---progress-form---1--- I am backing up your live filesystem now. ---progress-form---2--- ISO 1: [********............] 38% used ---progress-form---3--- Please wait. This may take a couple of hours. ---progress-form---E--- ---progress-form---4--- TASK: [*****...............] 25% done; 19:48 to go ---progress-form---1--- I am backing up your live filesystem now. ---progress-form---2--- ISO 1: [********............] 38% used ---progress-form---3--- Please wait. This may take a couple of hours. ---progress-form---E--- ---progress-form---4--- TASK: [******..............] 26% done; 19:48 to go afio: Ready for volume 2 on /tmp/mondo.tmp.lRnnPR/tmpfs/307.afio.bz2 afio: "quit" to abort, anything else to proceed. > afio: Ready for volume 2 on /tmp/mondo.tmp.lRnnPR/tmpfs/308.afio.bz2 afio: "quit" to abort, anything else to proceed. > afio: Ready for volume 3 on /tmp/mondo.tmp.lRnnPR/tmpfs/307.afio.bz2 afio: "quit" to abort, anything else to proceed. > quit afio: Ready for volume 2 on /tmp/mondo.tmp.lRnnPR/tmpfs/308.afio.bz2 afio: "quit" to abort, anything else to proceed. > quit afio: Ready for volume 2 on /tmp/mondo.tmp.lRnnPR/tmpfs/307.afio.bz2 afio: "quit" to abort, anything else to proceed. > quit afio: Ready for volume 2 on /tmp/mondo.tmp.lRnnPR/tmpfs/308.afio.bz2 afio: "quit" to abort, anything else to proceed. > quit afio: Ready for volume 2 on /tmp/mondo.tmp.lRnnPR/tmpfs/307.afio.bz2 afio: "quit" to abort, anything else to proceed. > quit Errors occurred while archiving set 308. Please review logs. Fatal error... Unable to write tarball to scratchdir ---FATALERROR--- Unable to write tarball to scratchdir If you require technical support, please contact the mailing list. See http://www.mondorescue.org for details. The list's members can help you, if you attach that file to your e-mail. Log file: /var/log/mondoarchive.log Mondo has aborted. Execution run ended; result=254 Type 'less /var/log/mondoarchive.log' to see the output log
Packages installed:
afio-2.5-1.rhel7.x86_64.rpm buffer-1.19-4.rhel7.x86_64.rpm mindi-3.0.2-1.rhel7.x86_64.rpm mindi-busybox-1.21.1-1.rhel7.x86_64.rpm mondo-3.2.2-1.rhel7.x86_64.rpm newt-0.52.15-4.el7.x86_64.rpm newt-devel-0.52.15-4.el7.x86_64.rpm pbmkbm-0.14.4-1.rhel7.noarch.rpm perl-File-BaseDir-0.03-14.el7.noarch.rpm perl-File-DesktopEntry-0.08-1.el7.noarch.rpm perl-File-MimeInfo-0.21-1.el7.noarch.rpm perl-IO-Interface-1.05-2.el7.x86_64.rpm perl-Module-ScanDeps-1.10-3.el7.noarch.rpm perl-MondoRescue-3.2.2-1.rhel7.noarch.rpm perl-Net-IPv4Addr-0.10-6.el7.noarch.rpm perl-ProjectBuilder-0.14.4-1.rhel7.noarch.rpm project-builder-0.14.4-1.rhel7.noarch.rpm rpmbootstrap-0.14.4-1.rhel7.noarch.rpm slang-2.2.4-12.el7.x86_64.rpm slang-devel-2.2.4-12.el7.x86_64.rpm
The below is what parametar we used to backup:
mondoarchive -Oi -9 -N -F -s 8g -d /localdisk/os_image -E '/apps|/mnt|/localdisk|/tmp|/home_local|/home|/apps-lynx|/MLP'
The below is tyhe mindi.conf setting
EXTRA_SPACE=33554428 BOOT_SIZE=155680 # size of the boot disk MINDI_DEFAULT_BOOT_OPTION="nuke" DENY_MODS="onload sfc_char sfc_resource sfc_aoe sfc_affinity
Change History (5)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:3 by , 8 years ago
ith the params you're giving, you should plan for a large scratch dir. Use -S /path/to/scratch and point to a dir on a filesystem having enough space to host your temp files (more than 8GB).
comment:4 by , 8 years ago
It is working, but image is large and it spitted into 3 .iso files. Is it possbile to make it smaller and save as a single file?
[root@hkgsl1100099 os_image]# ls -lrt total 23489252 -rw-r--r-- 1 root root 8581941248 Jun 6 12:20 mondorescue-1.iso -rw-r--r-- 1 root root 8585867264 Jun 6 12:53 mondorescue-2.iso -rw-r--r-- 1 root root 6885169152 Jun 6 13:24 mondorescue-3.iso [root@hkgsl1100099 os_image]#
comment:5 by , 8 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
If you want a smaller image, you have to exclude content with the -E option.
generally people tend to exclude their data as they are backed up with other means anyway, and focus on the system part.

Mondorarchive Log:
INFO: Errors occurred while archiving set 308. Please review logs. DBG4: [Main] libmondo-archive.c->create_afio_files_in_background#1037: [122463:0] - archived 308 OK DBG4: [Main] libmondo-archive.c->create_afio_files_in_background#999: [122463:0] - EXATing 309... DBG4: [Main] libmondo-archive.c->create_afio_files_in_background#1012: [122463:0] - archiving 309... DBG1: [Main] ../common/newt-specific.c->fatal_error#304: Fatal error received - 'Unable to write tarball to scratchdir' DBG3: [Main] ../common/newt-specific.c->fatal_error#320: OK, I think I'm the main PID. DBG2: [Main] ../common/newt-specific.c->fatal_error#327: I'm going to do some cleaning up now. DBG4: [Main] ../common/newt-specific.c->fatal_error#328: killall mindi 2> /dev/null INFO: running: ps auxww | grep " /mondo/do-not " | grep -v "grep" | awk '{print $2;}' > /tmp/mondo.tmp.lRnnPR/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.lRnnPR/mondo-run-prog-thing.err INFO: --------------------------------start of output----------------------------- INFO: --------------------------------end of output------------------------------ INFO: ...ran just fine. :-) INFO: running: kill `ps auxww | grep " /mondo/do-not " | grep -v "grep" | awk '{print $2;}'` > /tmp/mondo.tmp.lRnnPR/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.lRnnPR/mondo-run-prog-thing.err INFO: --------------------------------start of output----------------------------- INFO: --------------------------------end of output------------------------------ INFO: ...ran with res=256 INFO: running: ps auxww | grep " mondo.tmp " | grep -v "grep" | awk '{print $2;}' > /tmp/mondo.tmp.lRnnPR/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.lRnnPR/mondo-run-prog-thing.err INFO: --------------------------------start of output----------------------------- INFO: --------------------------------end of output------------------------------ INFO: ...ran just fine. :-) INFO: running: kill `ps auxww | grep " mondo.tmp " | grep -v "grep" | awk '{print $2;}'` > /tmp/mondo.tmp.lRnnPR/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.lRnnPR/mondo-run-prog-thing.err INFO: --------------------------------start of output----------------------------- INFO: --------------------------------end of output------------------------------ INFO: ...ran with res=256 INFO: running: ps auxww | grep " ntfsclone " | grep -v "grep" | awk '{print $2;}' > /tmp/mondo.tmp.lRnnPR/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.lRnnPR/mondo-run-prog-thing.err INFO: --------------------------------start of output----------------------------- INFO: --------------------------------end of output------------------------------ INFO: ...ran just fine. :-) INFO: running: kill `ps auxww | grep " ntfsclone " | grep -v "grep" | awk '{print $2;}'` > /tmp/mondo.tmp.lRnnPR/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.lRnnPR/mondo-run-prog-thing.err INFO: --------------------------------start of output----------------------------- INFO: --------------------------------end of output------------------------------ INFO: ...ran with res=256 INFO: running: umount -d /mnt/cdrom > /tmp/mondo.tmp.lRnnPR/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.lRnnPR/mondo-run-prog-thing.err INFO: --------------------------------start of output----------------------------- INFO: --------------------------------end of output------------------------------ INFO: ...ran with res=256 afio: "/tmp/mondo.tmp.lRnnPR/tmpfs/307.afio.bz2" [offset 5m+384k+0]: Fatal error: afio: "/dev/tty": Input/output errorMindi Log: