#485 closed defect (fixed)
Segmentation fault in the latest versions of Mondo on Ubuntu 10.04
Reported by: | mbab | Owned by: | Bruno Cornec |
---|---|---|---|
Priority: | normal | Milestone: | 2.2.9.7 |
Component: | mondo | Version: | 2.2.9.7 |
Severity: | critical | Keywords: | |
Cc: |
Description (last modified by )
Running mondoarchive with command line options results very quickly in a segmentation violation. This critical bug can be reproduced every time using the too latest stable mondo/mindi packages from the ftp-server as well as the newest testing package of mondo/mindi for Ubuntu 10.04.
Output of mondoarchive:
"Initializing... See /var/log/mondoarchive.log for details of backup run. Checking sanity of your Linux distribution WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted. WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted. Done. Archiving only the following file systems on /dev/sda5: ==> /|| Not archiving the following file systems: ==> /kalinka/storage/edelweiss|/kalinka/storage/katrin|/boot|/home|/kalinka/home Segmentation fault"
mondoarchive-log appended
Configuration System: Ubuntu 10.04 LTS Device: /dev/sda hardware RAID using the Areca ARC-1220 RAID Controller Partition: /dev/sda5 which is in the extended partition /dev/sda4 Used Packages: Mondo: 2.2.9.7-0.20110421135204, Mindi 2.0.7.8-0.20110421135204 but also the latest stable versions Used command:
sudo mondoarchive -OVN -i -I /dev/sda5 -d /home/admin/backup/mondobackup
Attachments (1)
Change History (7)
by , 13 years ago
Attachment: | mondoarchive-log.txt added |
---|
comment:1 by , 13 years ago
Description: | modified (diff) |
---|---|
Status: | new → assigned |
Hello,
You should not use the -I /dev/sda5 (of course that should not core dump either !! So I keep the BR open to fix that)
Just exclude what you do not want. -I is mostly for testing purposes.
comment:2 by , 13 years ago
Thanks bruno omitting the -I flag did work. The resulting command needs some more exclude flags:
sudo mondoarchive -OVN -i -E "/boot|/home|/kalinka/home|/kalinka/storage|/mnt/old_kalinka" -d /home/admin/backup/mondo -s 4400M -S /home/admin/temp/mondo/scratch/ -T /home/admin/temp/mondo/tmp/
I think the -I flag is quite useful in this case but if its not intended for normal use a short warning in the documentation would be helpful.
By the way the mondoarchive wizard is not capable using so many excludes (the input line is too short) and its seems not to be possible to "scroll" if you enter the text manually. But this is such a small problem not worth opening a ticket.
comment:3 by , 13 years ago
-I should work, and I now have a way to reproduce the problem so will fix it anyway.
I think it's already documented:
-I “path ...” Include paths(s) in backup. The paths should be separated with a pipe and surrounded by quotes. This option is mainly use to perform tests in order to reduce the time taken by the archiving operation. The default backup path is “/” but you may specify alternatives, e.g. -I “/home|/etc” to override that. You may also specify full disk device to this option as with -I “/dev/sda|/dev/cciss/c0d0” N.B.: When using the -I option with the -E option, the -E content should be subdirectories of those mentioned in the -I only, as -I takes precedence.
Let me know if you think some more details should be added.
For the scrolling issue, there is already a bug report for it: http://trac.mondorescue.org/ticket/231 which in fact concerns all newt fields. Not before 2.2.10 (or wahtever name it will have).
comment:4 by , 13 years ago
Milestone: | 2.2.10 → 2.2.9.7 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Core dumped with -I should be fixed by rev [2836].
comment:5 by , 13 years ago
Could you check with the version available at: ftp://ftp.mondorescue.org/test/ubuntu/10.04 (tag: 20110421135204)
/var/log/mondoarchive.log