Re: CentOS 7: restore fails

Bruno Cornec <[email protected]>
Newsgroups gmane.linux.mondo.devel
Message-ID <[email protected]>
Nikolaos Milas said on Thu, Dec 22, 2016 at 12:36:01PM +0200:
><html>

Humm, please setup your mail reading to send at least also text msg.

>    </tt><tt>Hypervisor is KVM. /dev/vda is used universally. I have
>      done multiple restores in the past (CentOS 5 and 6) without
>      problems. I have not had any success with CentOS 7 restores yet. </tt><tt><br>

Well, each distros has its specificities. I'm really well aware of that with the boot process in particular.

>    </tt><tt>I tried "mount-me" but no command found; After searching a
>      bit, I found /usr/bin/mr-mount-me and tried it, but it failed:</tt><tt><br>

Yes, sorry for that, I changed the names to make them more homogeneous (mr- prefix) but forgot that
>    </tt>
>    <blockquote><tt>sh-4.2# mr-mount-me</tt><tt><br>
>      </tt><tt>I think I failed to mount /dev/centos/root</tt><tt><br>

Yes, you need to setup LVM before doing it.
look at the commands in /tmp/-i-want-my-lvm and take the first ones (to activate LVM):
Typically:
lvm vgchange -an
lvm vgscan
lvm vgchange -a y centos


>    <tt>I also tried to cd /mnt/RESTORING and then to /boot/grub/. In
>      there I only found one file named splash.xpm.gz.<br>

Not so good then.

>      df -h shows: <br>
>      <tt>/dev/shm     256.0M 360.0K 255.6M  0% /tmp</tt><br>
>      <tt>/dev/mapper/centos-root</tt><br>
>      <tt>              17.3G   1.4G  15.9G  8% /mnt/RESTORING</tt><br>
>      <tt>/dev/vda1    496.7M 211.2M 285.5M 43% /mnt/RESTORING/boot</tt><br>

Ok, so your /mnt/RESTORING was indeed mounted !
So that's good. Even the lvm part succeeded it seems.

Please then get the /mnt/RESTORING/var/log/mondorestore.log file and send it to us.

After that could make a new try with the version which will be generated this night under ftp://ftp.mondorescue.org/test/ubuntu/16.04/
Please update all the component to be sure. I fixed many small issues during my own tests on RHEL6 and RHEL7 so hopfully you should be in a better shape after.

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/intel
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.