Hi Steffen,
It is recommended to run mondoarchive as root, not through sudo.
Don't use mondoarchive "-k FAILSAFE" option, failsafe kernel used to be provided in a separate package and is not maintained anymore.
> mindi-busybox ... Version: 2.2.9.7-1
???
Latest versions on ftp://ftp.mondorescue.org/ubuntu/11.04:
mondo-2.2.9.7-1
mindi-2.0.7.8-1
mindi-busybox-1.18.3-3
About mindi versions confusion, uninstall your mindi versions, and install only mindi-2.0.7.8.
About mondoarchive -E option, since mondo 2.2.9.5. there is a new syntax for -E and -I options, pipe character ('|') is used to separate the paths, instead of space character.
So you should use:
-E "/media/bf9ada79-31c0-49da-bfad-6c71f397718d|/home/schulegaard/tmp/mondo /tmp/mondo"
> FATAL ERROR. Cannot unzip lib.tar.bz2
Try with mondoarchive -G option (it uses gzip instead)
About ide_cd:
ide_cd is already included in IDE_MODS line, in /usr/sbin/mindi shell-script, no need to add it to FORCE_MODS. I get also "FATAL: Module ide_cd not found." with my Ubuntu 11.04, but the backup is successfull.
Rgds,
Victor
-----Original Message-----
From: Steffen Hulegaard [mailto:shulegaa@...]
Sent: lundi 26 septembre 2011 05:20
To: mondo-devel@...
Subject: [Mondo-devel] Ubuntu 11.04 mondoarchive fails & mindi .deb shows conflicts ...
Oops. I forgot to switch to plain text for my mondo-devel list posting. Mea culpa! Let me try again. Thanks!
----- Forwarded Message -----
From: Steffen Hulegaard <shulegaa@...>
To: "mondo-devel@..." <mondo-devel@...>
Sent: Thursday, September 22, 2011 10:20 AM
Subject: On Ubuntu 11.04, mondo fails even and mindi pkg/.deb conflicts ... confused ...
With any luck, somebody can spot the dismally stupid thing(s) I've probably done while trying to run mondoarchive on my up-to-date Ubuntu 11.04 box:
# mkdir /tmp/mondo; chmod 777 /tmp/mondo; cd # sudo mondoarchive -Oi -p `hostname`-`date +%Y%m%d` -9 -k FAILSAFE -d /home/schulegaard/tmp/mondo -E "/media/bf9ada79-31c0-49da-bfad-6c71f397718d /home/schulegaard/tmp/mondo /tmp/mondo" -s 4480m -S /tmp/mondo -T /tmp/mondo
My attached mondoarchive.log seems to show trouble starting with this line (and a suggestion to end the log file to this email list):
FATAL ERROR. Cannot
unzip lib.tar.bz2
The mind.log seems to show trouble starting with these lines:
FATAL: Module ide_cd not found.
DIFFERENTIAL = 0
INTERNAL TAPE BLOCK SIZE = 32768
NOT_BOOT = 'no'
I shall include Mindi's failsafe kernel, not your kernel, in the boot disks.
However, you are still running your kernel. If Mindi fails to create your disks then it may still be a result of a problem with your kernel.
FATAL ERROR. Cannot unzip lib.tar.bz2
If it helps, here's some 'df -Th' context on my box:
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda1 ext4 910G 9.2G 854G 2% / none devtmpfs 4.0G 744K 3.9G 1% /dev none tmpfs 4.0G 580K 4.0G 1% /dev/shm none tmpfs 4.0G 232K 4.0G 1% /var/run none tmpfs 4.0G 0 4.0G 0% /var/lock /dev/sdc ext4 2.7T 202M 2.7T 1% /media/bf9ada79-31c0-49da-bfad-6c71f397718d
I did install the latest packages from http://www.mondorescue.org/news.shtml - and some apt-cache show <?> snippets:
>>> mondo
Architecture: amd64
Version: 2.2.9.7-1
>>> mindi-busybox
Architecture: amd64
Version: 2.2.9.7-1
>>> mindi.
# Now ... this looks a bit worrisome. What he heck? # I'll copy all (ugh) of the output here to show the *.deb conflicts on the latest Ubuntu 11.04
Package: mindi
Priority: optional
Section: universe/utils
Installed-Size: 604
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@...>
Original-Maintainer: Andree Leidenfrost <andree@...>
Architecture: amd64
Version: 1:2.0.4-1.1ubuntu1
Depends: mindi-busybox (>= 1.2.1-2), binutils, bzip2, dosfstools, genisoimage, module-init-tools, syslinux, gawk, parted, file, nano
Recommends: cpio, mdadm, ntfsprogs
Suggests: afio, eject, lzop, less, petris, acl, attr, lilo, linux-image-386 | linux-image-generic | linux-image-itanium | linux-image-mckinley | linux-image-rt | linux-image-server | linux-image-ume | linux-image-virtual | linux-image-xen
Filename: pool/universe/m/mindi/mindi_2.0.4-1.1ubuntu1_amd64.deb
Size: 114284
MD5sum: aa3140e4877d717e6b414a26022c93be
SHA1: 5b5f75a57c659e87dfe5a511bf54e3a0771921bd
SHA256: 2edc675555c84483efba7114dea3e61efc20e9874a43f80f61c59f7d399d3aa1
Description: creates boot/root disks based on your system
Mindi is a script to create boot/root disks based on your system. It uses your
kernel, modules, tools and libraries. It is used for the Mondo disaster
recovery suite to create the boot media.
Homepage: http://www.mondorescue.org
Bugs:
https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Package: mindi
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 740
Maintainer: Bruno Cornec <bruno@...>
Architecture: amd64
Version: 2.0.7.8-1
Depends: binutils, bzip2, dosfstools, module-init-tools, syslinux, gawk, parted, file, mtools, perl, util-linux, mindi-busybox (>= 1.7.3-1), mkisofs | genisoimage
Recommends: cpio, mdadm, ntfsprogs, nano
Suggests: eject, less
Conflicts: gnu-fdisk
Conffiles:
/etc/mindi/deplist.txt 25a84f10cf7f6726a29db23c44ddf735
/etc/mindi/perl-scripts 1552834045a2e81d094eef55a3b6c176
/etc/mindi/udev.files be5c387a383d6a4827f60aae9a45580f
/etc/mindi/proliant.files 37f9febcd6fa556dc9f336458f610291
/etc/mindi/deplist.d/net.conf 836d77cf2b545958773ac1215138f5d7
/etc/mindi/deplist.d/fs.conf
4307e5d172290826acd9a84e25f46cbb
/etc/mindi/deplist.d/hw.conf e79a607baaaad9ddd89ef59322f9190b
/etc/mindi/deplist.d/base.conf 5cf63d5c2bbdbff3330d42ecf21d04c9
/etc/mindi/deplist.d/addon.conf 65696ab6e5f605db6a4edbd8c07dcbe6
/etc/mindi/deplist.d/proliant.conf 3bfefed7c10f8865e7033231f15d50c2
/etc/mindi/deplist.d/minimal.conf 473873798b0f1222c4c93e852b545484
/etc/mindi/deplist.d/raidtool.conf 717dd6c604000c7b15e83d1fcd1da7d6
/etc/mindi/deplist.d/devices.conf ec02ea3ec276232f1f9bb152c54ffad2
/etc/mindi/deplist.d/lvm.conf c8020e802974538c87b79bceebef0603
/etc/mindi/mindi.conf 52fc328cd6295d02f8983a13ef316bbd
Description: Mindi creates emergency boot disks/CDs using your kernel, tools and modules
Mindi takes your kernel, modules, tools and libraries, and puts them on N
bootable disks (or 1 bootable CD image). You may then boot from the disks/CD
and
do system maintenance - e.g. format partitions, backup/restore data,
verify packages, etc.
It is part of the MondoRescue suite for which it creates boot media.
Homepage: http://www.mondorescue.org
I'm sort of stuck. Is there any hope that Mondo Rescue will make the Ubuntu 11.10 release? I *REALLY* like Mondo Rescue. I'd be happy enough to hack on the /etc/sources, etc. (as per Mondo FAQ #11).
Of course, I'd first have to hope somebody could help me find a way to get Mondo running on Ubuntu 11.04. I'm probably missing something horribly obvious. I'd appreciate any clues. I'm so bummed. I've been using Mondo for about 10 years ... albeit not under Ubuntu.
Thanks, Steffen.
|