A start job is running for dev-mapper-centos\x2droot.device

General support questions
rohan7
Posts: 15
Joined: 2019/11/13 11:45:34

Re: A start job is running for dev-mapper-centos\x2droot.device

Post by rohan7 » 2019/11/13 14:24:15

Thanks for that info Trevor. So is there no way for me to boot into the system currently and to backup data/config files from it. Rebuilding a server is not an issue but I am wearing thin on time tbh.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: A start job is running for dev-mapper-centos\x2droot.device

Post by TrevorH » 2019/11/13 14:30:07

From emergency mode you should be able to do things like activate LVM VGs and LVs and mount them. If it just the array name that has changed then look in /etc/fstab on the now-mounted filesystem that contains your real /etc and see what it's being told to mount. Also look at your grub.cfg as the name may be in the kernel/initrd lines there too.

I am a bit concerned that your lsblk only seems to list sda and sdb and that they have no partitions on them.
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

rohan7
Posts: 15
Joined: 2019/11/13 11:45:34

Re: A start job is running for dev-mapper-centos\x2droot.device

Post by rohan7 » 2019/11/13 15:10:02

I seem to be at lost. I cant get to grub.cfg file as from emergency mode there is no /boot directory. And there is no fstab in /etc. There is just fstab.empty.

cat /proc/mdstat gives personalities:
unused: <none>

rohan7
Posts: 15
Joined: 2019/11/13 11:45:34

Re: A start job is running for dev-mapper-centos\x2droot.device

Post by rohan7 » 2019/11/13 16:27:31

So I have finally decided to rebuild the server. Thanks for all the help so far.

rohan7
Posts: 15
Joined: 2019/11/13 11:45:34

Re: A start job is running for dev-mapper-centos\x2droot.device

Post by rohan7 » 2019/11/14 09:31:05

UPDATE: Looks like the BIOS defaulted on settings maybe due to a dead motherboard battery? However, changed the BOOT options to RAID and can boot into the OS fine now. Did not have to rebuild the server.
Can mark this topic as solved.


interigi
Posts: 4
Joined: 2019/11/20 13:27:44

Re: A start job is running for dev-mapper-centos\x2droot.device

Post by interigi » 2020/01/09 18:29:05

It turned out only through server recovery?

Post Reply