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 existsThank you Marcelo for replying, The directory /etc/lvm/cache/ is empty. And, yes, the UUID matches: # 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
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)
On 4/5/2017 5:20 ??, Marcelo Roccasalva wrote:> Dumb question: the file starts with a dot, doesn't show up in "ls" without "-a".Of course, I check with ls -la.It is empty indeed.> Even dumber question: the erroring UUID exist in the origin of > thecloned guest? I guess you have rebuilt initramfs a few times now, > so I believe it is irrelevant...Interestingly, I see in the origin VM, the same UUID as in the cloned guest. See below. I don't know anything about rebuilding initramfs; the whole restore process is automatic. (There is a manual method too, but I have not been successful with it either.) # blkid /dev/mapper/centos-root: UUID="fcee6215-e97a-4a4f-9473-5115f8559683" TYPE="xfs" /dev/vda2: UUID="cey71w-b81q-w1se-0Cww-X2cr-Milx-dWw15Z" TYPE="LVM2_member" /dev/vda1: UUID="297e2939-d6f5-431a-9813-9848368ee306" TYPE="xfs" /dev/mapper/centos-swap: UUID="b220b45f-ae22-4393-a74d-90b03d37c41b" TYPE="swap" # cat /etc/fstab /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 ideas?> Never used mondorestore to clone a VM, have you done it successfully before?I have always had success in all my (numerous) restores/clones with CentOS 5 and 6. I have not managed to have a fully successful (i.e. bootable) restore/clone of a CentOS 7 system yet (due to the above issue). Thanks, Nick
Marcelo Roccasalva wrote:> 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 >> >> The directory /etc/lvm/cache/ is empty. > > Dumb question: the file starts with a dot, doesn't show up in "ls" without > "-a".<snip> It shouldn't. Std. *Nix "hidden file". mark