madunix@gmail.com | 1 Oct 2011 19:39
Picon

mondo_tmp

I keep seeing this on my server mondo.tmp, Can I remove it safely?

[root <at> server ~]# df -kh
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      518G  147G  345G  30% /
/dev/sda1              99M   27M   68M  29% /boot
tmpfs                 3.9G     0  3.9G   0% /dev/shm
/dev/shm              350M     0  350M   0% /mondo.tmp.OzlYPx/tmpfs

-pons

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
Sebastian | 2 Oct 2011 22:38
Picon

Re: Mondorestore and NFS issue

I did a restore from 6 isos (dvd size). Although At the begining it did what we expect to do, I had the same
behaviour at the last one. I was prompted for the last nfs (6th one) with no luck at all. So I had to mount it
manually after unload a loop device manually. All the 8 loop devices were busy with the last image.

After take care manually, the process continued fine.

By Colomoto

El 30/09/2011, a las 01:31, Bruno Cornec <Bruno.Cornec <at> hp.com> escribió:

> Hello,
> 
> Sebastian Pereira said on Sat, Sep 17, 2011 at 12:25:25PM +0200:
> 
>> I have a problem (Huston???), the thing is that when I try to restore from a
>> NFS source the prompt for NFS disk 1 appears with the OK button, and that´s
>> it. Continuously it ask for NFS #1 and it can´t find it in the mounted NFS
>> source.
> 
> THis is  known problem with 2.2.9.7, hopefully fixed in 2.2.9.8. A beta
> is now available for you to test at
> ftp://ftp.mondorescue.org/test/rhel/5
> 
> Could you check again with that version and report back please ?
> 
> TIA,
> Bruno.
> -- 
> Open Source & Linux Profession Lead EMEA           / http://opensource.hp.com
> HP/Intel/Red Hat Open Source Solutions Initiative  / http://www.hpintelco.net
(Continue reading)

Mike Burger | 2 Oct 2011 23:40

Re: mondo_tmp

Verify that your mondo job has completed, first (ps -eaf | grep mondo). If
so, then yes.

That is the mount of your backup to verify the tarballs.

> I keep seeing this on my server mondo.tmp, Can I remove it safely?
>
> [root <at> server ~]# df -kh
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
>                       518G  147G  345G  30% /
> /dev/sda1              99M   27M   68M  29% /boot
> tmpfs                 3.9G     0  3.9G   0% /dev/shm
> /dev/shm              350M     0  350M   0% /mondo.tmp.OzlYPx/tmpfs
>
>
> -pons
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> Mondo-devel mailing list
> Mondo-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mondo-devel
>

(Continue reading)

Picon
Favicon

Re: Mondorestore and NFS issue

 Hi Sebastian,

It seems to be a loop device problem, check
"2011-06-30 Regression in mindi-busybox 1.18.3" at:
http://www.mondorescue.org/news.shtml

Which GNU/Linux distribution (and version) are you using ?

Rgds,
Victor

-----Original Message-----
From: Sebastian [mailto:colomoto <at> gmail.com] 
Sent: dimanche 2 octobre 2011 22:38
To: Mondo mailing list
Cc: Mondo mailing list
Subject: Re: [Mondo-devel] Mondorestore and NFS issue

I did a restore from 6 isos (dvd size). Although At the begining it did what we expect to do, I had the same
behaviour at the last one. I was prompted for the last nfs (6th one) with no luck at all. So I had to mount it
manually after unload a loop device manually. All the 8 loop devices were busy with the last image.

After take care manually, the process continued fine.

By Colomoto

El 30/09/2011, a las 01:31, Bruno Cornec <Bruno.Cornec <at> hp.com> escribió:

> Hello,
> 
(Continue reading)

Sebastian Pereira | 3 Oct 2011 09:50
Picon

Re: Mondorestore and NFS issue

Linux ccaasp03 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.6 (Tikanga)


Regards,


Sebastian

On Mon, Oct 3, 2011 at 9:44 AM, Gattegno, Victor (GCC - Software) <victor_gattegno <at> hp.com> wrote:
 Hi Sebastian,

It seems to be a loop device problem, check
"2011-06-30 Regression in mindi-busybox 1.18.3" at:
http://www.mondorescue.org/news.shtml

Which GNU/Linux distribution (and version) are you using ?

Rgds,
Victor

-----Original Message-----
From: Sebastian [mailto:colomoto <at> gmail.com]
Sent: dimanche 2 octobre 2011 22:38
To: Mondo mailing list
Cc: Mondo mailing list
Subject: Re: [Mondo-devel] Mondorestore and NFS issue

I did a restore from 6 isos (dvd size). Although At the begining it did what we expect to do, I had the same behaviour at the last one. I was prompted for the last nfs (6th one) with no luck at all. So I had to mount it manually after unload a loop device manually. All the 8 loop devices were busy with the last image.

After take care manually, the process continued fine.



By Colomoto

El 30/09/2011, a las 01:31, Bruno Cornec <Bruno.Cornec <at> hp.com> escribió:

> Hello,
>
> Sebastian Pereira said on Sat, Sep 17, 2011 at 12:25:25PM +0200:
>
>> I have a problem (Huston???), the thing is that when I try to restore from a
>> NFS source the prompt for NFS disk 1 appears with the OK button, and that´s
>> it. Continuously it ask for NFS #1 and it can´t find it in the mounted NFS
>> source.
>
> THis is  known problem with 2.2.9.7, hopefully fixed in 2.2.9.8. A beta
> is now available for you to test at
> ftp://ftp.mondorescue.org/test/rhel/5
>
> Could you check again with that version and report back please ?
>
> TIA,
> Bruno.
> --
> Open Source & Linux Profession Lead EMEA           / http://opensource.hp.com
> HP/Intel/Red Hat Open Source Solutions Initiative  / http://www.hpintelco.net
> http://www.HyPer-Linux.org  http://mondorescue.org http://project-builder.org
> La musique ancienne?  http://www.musique-ancienne.org http://www.medieval.org
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Mondo-devel mailing list
> Mondo-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mondo-devel

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Picon
Favicon

Re: Mondorestore and NFS issue

RHEL 5... so this could help you to increase loop devices number:
 
Rgds,
Victor
From: Sebastian Pereira [mailto:colomoto <at> gmail.com]
Sent: lundi 3 octobre 2011 09:50
To: Mondo mailing list
Subject: Re: [Mondo-devel] Mondorestore and NFS issue

Linux ccaasp03 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.6 (Tikanga)


Regards,


Sebastian

On Mon, Oct 3, 2011 at 9:44 AM, Gattegno, Victor (GCC - Software) <victor_gattegno <at> hp.com> wrote:
 Hi Sebastian,

It seems to be a loop device problem, check
"2011-06-30 Regression in mindi-busybox 1.18.3" at:
http://www.mondorescue.org/news.shtml

Which GNU/Linux distribution (and version) are you using ?

Rgds,
Victor

-----Original Message-----
From: Sebastian [mailto:colomoto <at> gmail.com]
Sent: dimanche 2 octobre 2011 22:38
To: Mondo mailing list
Cc: Mondo mailing list
Subject: Re: [Mondo-devel] Mondorestore and NFS issue

I did a restore from 6 isos (dvd size). Although At the begining it did what we expect to do, I had the same behaviour at the last one. I was prompted for the last nfs (6th one) with no luck at all. So I had to mount it manually after unload a loop device manually. All the 8 loop devices were busy with the last image.

After take care manually, the process continued fine.



By Colomoto

El 30/09/2011, a las 01:31, Bruno Cornec <Bruno.Cornec <at> hp.com> escribió:

> Hello,
>
> Sebastian Pereira said on Sat, Sep 17, 2011 at 12:25:25PM +0200:
>
>> I have a problem (Huston???), the thing is that when I try to restore from a
>> NFS source the prompt for NFS disk 1 appears with the OK button, and that´s
>> it. Continuously it ask for NFS #1 and it can´t find it in the mounted NFS
>> source.
>
> THis is  known problem with 2.2.9.7, hopefully fixed in 2.2.9.8. A beta
> is now available for you to test at
> ftp://ftp.mondorescue.org/test/rhel/5
>
> Could you check again with that version and report back please ?
>
> TIA,
> Bruno.
> --
> Open Source & Linux Profession Lead EMEA           / http://opensource.hp.com
> HP/Intel/Red Hat Open Source Solutions Initiative  / http://www.hpintelco.net
> http://www.HyPer-Linux.org  http://mondorescue.org http://project-builder.org
> La musique ancienne?  http://www.musique-ancienne.org http://www.medieval.org
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Mondo-devel mailing list
> Mondo-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mondo-devel

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Sebastian Pereira | 3 Oct 2011 12:30
Picon

Re: Mondorestore and NFS issue

Thanks for the tip.
What I did instead was to remove one of them during the restore process and use it to mount the DVD iso image.

The 8 loops devices is the default number of loops if you don't have it hardcoded in the modprobe.conf. One workaround is to increase this number in the server. I think, correct me if I'm wrong, this change pass to mindi boot cd and could be a short term solution.

Regards,

Sebastian

On Mon, Oct 3, 2011 at 12:20 PM, Gattegno, Victor (GCC - Software) <victor_gattegno <at> hp.com> wrote:
RHEL 5... so this could help you to increase loop devices number:
 
Rgds,
Victor
From: Sebastian Pereira [mailto:colomoto <at> gmail.com]
Sent: lundi 3 octobre 2011 09:50
To: Mondo mailing list

Subject: Re: [Mondo-devel] Mondorestore and NFS issue

Linux ccaasp03 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.6 (Tikanga)


Regards,


Sebastian

On Mon, Oct 3, 2011 at 9:44 AM, Gattegno, Victor (GCC - Software) <victor_gattegno <at> hp.com> wrote:
 Hi Sebastian,

It seems to be a loop device problem, check
"2011-06-30 Regression in mindi-busybox 1.18.3" at:
http://www.mondorescue.org/news.shtml

Which GNU/Linux distribution (and version) are you using ?

Rgds,
Victor

-----Original Message-----
From: Sebastian [mailto:colomoto <at> gmail.com]
Sent: dimanche 2 octobre 2011 22:38
To: Mondo mailing list
Cc: Mondo mailing list
Subject: Re: [Mondo-devel] Mondorestore and NFS issue

I did a restore from 6 isos (dvd size). Although At the begining it did what we expect to do, I had the same behaviour at the last one. I was prompted for the last nfs (6th one) with no luck at all. So I had to mount it manually after unload a loop device manually. All the 8 loop devices were busy with the last image.

After take care manually, the process continued fine.



By Colomoto

El 30/09/2011, a las 01:31, Bruno Cornec <Bruno.Cornec <at> hp.com> escribió:

> Hello,
>
> Sebastian Pereira said on Sat, Sep 17, 2011 at 12:25:25PM +0200:
>
>> I have a problem (Huston???), the thing is that when I try to restore from a
>> NFS source the prompt for NFS disk 1 appears with the OK button, and that´s
>> it. Continuously it ask for NFS #1 and it can´t find it in the mounted NFS
>> source.
>
> THis is  known problem with 2.2.9.7, hopefully fixed in 2.2.9.8. A beta
> is now available for you to test at
> ftp://ftp.mondorescue.org/test/rhel/5
>
> Could you check again with that version and report back please ?
>
> TIA,
> Bruno.
> --
> Open Source & Linux Profession Lead EMEA           / http://opensource.hp.com
> HP/Intel/Red Hat Open Source Solutions Initiative  / http://www.hpintelco.net
> http://www.HyPer-Linux.org  http://mondorescue.org http://project-builder.org
> La musique ancienne?  http://www.musique-ancienne.org http://www.medieval.org
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Mondo-devel mailing list
> Mondo-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mondo-devel

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Picon
Favicon

Re: Ubuntu 11.04 mondoarchive FAIL - leaves /dev/loop0 mounted? Runs out of space?

Hi Steffen,

In your log I see a lot of "write error: No space left on device".

EXTRA_SPACE value was already increased in /usr/sbin/mindi (and tested) in order to avoid that problem
with Ubuntu.

Normally you see, in your /usr/sbin/mindi:
EXTRA_SPACE=80152
BOOT_SIZE=32768	

So, if you already have these values in your /usr/sbin/mindi, it could be an inode problem, check Mondo
Rescue FAQ #Q17.

Regards,
Victor

-----Original Message-----
From: Steffen Hulegaard [mailto:shulegaa <at> yahoo.com] 
Sent: vendredi 30 septembre 2011 22:01
To: mondo-devel <at> lists.sourceforge.net
Subject: [Mondo-devel] Ubuntu 11.04 mondoarchive FAIL - leaves /dev/loop0 mounted? Runs out of space?

     Despite Victor Gattegno's prompt, detailed and *most* helpful reply, Somehow, I still do not
have the knack for running mondoarchive on Ubuntu 11.04.  I did follow the Mondo Rescue FAQ Q#11 (see
http://trac.mondorescue.org/wiki/FAQ#Q11DoesmondoworkwithDebianUbuntudistributions).  I
did fix up the mindi script to use syslinux --stupid.  I do have the right versions of mondo, mindi and
mindi-busybox both installed (and 'pinned' via /etc/apt/preferences).

apt-show-versions -a mondo mindi mindi-busybox mindi 2.0.7.8-1 install ok installed mindi
2.0.7.8-1          unknown ftp.mondorescue.org mindi 1:2.0.4-1.1ubuntu1 natty  
us.archive.ubuntu.com No stable version mindi/unknown uptodate 2.0.7.8-1 mindi-busybox 1.18.3-3
install ok installed mindi-busybox 1.2.1-4  natty   us.archive.ubuntu.com mindi-busybox
1.18.3-3 unknown ftp.mondorescue.org No stable version mindi-busybox/unknown uptodate 1.18.3-3
mondo 2.2.9.7-1 install ok installed mondo 2.2.9.7-1   unknown ftp.mondorescue.org mondo
1:2.2.7-2.1 natty   us.archive.ubuntu.com No stable version mondo/unknown uptodate 2.2.9.7-1

I even ssh root <at> localhost to ensure both real and effective user id's are *root* for:
mondoarchive -Oi -G -p `hostname`-`date +%Y%m%d` -9 -d \ /home/schulegaard/tmp/mondo -s 4480m -S /tmp -T
/tmp \ -E "/mnt/usb1_1|/mnt/usb1_2|/mnt/work|/tmp|/home/schulegaard/tmp/mondo"

Which results in the usual stuff - ending like this:
...
...
Calling MINDI to create boot+data disks
Your boot loader is GRUB and it boots from /dev/sda Waiting for 'echo hi >
/tmp/mondo.tmp.15Er7D/mojo-jojo.bla.bla ; mindi   --custo Mindi failed to create your boot+data disks.
Fatal error... Failed to generate boot+data disks
---FATALERROR--- Failed to generate boot+data disks 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
rm: cannot remove `/tmp/mondo.tmp.15Er7D/mnt1': Device or resource busy
root <at> gandalf:/home/schulegaard/tmp/mondo# df Filesystem          
1K-blocks      Used Available Use% Mounted on
/dev/sda1            953178004  11277044 893482248   2% /
none                   4089988       740   4089248   1% /dev
none                   4097716      1248   4096468   1% /dev/shm
none                   4097716       244   4097472   1% /var/run
none                   4097716         0   4097716   0% /var/lock
/dev/sdc1            1922787892   3419064 1919368828   1% /mnt/usb1_1
/dev/sdc2            961465672 221931348 739534324  24% /mnt/usb1_2
/dev/sdb1            961432904    204436 961228468   1% /mnt/work
/dev/loop0              118995      1538    116188   2% /tmp/mondo.tmp.15Er7D/mnt1

Hmm.  I've attached my latest log files.  Poking around in log files makes me think that the mondoarchive
mounted /dev/loop0 device is, somehow, just too small.  Is that possible?  At any rate, I manually
umount /dev/loop0 after the aborted mondoarchive.  Honestly, i have no idea what role that plays for
mondoarchive. 

If there's a guru out there as kind as Victor Gattegno, perhaps I'll get mondoarchive working on Ubuntu
11.04.  I must be missing something. If I might impose for just a bit more help, I sure would appreciate it. 

Cheers, Steffen

===========================

====  Victor's Response 

====  Not to shulegaa <at> yahoo.com but from mondo-devel archive cut-n-paste ===========================

Re: [Mondo-devel] Ubuntu 11.04 mondoarchive fails & mindi .deb shows    conflicts ...From:
Gattegno, Victor (GCC - Software) <victor_gattegno <at> hp...> - 2011-09-26 08:22

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 
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
Picon
Favicon

Re: Ubuntu 11.04 mondoarchive FAIL - leaves /dev/loop0 mounted? Runs out of space?

You rock too Steffen   ;-)

Well, yes, I succeded to mondoarchive my Ubuntu 11.04, on a USB hard disk.

I used Mondo Archive v2.2.9.6-r2760, Mindi v2.0.7.7-r2760 and Mindi-BusyBox v1.18.3.

The only problems were:
 * syslinux --s (solved by syslinus --stupid),
and 
 * EXTRA_SPACE and BOOT_SIZE parameters (solved by EXTRA_SPACE=80152 and BOOT_SIZE=32768).

I have to try with the latest versions, to see if I get the same problem than your.

Your df results are not easy to read, could you post it in a file, in attachment ?

Rgds,
Victor

-----Original Message-----
From: Steffen Hulegaard [mailto:shulegaa <at> yahoo.com] 
Sent: lundi 3 octobre 2011 17:36
To: Gattegno, Victor (GCC - Software); Mondo mailing list
Subject: Re: [Mondo-devel] Ubuntu 11.04 mondoarchive FAIL - leaves /dev/loop0 mounted? Runs out of space?

     Victor Gattegno rocks!  Thanks again for your amazingly quick response.  

    In a determined effort to get mondoarchive working on Ubuntu 11.04, I'm now 

working with a relatively new, scratch install of Ubuntu 11.04.  I do have those 

'proper' EXTRA_SPACE and BOOT_SIZE values in my /usr/sbin/mindi script.  

I'll attach my /usr/bin/mindi - and I'll reattach the mondo/mini log files again ... 

just for ease of reference.  

     I really appreciate all the time and attention paid to my trials and tribulations.  

Should I try bumping up my EXTRA_SPACE and BOOT_SIZE parameters 

(in /usr/bin/mindi) even more?  If so, how much?

     I saw FAQ Q#17 as well.  Great point!  Not surprisingly, my df output *does* 

show tons of *both* inodes and free space:

#df -iah
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda1                 58M     360K    58M    1%  /
proc                           0            0        
0    -       /proc none                         
0            0         0    -       /sys
fusectl                       0            0        
0    -       /sys/fs/fuse/connections
none                          0            0        
0    -       /sys/kernel/debug none                         
0            0         0    -       /sys/kernel/security
none                       999K    1003    998K    1%   /dev
none                          0            0         
0    -      /dev/pts none                    1001K        
28   1001K    1%  /dev/shm none                   
1001K         70   1001K    1%  /var/run
none                    1001K           2   1001K    1% 
/var/lock binfmt_misc               0             0        
0    -       /proc/sys/fs/binfmt_misc gvfs-fuse-daemon      
0             0         0    -       /root/.gvfs
gvfs-fuse-daemon       0             0         0    -       /home/schulegaard/.gvfs
/dev/sdc1               117M         43    117M    1%  /mnt/usb1_1
/dev/sdc2                59M       1.5M     57M    3%  /mnt/usb1_2
/dev/sdb1                59M          11      59M    1%  /mnt/work

# df -ah
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             910G   11G  853G   2%    /
proc                          0        0        0    
-      /proc none                         0        0       
0     -      /sys fusectl                      0        0     
  0     -      /sys/fs/fuse/connections
none                         0        0        0     -   
  /sys/kernel/debug none                         0        0    
   0     -      /sys/kernel/security none                   
4.0G   740K  3.9G    1%   /dev none                         0    
   0        0     -      /dev/pts none                     4.0G 
1.3M   4.0G    1%  /dev/shm none                     4.0G  248K  
4.0G    1%  /var/run none                     4.0G       0   
4.0G    0%  /var/lock binfmt_misc               0        0        0    
-     /proc/sys/fs/binfmt_misc gvfs-fuse-daemon       0        0       
0     -     /root/.gvfs gvfs-fuse-daemon   0.0K   0.0K   0.0K    -     /home/schulegaard/.gvfs
/dev/sdc1               1.8T   8.8G   1.8T    1% /mnt/usb1_1
/dev/sdc2              917G  295G  623G  33% /mnt/usb1_2
/dev/sdb1              917G  200M  917G   1%  /mnt/work

    While I no zilch (or less) about the inner-workings of mondoarchive, if I had to hazard a very
ignorant guess (... contrary to my better judgement), I'd wonder about the /dev/loop0 device that
mondoarchive left mounted (on /tmp/≤something>).  From the email thread below:

/dev/loop0                   118995          1538         116188  
2% /tmp/mondo.tmp.15Er7D/mnt1

     That is a pretty small filesystem!  By process of elimination, I've been guessing that this
might be the device triggering the "write error:  No space left on device" error. 

     Either that, or perhaps there are time outs afflicting by 'sync' mounted, external USB drive
partitions (e.g. /dev/sdc1 and /dev/sdc2).  Of course, I'm just wildly grasping at straws.  I already
tried to -E exclude these anyway - just in case.  

     From my clueless perspective, it is just as likely that this particular error message is somehow
misleading (... about the true nature/cause of the error).  Are you able to run mondoarchive on an Ubuntu
11.04 box?  

     I'm really at a loss.  The help on mond-devel <at> lists.sourceforge.net is *awesome* - but I feel
more and more like a noob.

Worried, Steffen      

________________________________
From: "Gattegno, Victor (GCC - Software)" <victor_gattegno <at> hp.com>
To: Steffen Hulegaard <shulegaa <at> yahoo.com>; Mondo mailing list <mondo-devel <at> lists.sourceforge.net>
Sent: Monday, October 3, 2011 7:18 AM
Subject: RE: [Mondo-devel] Ubuntu 11.04 mondoarchive FAIL - leaves /dev/loop0 mounted? Runs out of space?

Hi Steffen,

In your log I see a lot of "write error: No space left on device".

EXTRA_SPACE value was already increased in /usr/sbin/mindi (and tested) in order to avoid that problem
with Ubuntu.

Normally you see, in your /usr/sbin/mindi:
EXTRA_SPACE=80152
BOOT_SIZE=32768    

So, if you already have these values in your /usr/sbin/mindi, it could be an inode problem, check Mondo
Rescue FAQ #Q17.

Regards,
Victor

-----Original Message-----
From: Steffen Hulegaard [mailto:shulegaa <at> yahoo.com]
Sent: vendredi 30 septembre 2011 22:01
To: mondo-devel <at> lists.sourceforge.net
Subject: [Mondo-devel] Ubuntu 11.04 mondoarchive FAIL - leaves /dev/loop0 mounted? Runs out of space?

     Despite Victor Gattegno's prompt, detailed and *most* helpful reply, Somehow, I still do not
have the knack for running mondoarchive on Ubuntu 11.04.  I did follow the Mondo Rescue FAQ Q#11 (see
http://trac.mondorescue.org/wiki/FAQ#Q11DoesmondoworkwithDebianUbuntudistributions).  I
did fix up the mindi script to use syslinux --stupid.  I do have the right versions of mondo, mindi and
mindi-busybox both installed (and 'pinned' via /etc/apt/preferences).

apt-show-versions -a mondo mindi mindi-busybox mindi 2.0.7.8-1 install ok installed mindi
2.0.7.8-1          unknown ftp.mondorescue.org mindi 1:2.0.4-1.1ubuntu1 natty  
us.archive.ubuntu.com No stable version mindi/unknown uptodate 2.0.7.8-1 mindi-busybox 1.18.3-3
install ok installed mindi-busybox 1.2.1-4  natty   us.archive.ubuntu.com mindi-busybox
1.18.3-3 unknown ftp.mondorescue.org No stable version mindi-busybox/unknown uptodate 1.18.3-3
mondo 2.2.9.7-1 install ok installed mondo 2.2.9.7-1   unknown ftp.mondorescue.org mondo
1:2.2.7-2.1 natty   us.archive.ubuntu.com No stable version mondo/unknown uptodate 2.2.9.7-1

I even ssh root <at> localhost to ensure both real and effective user id's are *root* for:
mondoarchive -Oi -G -p `hostname`-`date +%Y%m%d` -9 -d \ /home/schulegaard/tmp/mondo -s 4480m -S /tmp -T
/tmp \ -E "/mnt/usb1_1|/mnt/usb1_2|/mnt/work|/tmp|/home/schulegaard/tmp/mondo"

Which results in the usual stuff - ending like this:
...
...
Calling MINDI to create boot+data disks
Your boot loader is GRUB and it boots from /dev/sda Waiting for 'echo hi >
/tmp/mondo.tmp.15Er7D/mojo-jojo.bla.bla ; mindi   --custo Mindi failed to create your boot+data disks.
Fatal error... Failed to generate boot+data disks
---FATALERROR--- Failed to generate boot+data disks 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
rm: cannot remove `/tmp/mondo.tmp.15Er7D/mnt1': Device or resource busy
root <at> gandalf:/home/schulegaard/tmp/mondo# df Filesystem          
1K-blocks      Used Available Use% Mounted on
/dev/sda1              953178004    11277044  893482248   2% / 

none                         4089988            740      4089248   1% 

/dev none                  4097716          1248      4096468   1% 

/dev/shm none           4097716            244      4097472   1% 

/var/run none             4097716                0      4097716    0% /var/lock
/dev/sdc1             1922787892     3419064 1919368828   1% /mnt/usb1_1
/dev/sdc2               961465672 221931348   739534324  24% /mnt/usb1_2
/dev/sdb1               961432904      204436   961228468   1% /mnt/work 

/dev/loop0                   118995          1538         116188  
2% /tmp/mondo.tmp.15Er7D/mnt1

Hmm.  I've attached my latest log files.  Poking around in log files makes me think that the mondoarchive
mounted /dev/loop0 device is, somehow, just too small.  Is that possible?  At any rate, I manually
umount /dev/loop0 after the aborted mondoarchive.  Honestly, i have no idea what role that plays for
mondoarchive. 

If there's a guru out there as kind as Victor Gattegno, perhaps I'll get mondoarchive working on Ubuntu
11.04.  I must be missing something. If I might impose for just a bit more help, I sure would appreciate it. 

Cheers, Steffen

===========================

====  Victor's Response 

====  Not to shulegaa <at> yahoo.com but from mondo-devel archive cut-n-paste ===========================

Re: [Mondo-devel] Ubuntu 11.04 mondoarchive fails & mindi .deb shows    conflicts ...From:
Gattegno, Victor (GCC - Software) <victor_gattegno <at> hp...> - 2011-09-26 08:22

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 
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
Steffen Hulegaard | 3 Oct 2011 17:35
Picon
Favicon

Re: Ubuntu 11.04 mondoarchive FAIL - leaves /dev/loop0 mounted? Runs out of space?

     Victor Gattegno rocks!  Thanks again for your amazingly quick response.  

    In a determined effort to get mondoarchive working on Ubuntu 11.04, I'm now 

working with a relatively new, scratch install of Ubuntu 11.04.  I do have those 

'proper' EXTRA_SPACE and BOOT_SIZE values in my /usr/sbin/mindi script.  

I'll attach my /usr/bin/mindi - and I'll reattach the mondo/mini log files again ... 

just for ease of reference.  

     I really appreciate all the time and attention paid to my trials and tribulations.  

Should I try bumping up my EXTRA_SPACE and BOOT_SIZE parameters 

(in /usr/bin/mindi) even more?  If so, how much?

     I saw FAQ Q#17 as well.  Great point!  Not surprisingly, my df output *does* 

show tons of *both* inodes and free space:

#df -iah
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda1                 58M     360K    58M    1%  /
proc                           0            0        
0    -       /proc
none                          0            0        
0    -       /sys
fusectl                       0            0         0   
-       /sys/fs/fuse/connections
none                          0            0        
0    -       /sys/kernel/debug
none                          0            0        
0    -       /sys/kernel/security
none                       999K    1003    998K    1%   /dev
none                          0            0         
0    -      /dev/pts
none                    1001K         28   1001K    1%  /dev/shm
none                    1001K         70   1001K    1%  /var/run
none                    1001K           2   1001K    1%  /var/lock
binfmt_misc               0             0         0   
-       /proc/sys/fs/binfmt_misc
gvfs-fuse-daemon       0             0         0    -       /root/.gvfs
gvfs-fuse-daemon       0             0         0    -       /home/schulegaard/.gvfs
/dev/sdc1               117M         43    117M    1%  /mnt/usb1_1
/dev/sdc2                59M       1.5M     57M    3%  /mnt/usb1_2
/dev/sdb1                59M          11      59M    1%  /mnt/work

# df -ah
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             910G   11G  853G   2%    /
proc                          0        0        0     -   
  /proc
none                         0        0        0     -      /sys
fusectl                      0        0        0     -      /sys/fs/fuse/connections
none                         0        0        0     -      /sys/kernel/debug
none                         0        0        0     -      /sys/kernel/security
none                    4.0G   740K  3.9G    1%   /dev
none                         0        0        0     -      /dev/pts
none                     4.0G  1.3M   4.0G    1%  /dev/shm
none                     4.0G  248K   4.0G    1%  /var/run
none                     4.0G       0    4.0G    0%  /var/lock
binfmt_misc               0        0        0     -     /proc/sys/fs/binfmt_misc
gvfs-fuse-daemon       0        0        0     -     /root/.gvfs
gvfs-fuse-daemon   0.0K   0.0K   0.0K    -     /home/schulegaard/.gvfs
/dev/sdc1               1.8T   8.8G   1.8T    1% /mnt/usb1_1
/dev/sdc2              917G  295G  623G  33% /mnt/usb1_2
/dev/sdb1              917G  200M  917G   1%  /mnt/work

    While I no zilch (or less) about the inner-workings of mondoarchive, if I had to hazard 
a very ignorant guess (... contrary to my better judgement), I'd wonder about the 
/dev/loop0 device that mondoarchive left mounted (on /tmp/≤something>).  From the 
email thread below:

/dev/loop0                   118995          1538         116188  
2% /tmp/mondo.tmp.15Er7D/mnt1

     That is a pretty small filesystem!  By process of elimination, I've been guessing 
that this might be the device triggering the "write error:  No space left on device" error. 

     Either that, or perhaps there are time outs afflicting by 'sync' mounted, external USB 
drive partitions (e.g. /dev/sdc1 and /dev/sdc2).  Of course, I'm just wildly grasping at 
straws.  I already tried to -E exclude these anyway - just in case.  

     From my clueless perspective, it is just as likely that this particular 
error message is somehow misleading (... about the true nature/cause of the error).  Are 
you able to run mondoarchive on an Ubuntu 11.04 box?  

     I'm really at a loss.  The help on mond-devel <at> lists.sourceforge.net is *awesome* - 
but I feel more and more like a noob.

Worried, Steffen      

________________________________
From: "Gattegno, Victor (GCC - Software)" <victor_gattegno <at> hp.com>
To: Steffen Hulegaard <shulegaa <at> yahoo.com>; Mondo mailing list <mondo-devel <at> lists.sourceforge.net>
Sent: Monday, October 3, 2011 7:18 AM
Subject: RE: [Mondo-devel] Ubuntu 11.04 mondoarchive FAIL - leaves /dev/loop0 mounted? Runs out of space?

Hi Steffen,

In your log I see a lot of "write error: No space left on device".

EXTRA_SPACE value was already increased in /usr/sbin/mindi (and tested) in order to avoid that problem
with Ubuntu.

Normally you see, in your /usr/sbin/mindi:
EXTRA_SPACE=80152
BOOT_SIZE=32768    

So, if you already have these values in your /usr/sbin/mindi, it could be an inode problem, check Mondo
Rescue FAQ #Q17.

Regards,
Victor

-----Original Message-----
From: Steffen Hulegaard [mailto:shulegaa <at> yahoo.com] 
Sent: vendredi 30 septembre 2011 22:01
To: mondo-devel <at> lists.sourceforge.net
Subject: [Mondo-devel] Ubuntu 11.04 mondoarchive FAIL - leaves /dev/loop0 mounted? Runs out of space?

     Despite Victor Gattegno's prompt, detailed and *most* helpful reply, Somehow, I still do not
have the knack for running mondoarchive on Ubuntu 11.04.  I did follow the Mondo Rescue FAQ Q#11 (see
http://trac.mondorescue.org/wiki/FAQ#Q11DoesmondoworkwithDebianUbuntudistributions).  I
did fix up the mindi script to use syslinux --stupid.  I do have the right versions of mondo, mindi and
mindi-busybox both installed (and 'pinned' via /etc/apt/preferences).

apt-show-versions -a mondo mindi mindi-busybox mindi 2.0.7.8-1 install ok installed mindi
2.0.7.8-1          unknown ftp.mondorescue.org mindi 1:2.0.4-1.1ubuntu1 natty  
us.archive.ubuntu.com No stable version mindi/unknown uptodate 2.0.7.8-1 mindi-busybox 1.18.3-3
install ok installed mindi-busybox 1.2.1-4  natty   us.archive.ubuntu.com mindi-busybox
1.18.3-3 unknown ftp.mondorescue.org No stable version mindi-busybox/unknown uptodate 1.18.3-3
mondo 2.2.9.7-1 install ok installed mondo 2.2.9.7-1   unknown ftp.mondorescue.org mondo
1:2.2.7-2.1 natty   us.archive.ubuntu.com No stable version mondo/unknown uptodate 2.2.9.7-1

I even ssh root <at> localhost to ensure both real and effective user id's are *root* for:
mondoarchive -Oi -G -p `hostname`-`date +%Y%m%d` -9 -d \ /home/schulegaard/tmp/mondo -s 4480m -S /tmp -T
/tmp \ -E "/mnt/usb1_1|/mnt/usb1_2|/mnt/work|/tmp|/home/schulegaard/tmp/mondo"

Which results in the usual stuff - ending like this:
...
...
Calling MINDI to create boot+data disks
Your boot loader is GRUB and it boots from /dev/sda Waiting for 'echo hi >
/tmp/mondo.tmp.15Er7D/mojo-jojo.bla.bla ; mindi   --custo Mindi failed to create your boot+data disks.
Fatal error... Failed to generate boot+data disks
---FATALERROR--- Failed to generate boot+data disks 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
rm: cannot remove `/tmp/mondo.tmp.15Er7D/mnt1': Device or resource busy
root <at> gandalf:/home/schulegaard/tmp/mondo# df Filesystem          
1K-blocks      Used Available Use% Mounted on
/dev/sda1              953178004    11277044  893482248   2% / 

none                         4089988            740      4089248   1% 

/dev none                  4097716          1248      4096468   1% 

/dev/shm none           4097716            244      4097472   1% 

/var/run none             4097716                0      4097716    0% /var/lock
/dev/sdc1             1922787892     3419064 1919368828   1% /mnt/usb1_1
/dev/sdc2               961465672 221931348   739534324  24% /mnt/usb1_2
/dev/sdb1               961432904      204436   961228468   1% /mnt/work 

/dev/loop0                   118995          1538         116188  
2% /tmp/mondo.tmp.15Er7D/mnt1

Hmm.  I've attached my latest log files.  Poking around in log files makes me think that the mondoarchive
mounted /dev/loop0 device is, somehow, just too small.  Is that possible?  At any rate, I manually
umount /dev/loop0 after the aborted mondoarchive.  Honestly, i have no idea what role that plays for
mondoarchive. 

If there's a guru out there as kind as Victor Gattegno, perhaps I'll get mondoarchive working on Ubuntu
11.04.  I must be missing something. If I might impose for just a bit more help, I sure would appreciate it. 

Cheers, Steffen

===========================

====  Victor's Response 

====  Not to shulegaa <at> yahoo.com but from mondo-devel archive cut-n-paste ===========================

Re: [Mondo-devel] Ubuntu 11.04 mondoarchive fails & mindi .deb shows    conflicts ...From:
Gattegno, Victor (GCC - Software) <victor_gattegno <at> hp...> - 2011-09-26 08:22

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 
Attachment (mindi): application/octet-stream, 113 KiB
Attachment (mondoarchive.log): application/octet-stream, 152 KiB
Attachment (mindi.log): application/octet-stream, 114 KiB
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel

Gmane