Opened 12 years ago
Last modified 11 years ago
#640 reopened defect
mondo.tmp.xxxxx & mondo.scratch.xxxxx Issues
Reported by: | SamK | Owned by: | Bruno Cornec |
---|---|---|---|
Priority: | high | Milestone: | 3.0.5 |
Component: | mondo | Version: | 3.0.2 |
Severity: | normal | Keywords: | |
Cc: | didier.diaz@… |
Description
mindi-busybox_1.18.5-2
mindi_2.1.2-1
mondo_3.0.2-1
Logs are attached for 2 identical backups to local external hard disk. One is specified via GUI the other via CLI. Both complete successfully but different results are obtained for mondo.tmp and mondo.scratch.
Backup Via GUI
Backup to = Hard Disk Storage dir = /media/BACKUP-REPO/backup/home/nfs/mondo Type of compression = gzip How much compression = Average ISO Size = 650 Prefix = mondoverass-single Backup paths = /bin Exclude paths = /home|/media Temporary directory = /tmp/mondo.tmp.xxxxxx Scratch directory = /tmp/mondo.scratch.xxxxx Backup extended attrib= yes Verify backup = no
mondo.tmp.xxxxx is not created in /tmp. It is created at /media/BACKUP-REPO/tmp/mondo.tmp.xxxxxx. Additionally it is not removed after the successful completion of the backup.
mondo.scratch.xxxxx is removed OK.
Logs:
mindi.log.GUI
mondoarchive.log.GUI
Backup Via CLI
mondoarchive -O -i -d /media/BACKUP-REPO/backup/home/nfs/mondo -G -4 -p mondoverass-single -s 650m -S /tmp -T /tmp -I "/bin" -E "|/home|"
mondo.scratch.xxxxx is not removed from /tmp/mondo.scratch.xxxxx
mondo.tmp.xxxxx is removed OK.
Logs:
mindi.log.CLI
mondoarchive.log.CLI
Attachments (16)
Change History (26)
by , 12 years ago
Attachment: | mindi.log.GUI.tgz added |
---|
by , 12 years ago
Attachment: | mondoarchive.log.GUI.tgz added |
---|
by , 12 years ago
Attachment: | mindi.log.CLI.tgz added |
---|
by , 12 years ago
Attachment: | mondoarchive.log.CLI.tgz added |
---|
comment:1 by , 12 years ago
Status: | new → assigned |
---|
comment:2 by , 12 years ago
Cc: | added |
---|
comment:3 by , 11 years ago
by , 11 years ago
Attachment: | mindi.log.cli.tgz added |
---|
by , 11 years ago
Attachment: | mondoarchive.log.cli.tgz added |
---|
by , 11 years ago
Attachment: | mindi.log.gui.tgz added |
---|
by , 11 years ago
Attachment: | mondoarchive.log.gui.tgz added |
---|
follow-up: 5 comment:4 by , 11 years ago
This should be fixed with rev [3154]. A set of packages will be generated ovr the week-end to allow a testing.
by , 11 years ago
Attachment: | mindi.log.cli.2.tgz added |
---|
by , 11 years ago
Attachment: | mondoarchive.log.cli.2.tgz added |
---|
by , 11 years ago
Attachment: | mindi.log.gui.2.tgz added |
---|
by , 11 years ago
Attachment: | mondoarchive.log.gui.2.tgz added |
---|
comment:5 by , 11 years ago
Replying to bruno:
This should be fixed with rev [3154]. A set of packages will be generated ovr the week-end to allow a testing.
Unfortunately the change is only partially successful. It works via CLI. It does not work via GUI. Rather than using an incorrect location, it now prevents specifying a backup via GUI. Accepting the tmp location now closes the GUI.
Versions Tested:
mindi-busybox_1.18.5-3_i386.deb
mindi_2.1.620130628101458-0_i386.deb
mondo_3.0.420130624040329-0_i386.deb
TEST1
Command Issued:
mondoarchive -O -i -d /media/BACKUP-REPO/backup/home/nfs/mondo -G -4 -p mondoverass-single -s 650m -S /tmp -T /tmp -I "/bin" -E "|/home|"
Result:
Mindi boot ISO produced as /var/cache/mindi/mondorescue.iso
Mondo backup ISO produced as /media/BACKUP-REPO/backup/home/nfs/mondo/mondoverass-single-1.iso
mondo.tmp.xxxxx is removed from /tmp
mondo.scratch.xxxxx is removed from /tmp
Logs Attached:
mindi.log.cli
mondoarchive.log.cli
TEST2
Backup to = Hard Disk Storage dir = /media/BACKUP-REPO/backup/home/nfs/mondo Type of compression = gzip How much compression = Average ISO Size = 650 Prefix = mondoverass-single Backup paths = /bin Exclude paths = /home|/media Temporary directory = /tmp/mondo.tmp.xxxxxx At this point GUI closes to CLI
Result:
No meaningful result obtained as cannot progress beyond specifying tmp dir
Logs Attached:
mindi.log.gui
mondoarchive.log.gui
SUMMARY
Via cli -T is honoured
Via gui -T now cannot be tested
Via cli mondo.scratch.xxxxx and mondo.tmp.xxxxx are removed
Via gui mondo.scratch.xxxxx and mondo.tmp.xxxxx now cannot be tested
RELATED TICKET
#641
comment:6 by , 11 years ago
Thanks for your report. Indeed GUI was still broken. At least now with rev [2165] it goes up to the point it does the backup. I'll soon check on my side whether the dirs are erased correctly, and then will produce packages for you to test.
comment:7 by , 11 years ago
tmp and scratch were also removed for me now with that version. I'll provide soon test packages for you to replicate.
comment:8 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Considered closed based on the tests done on my side. Feel free to reopen if you still find problems on your side.
comment:9 by , 11 years ago
Unfortunately it looks as though the ticket was closed prematurely. The fix works In CLI mode but fails in GUI mode.
Logs are attached.
Versions Tested
mindi_2.1.7-1_i386.deb
mindi-busybox_1.18.5-3_i386.deb
mondo_3.0.4-1_i386.deb
CLI Mode
mondoarchive -O -i -d /media/BACKUP-REPO/backup/home/nfs/mondo -G -4 -s 650m -p mondoverass-single -S /tmp -T /tmp -I "/bin" -E "|/home|/media|"
Result
mondo.tmp.xxxxxx is removed
mondo.scratch.xxxxxx is removed
GUI Mode
Backup to =Hard Disk Storage dir =/media/BACKUP-REPO/backup/home/nfs/mondo Type of compression =gzip How much compression =Average ISO Size =650 Prefix =mondoverass-single Backup paths =/bin Exclude paths =|/home/|/media| Temporary dir =/tmp/mondo.tmp.xxxxxx Scratch dir =/tmp/mondo.scratch.xxxxxx Backup extended attrib =yes Verify backup =yes Confident kernel sane =yes Proceed =yes
Result
mondo.tmp.xxxxxx is removed
mondo.scratch.xxxxxx is created in /media/BACKUP-REPO/
mondo.scratch.xxxxxx is not removed
by , 11 years ago
Attachment: | mindi.log.cli.3.tgz added |
---|
by , 11 years ago
Attachment: | mondoarchive.log.cli.3.tgz added |
---|
by , 11 years ago
Attachment: | mindi.log.gui.3.tgz added |
---|
by , 11 years ago
Attachment: | mondoarchive.log.gui.3.tgz added |
---|
comment:10 by , 11 years ago
Milestone: | 3.0.4 → 3.0.5 |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Edit to include both the above and the following.
A further matter has been discovered during testing of the issued fix.
In GUI mode
The default values provided by mondoarchive for the temp and scratch fields are inconsistent.
Temporary directory =/tmp/mondo.tmp.xxxxxx
Scratch directory =//mondo.scratch.xxxxxx
Presumably the default path to scratch dir should also begin /tmp/... rather than the two //.
Hopefully this is easily fixed.
Versions Tested:
mindi-busybox_1.18.5-3_i386.deb
mindi_2.1.520130524115715-0_i386.deb
mondo_3.0.3-1_i386.deb
TEST1
Command Issued:
mondoarchive -O -i -d /media/BACKUP-REPO/backup/home/nfs/mondo -G -4 -p mondoverass-single -s 650m -S /tmp -T /tmp -I "/bin" -E "|/home|"
Result:
Mindi boot ISO produced as /var/cache/mindi/mondorescue.iso
Mondo backup ISO produced as /media/BACKUP-REPO/backup/home/nfs/mondo/mondoverass-single-1.iso
mondo.tmp.xxxxx is removed from /tmp
mondo.scratch.xxxxx is not removed from /tmp
Logs Attached:
mindi.log.cli
mondoarchive.log.cli
TEST2
Result:
Mindi boot ISO produced as /var/cache/mindi/mondorescue.iso
Mondo backup ISO produced as /media/BACKUP-REPO/backup/home/nfs/mondo/mondoverass-single-1.iso
mondo.scratch.xxxxx is removed
mondo.tmp.xxxxx is created at /media/BACKUP-REPO/backup/mondo.tmp.xxxxx
mondo.tmp.xxxxx is not removed
Logs Attached:
mindi.log.gui
mondoarchive.log.gui
SUMMARY
Via cli -T is honoured
Via gui -T is not honoured
Via cli mondo.scratch.xxxxx is not removed
via gui mondo.tmp.xxxxx is not removed
RELATED TICKET
#638 Mindi Fails to Create Boot Disk When -T Specified