Re: CentOS 7: restore fails

Nikolaos Milas <[email protected]>
Newsgroups gmane.linux.mondo.devel
Organization National Observatory of Athens
Message-ID <[email protected]>
On 20/12/2016 1:21 μμ, Bruno Cornec wrote:

Well, seeing at which point it blocks, I think this is linked to the restore of the boot loader on your drive.
Depending on your hypevisor, it may present the restored VM with something not called /dev/vda as during backup and first restore maybe ? (even if I doubt).

Hi Bruno,

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.

The best approach would be to not reboot after restore, type mount-me at prompt chroot into /mnt/RESTORING and check that grub has been written correctly without error (and look at the log file to see what happened at that step which may be the one failing.

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:

sh-4.2# mr-mount-me

I think I failed to mount /dev/centos/root

mount: unknown filesystem type 'lvm'

Failed to mount /dev/vda2

I think I failed to mount /dev/vda2

3 errors occurred during mounting process.

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

df -h shows:

...

/dev/shm 256.0M 360.0K 255.6M 0% /tmp

/dev/mapper/centos-root

17.3G 1.4G 15.9G 8% /mnt/RESTORING

/dev/vda1 496.7M 211.2M 285.5M 43% /mnt/RESTORING/boot

Checking mondorestore.log, I find interesting:

Please let me know of any findings. Any advice will be
welcome!

Thanks!

Nick

------------------------------------------------------------------------------
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

_______________________________________________
Mondo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
hhpfjacameciccbl.png (image/png, 13 KB) - not displayed
affmhpplilpkofcc.png (image/png, 11.3 KB) - not displayed
pnfnjfmahhfialdg.png (image/png, 13 KB) - not displayed
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.