Roth, Sandro | 10 Mar 12:43 2015

RHEL7 Issue

Hi there

 

We’re running mondo on all RHEL6 servers successfully and are now deploying our first RHEL7 servers.

Mondo is run by a cronjob whichs mounts an nfs share, creates some directories and copies log files.

Now I’m having some issues with the same cronjob on RHEL7.

 

This is how we invoke mondo.

 

# mondoarchive -OVi -d /path/to/nfs -I /dev/sda -p $hostname -S /tmp -T /tmp -G -N -s 4g

 

Usually /tmp provides enough capacity for temp and scratch but on RHEL7 it fills up completely so I added some local disks under /data which is now 140G in size.

So I changed –T and –S to use /data but they still fill up to 100% and I have no idea why?

/dev/sda is 72G but not even close to full, only basic installation and no data.

 

When temp and scratch run out of space this happens.

 

afio: Ready for volume 2 on /data/mondo.tmp.v9TVwZ/tmpfs/9.afio.gz

afio: "quit" to abort, anything else to proceed. >

 

This is how the filesystems look like outside of a mondo backup.

 

# df -h

Filesystem                    Size  Used Avail Use% Mounted on

/dev/mapper/sys-root          9.8G  1.7G  8.1G  18% /

devtmpfs                      2.9G     0  2.9G   0% /dev

tmpfs                         2.9G     0  2.9G   0% /dev/shm

tmpfs                         2.9G  8.8M  2.9G   1% /run

tmpfs                         2.9G     0  2.9G   0% /sys/fs/cgroup

/dev/mapper/sys-home          2.0G   33M  2.0G   2% /home

/dev/mapper/sys-opt           2.0G   84M  1.9G   5% /opt

/dev/mapper/sys-tmp           3.9G   33M  3.9G   1% /tmp

/dev/mapper/sys-var           3.9G  609M  3.4G  16% /var

/dev/sda1                     497M   88M  410M  18% /boot

/dev/mapper/data-data1        137G   33M  137G   1% /data

 

Tested with the newest beta build

(Running with 3.2.0 segfaulted with –I option, but that seems fixed in the 3.2.1 beta, yay :) )

 

mondo-3.2.120150305095420-0.rhel7.x86_64

mindi-busybox-1.21.1-1.rhel7.x86_64

mindi-3.0.120150305095420-0.rhel7.x86_64

 

On RHEL6 we never upgraded mondo because “it just works”.

 

mondo-3.0.2-1.rhel6.x86_64

mindi-busybox-1.18.5-1.rhel6.x86_64

mindi-2.1.2-1.rhel6.x86_64

 

 

Any help would be appreciated.

Logs are attached.

 

Thanks

Sandro

 

 

Sandro Roth
Systems Engineer
ICT Datacenter

Flughafen Zürich AG
Postfach
CH-8058 Zürich-Flughafen
www.flughafen-zuerich.ch

Tel: +41 43 816 10 58
Mobile: +41 76 356 71 19

 

This email message and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify us immediately and destroy the original transmittal. You are hereby notified that any review, copying or distribution of it is strictly prohibited. Thank you for your cooperation. Header information contained in E-mails to and from the company are monitored for operational reasons in accordance with the Swiss data protection act.
Attachment (logs.zip): application/x-zip-compressed, 119 KiB
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Riddle | 6 Mar 11:44 2015

Restore Problem

Hi

 

Apologies if this is a silly question but I feel like I’ve done the relevant searching but still can’t find a solution to my problem. I’m using mondo to backup a system and restore it to a new disk, something I’ve done before on other machines.

 

The backup works fine but when I try and restore from the mondo media that is created the system kernel panics during the restore. The error that I get is:

 

/init: error while loading shared libraries: libm.so.6: cannot open shared object file: no such file or directory

 

When I did some searching one of the solutions I found was to explicitly include this file using the mindi config file. I did this but it didn’t solve the problem. Here is a copy of what I put in the deplist.txt file:

 

#------------------------- STUFF ADDED BY THE USER ----------------------------

#---vvvv     vvvv     vvvv  list your stuff here!  vvvv     vvvv     vvvv

/lib/libm.so.6

/lib/libc.so.6

/lib64/libm.so.6

/lib64/libm-2.12.so

#---^^^^     ^^^^     ^^^^  list your stuff here!  ^^^^     ^^^^     ^^^^

#------------------------------------------------------------------------------

 

Many thanks in advance

 

Riddle

Attachment (mindi.log): application/octet-stream, 19 KiB
Attachment (mondoarchive.log): application/octet-stream, 6702 bytes
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Keith Roberts | 6 Mar 10:57 2015
Picon

Re: Mondorestore issue only in some PCs

On 6 Mar 2015, at 06:55, Iranna Appayya Mathapati <iranna.m <at> nuevonetwork.com> wrote:

   Hello Keith R
             
   
Is the /mnt/cdrom the right place to mount the USB flash drive?
yes

What’s in your /etc/fstab file for the cdrom mount point?
/dev/cdrom /mnt/cdrom iso9660 noauto 0 0

Are you actually booting Mondo Rescue from the USB drive?
Yes,We are Issuing the command "nuke" from BOOT prompt and get the fallowing error on console : /dev/sdb1 not a valid block devise

Hi Iranna.

If you have created the USB as a bootable iso image maybe that’s why you are getting the error - /dev/sdb1 is not a valid block device?

AFAIK you can make a USB a valid block file system that is not bootable but mountable.

If it’s made into bootable media then I’m not sure if you can actually mount it as well when it has booted?

Kind Regards,

Keith
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Bruno Cornec | 6 Mar 02:11 2015
Picon

Please help beta test future 3.2.1

Hello,

Please help beta test future 3.2.1:
https://brunocornec.wordpress.com/2015/03/06/mondorescue-3-2-1-is-definitively-looking-better-but-will-for-sure-with-your-help/

Beta at: ftp://ftp.mondorescue.org/test

Greetings,
Bruno.
--

-- 
Open Source Profession, Linux Community Lead WW http://opensource.hp.com
EMEA EG Open Source Technology Strategist       http://hpintelco.net
FLOSS projects:     http://mondorescue.org     http://project-builder.org 
Musique ancienne? http://www.musique-ancienne.org http://www.medieval.org

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Keith Roberts | 5 Mar 17:33 2015
Picon

Re: Mondorestore issue only in some PCs

On Wed, Mar 4, 2015 at 9:24 AM, Iranna Appayya Mathapati <iranna.m <at> nuevonetwork.com> wrote:

 

Hello there,

We are trying to do a Back up of one of our Linux machines on a USB device via mondoarchive and Restore the same (nuke) on multiple Linux machines using mondorestore . While the backup is happening w/o any issues, restore is happening in only some of the PCs. For the PC in which the restore is not happening we get the following error on console, though the USB device "sdb1" is detected on boot. Issuing the command "nuke" against the BOOT prompt, the USB device  "sdb1" does not get mounted on /mnt/cdrom ...

For the PCs on which the restore happens successfully the USB pen drive gets mounted on /mnt/cdrom w/o any problems. Need help on what needs to be changed on the PC for which the restore does not happen. Appreciate your help as I'm running behind schedule on this..


Hello Iranna.

Is the /mnt/cdrom the right place to mount the USB flash drive?

What’s in your /etc/fstab file for the cdrom mount point?

Are you actually booting Mondo Rescue from the USB drive?

KR

Keith
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Iranna Appayya Mathapati | 4 Mar 15:24 2015

Mondorestore issue only in some PCs


<!-- /* Font Definitions */ <at> font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} <at> font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} <at> font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif";} .MsoChpDefault {mso-style-type:export-only;} <at> page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.Section1 {page:Section1;} -->

Hello there,

We are trying to do a Back up of one of our Linux machines on a USB device via mondoarchive and Restore the same (nuke) on multiple Linux machines using mondorestore . While the backup is happening w/o any issues, restore is happening in only some of the PCs. For the PC in which the restore is not happening we get the following error on console, though the USB device "sdb1" is detected on boot. Issuing the command "nuke" against the BOOT prompt, the USB device  "sdb1" does not get mounted on /mnt/cdrom ...


For the PCs on which the restore happens successfully the USB pen drive gets mounted on /mnt/cdrom w/o any problems. Need help on what needs to be changed on the PC for which the restore does not happen. Appreciate your help as I'm running behind schedule on this..


BR,

Iranna

Attachment (image001.png): application/octet-stream, 257 KiB
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Keith Roberts | 4 Mar 11:45 2015
Picon

Re: mondorescue not restoring big files

On 4 Mar 2015, at 00:45, Bruno Cornec <Bruno.Cornec <at> hp.com> wrote:

> Hello Peter,
> 
> Peter Clark said on Tue, Mar 03, 2015 at 04:21:10PM -0500:
>> I can confirm that I've done a backup and restore with the new beta. On
>> the restored system the du -h used value is the same as the original host
>> and a random sampling of some large files shows the same md5sum between
>> the source and the restored target. However some really large .iso's are
>> showing "i/o error" when attempting to run md5sum on the VM I set up to
>> restore files to, so I'm looking more into that, but the file sizes are
>> exactly the same.
> 
> Thanks for your feedback. I don't think that the i/o error is mondo's
> fault, but who knows :-( 
> 
> The size of ISO files has never been a proof of anything. I have often
> downloaded ISO images that were the right size, and had a corrupted
> content. That's why md5sum are useful. 
> 
> Could you have a look at the original log file to check there was no
> error writing on the DR file ? And that the original files are not
> corruted themselves of course, in case it would come from there.
> 
> Bruno.

Is it worth running a directory diff to check these copies?

KR

Keith

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Keith Roberts | 27 Feb 16:24 2015
Picon

Re: FATAL ERROR. PBDI isolinux - cannot find FAILSAFE kernel

On 27 Feb 2015, at 01:54, Bruno Cornec <Bruno.Cornec <at> hp.com> wrote:

Keith Roberts said on Thu, Feb 26, 2015 at 09:15:42AM +0000:
Can I create a bootable Mondo recovery CD/DVD disk without the data archives on it. Then create non-bootable data backup iso’s later?

Yes you can exclude the data path with -E. Then use whatever backup SW
for your data, incuding mondoarchive if you really want ;-)

This is to allow me to boot from a non-xen DVD disk, and when booted up restore the machine from backups kept on a seperate DVD data-only disk?

Not sure why you don't want to just give to mondoarchive (currently with
-k) your non Xen kernel, and backup eveything with it.

Now if you have lots of data, it can make sense to backup them
separately indeed. But not for the kernel reason.

So if I use the

-W  Don't make your backup self-booting
option to mondoarchive, would I be able to restore those backups by booting the previously created mondo rescueboot DVD using the desktop kernel, and then insert the backup DVD’s as requested by mondo?
The machine has a hard drive with 4 primary partitions, and I only want to re-install the OS to /dev/sda2 without touching the other 3 partitions - swap, home, data. 
Is it possible to selectively restore to one partition like that please Bruno.
Kind Regards,
Keith
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mondo-devel mailing list
Mondo-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Keith Roberts | 27 Feb 14:01 2015
Picon

Re: FATAL ERROR. PBDI isolinux - cannot find FAILSAFE kernel


On 27 Feb 2015, at 01:55, Bruno Cornec <Bruno.Cornec <at> hp.com> wrote:

> Keith Roberts said on Thu, Feb 26, 2015 at 03:25:41PM +0000:
>> In interactive mode it looks like Mondo Rescue wants to make adjustments to my disk drive partitions?
> 
> This is a proposal only.
> 
>> Is there some way to tell Mondo Rescue to leave the drive partition layout as it it is please?
> 
> Don't change anything.

OK. Thanks for confirming that Bruno!

Keith :)

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Keith Roberts | 27 Feb 14:00 2015
Picon

Re: FATAL ERROR. PBDI isolinux - cannot find FAILSAFE kernel

On 27 Feb 2015, at 01:54, Bruno Cornec <Bruno.Cornec <at> hp.com> wrote:

> Keith Roberts said on Thu, Feb 26, 2015 at 09:15:42AM +0000:
>> Can I create a bootable Mondo recovery CD/DVD disk without the data archives on it. Then create
non-bootable data backup iso’s later?
> 
> Yes you can exclude the data path with -E. Then use whatever backup SW
> for your data, incuding mondoarchive if you really want ;-)
> 
>> This is to allow me to boot from a non-xen DVD disk, and when booted up restore the machine from backups kept
on a seperate DVD data-only disk?
> 
> Not sure why you don't want to just give to mondoarchive (currently with
> -k) your non Xen kernel, and backup eveything with it.
> 
> Now if you have lots of data, it can make sense to backup them
> separately indeed. But not for the kernel reason.

Hi Bruno.

The reason for creating a separate boot disk is to work around the problem I have with a running xen-kernel
not creating a bootable DVD. The production machine I want to use mondo archive on to backup the OS is
running a xen kernel.

I can easily make a bootable non-xen mondo rescue DVD on an identical spare machine.

Then the idea is to make non-bootable backups of the OS on the xen machine, and scp those from the machine and
burn those to another DVD.

Then I can boot Mondo Rescue with the non-xen DVD and re-install the xen OS withe the bootable desktop kernel.

Kind Regards,

Keith

> Open Source Profession, Linux Community Lead WW http://opensource.hp.com
> EMEA EG Open Source Technology Strategist       http://hpintelco.net
> FLOSS projects:     http://mondorescue.org     http://project-builder.org 
> Musique ancienne? http://www.musique-ancienne.org http://www.medieval.org
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Mondo-devel mailing list
> Mondo-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mondo-devel

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
Keith Roberts | 26 Feb 16:25 2015
Picon

Re: FATAL ERROR. PBDI isolinux - cannot find FAILSAFE kernel

On 26 Feb 2015, at 00:10, Bruno Cornec <Bruno.Cornec <at> hp.com> wrote:

> Bruno Cornec said on Thu, Feb 26, 2015 at 12:55:12AM +0100:
> 
>> Keith Roberts said on Wed, Feb 25, 2015 at 12:46:19PM +0000:
>>> The installed mondo packages are:
>>> 
>>> 
>> 
>> Woaw, that's suspense ;-)
> 
> Ah ok, I'm always reading in text mode and you had images attached as I
> realized later on !
> 
> Your mondo version is not in coherence with your mindi version. You
> should use 3.2.0 for mondo.

Thanks again for that Bruno.

I removed mondo 3.0.4-1 and replaced it with 3.2.0-1

I have burnt the mindi/mondorescue.iso image to the DVD

Using that I can now have a bootable DVD that will load the correct desktop kernel modules and shows the newt
Mondo Rescue screen.

In interactive mode it looks like Mondo Rescue wants to make adjustments to my disk drive partitions?

Is there some way to tell Mondo Rescue to leave the drive partition layout as it it is please?

Kind Regards,

Keith 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

Gmane