[CentOS] CentOS 7 cloned VM cannot boot

Thu May 4 14:20:12 UTC 2017
Marcelo Roccasalva <marcelo-centos at irrigacion.gov.ar>

On Wed, May 3, 2017 at 4:55 PM, Nikolaos Milas <nmilas at noa.gr> wrote:
> On 3/5/2017 10:41 μμ, Marcelo Roccasalva wrote:
>
>> Does the UUID of root filesystem in /etc/fstab match the actual UUID
>> as reported by blkid? And remove/etc/lvm/cache/.cache if it exists
>
>
> Thank you Marcelo for replying,
>
> The directory /etc/lvm/cache/ is empty.

Dumb question: the file starts with a dot, doesn't show up in "ls" without "-a".

> And, yes, the UUID matches:

Even dumber question: the erroring UUID exist in the origin of the
cloned guest? I guess you have rebuilt initramfs a few times now, so I
believe it is irrelevant...

Never used mondorestore to clone a VM, have you done it successfully before?

>
> # blkid
> /dev/vda1: UUID="297e2939-d6f5-431a-9813-9848368ee306" TYPE="xfs"
> /dev/vda2: UUID="OR1eUA-1hhb-PCff-qybQ-rLt4-JuTN-EcWX61" TYPE="LVM2_member"
> /dev/sr0: UUID="2017-03-16-21-15-06-00" LABEL="ISOIMAGE" TYPE="iso9660"
> PTTYPE="PMBR"
> /dev/mapper/centos-root: UUID="fcee6215-e97a-4a4f-9473-5115f8559683"
> TYPE="xfs"
> /dev/mapper/centos-swap: UUID="b220b45f-ae22-4393-a74d-90b03d37c41b"
> TYPE="swap"
>
> # cat /etc/fstab
> #
> # /etc/fstab
> # Created by anaconda on Thu Dec  8 13:40:06 2016
> #
> # Accessible filesystems, by reference, are maintained under '/dev/disk'
> # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
> #
> /dev/mapper/centos-root /                       xfs defaults        0 0
> UUID=297e2939-d6f5-431a-9813-9848368ee306 /boot                   xfs
> defaults        0 0
> /dev/mapper/centos-swap swap                    swap defaults        0 0
> 10.201.40.34:/data/col1/noc-bkups-1   /mnt/dd2500-1   nfs
> auto,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800 0 0
>
> Any other ideas?
>
> Thanks,
>
> Nick
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos



-- 
Marcelo

"¿No será acaso que esta vida moderna está teniendo más de moderna que de
vida?" (Mafalda)