Re: CentOS 7: restore fails

Bruno Cornec <[email protected]>
Newsgroups gmane.linux.mondo.devel
Message-ID <[email protected]>
Hello,
Nikolaos Milas said on Mon, Jan 09, 2017 at 03:50:38PM +0200:
>> I did not rebuild initrd; In fact, I don't know if I should (I am
>> restoring to the same geometry), and even if I should, I don't know
>> how to do it on CentOS 7 (ramfs etc.). If I should, can someone
>> provide directions on how to do it?
>
>Could this possibly help resolve issues? If so, please guide me on how
>to rebuild initrd (or whatever)!

 If you restore on the same HW, there is no obvious reason to rebuild the initrd. This is mainly to allow people cloning to another platform to make the mandatory modifications (have the right drivers in their initrd)

>> Here are links to the mondoarchive.log of the backup taken and the
>> mondorestore.log of the (failed) interactive restore:
>>
>>    http://iweb.noa.gr/files/mondoarchive-nm-20170104-01.log
>>    http://iweb.noa.gr/files/mondorestore-nm-20170104-01.log
>>
>> Needless to say, these restores won't boot either.

For me the major problem is to solve that error:
grub2-install: error: cannot find a GRUB drive for /dev/vda1.  Check your device.map.

At thatpoint, it would require to use the possibility to rebuild the inirtd, use that shell generated to have a look around, at devices, files, under /mnt/RESTORING to check what is good, and what is not. I can't give you much more guidance here, as this is really dependent on what would be found :-(

The other error I dislike (but that's out of your control, just mine) is this one:
DBG1: libmondo-fork.c->mr_getline_int#310: mr_getline_ found a non freed variable here
INFO: SIGABRT signal received from OS
INFO: Abort - probably failed assertion. I'm sleeping for a few seconds so you can read the message.
DBG1: [Main] ../common/newt-specific.c->fatal_error#304: Fatal error received - 'MondoRescue is terminating in response to a signal from the OS'

which generally indicates a crash of the mondorestore binary. 
So I'll try to have a look at that one, but I wasn't able to reproduce, so again may be hard to find due to that.

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

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.