Centos 7 VM enter in emergency mode while reboot
-
- Posts: 15
- Joined: 2019/05/07 11:30:10
Re: Centos 7 VM enter in emergency mode while reboot
Yes as root. See attached image
Re: Centos 7 VM enter in emergency mode while reboot
That makes no sense as I can see from your df output that you are using LVM.
/dev/mapper/cl-root 41G 5.7G 36G 14% /
/dev/mapper/cl-root 41G 5.7G 36G 14% /
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 15
- Joined: 2019/05/07 11:30:10
Re: Centos 7 VM enter in emergency mode while reboot
Hello @TrevorH
U're probably right. i use a same template to build my nodes and when i look in another node that do not crash that is what i see.
I d'ont really know what happen and how to fix it
U're probably right. i use a same template to build my nodes and when i look in another node that do not crash that is what i see.
I d'ont really know what happen and how to fix it
- Attachments
-
- dfh-controller-cut.png (9.42 KiB) Viewed 2551 times
-
- Posts: 15
- Joined: 2019/05/07 11:30:10
Re: Centos 7 VM enter in emergency mode while reboot
I just find that for that two nodes there was an error in /etc/lvm/lvm.conf. The filter was set like this ..
Maybe this that create all that error! i comment the filter but pvs, lvs and vgs still show nothing!!
Code: Select all
filter = [ "r/.*/" ]
Re: Centos 7 VM enter in emergency mode while reboot
The default file we ship contains no filer line at all (except commented examples)
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 15
- Joined: 2019/05/07 11:30:10
Re: Centos 7 VM enter in emergency mode while reboot
Hello, any help how to correct these issues? @TrevorH
Re: Centos 7 VM enter in emergency mode while reboot
I don't know what your problem is, but it may help if you
from "another node" post the output from this (running as root):
fdisk -l
pvs
vgs
lvs
from "another node" post the output from this (running as root):
fdisk -l
pvs
vgs
lvs
-
- Posts: 15
- Joined: 2019/05/07 11:30:10
Re: Centos 7 VM enter in emergency mode while reboot
@tunk
Please look at the attachments.
Can i try to mount to mount /home to /dev/mapper/cl-home with this command
will i recover all files that was on /home directory?
The other issues is to retrieve all the physycal, logical volumes and volumes group? or how can i rebuild them with some commands?
Thanks.
Please look at the attachments.
Can i try to mount to mount /home to /dev/mapper/cl-home with this command
Code: Select all
mount /dev/mapper/cl-home /home
The other issues is to retrieve all the physycal, logical volumes and volumes group? or how can i rebuild them with some commands?
Thanks.
- Attachments
-
- pvs-vgs-lvs-controller.png (98.25 KiB) Viewed 2465 times
-
- fdisk-controller-cut.png (28 KiB) Viewed 2465 times
-
- dfh-controller-cut.png (9.42 KiB) Viewed 2465 times
-
- Posts: 15
- Joined: 2019/05/07 11:30:10
Re: Centos 7 VM enter in emergency mode while reboot
Hello,
Any help in the forum? Thanks
Any help in the forum? Thanks
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: Centos 7 VM enter in emergency mode while reboot
It seems you need some clarification about LVM.
Each PV contqins the VG metadata (can be seen with strings /dev/mypv) and once 'pvs'/'vgs'/'lvs' is run - all disks are scanned and data is cached.
In order to restore your VG (I haven't checked all the previous comments and/or attachments) you just need all your PVs to be available.
Before you try to mount your home run:
If nothing comes, try to mount:
And your entry in fstab will be read and your /home mounted.
Each PV contqins the VG metadata (can be seen with strings /dev/mypv) and once 'pvs'/'vgs'/'lvs' is run - all disks are scanned and data is cached.
In order to restore your VG (I haven't checked all the previous comments and/or attachments) you just need all your PVs to be available.
Before you try to mount your home run:
Code: Select all
findmnt /home
Code: Select all
mount /home