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

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

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

Post by rohan7 » 2019/11/13 12:08:05

So I just restarted my server and it does not boot into CentOS any more. When I press esc I see the below message,
Image

I tried to edit the boot options using

Code: Select all

systemd.unit=rescue.target
during GRUB boot screen but the machine does not boot into rescue mode. I tried other kernel versions from the GRUB boot screen but I get the same error as above. However, I can only get into the emergency mode (not rescue mode) using 6th options from below,

Image

Below is the boot options from GRUB boot screen and I cannot see

Code: Select all

systemd.unit=rescue.target
anymore when reboot (physically) the server.

Image

How do I fix this issue please?
Attachments
IMG_1825.jpg
IMG_1825.jpg (67.82 KiB) Viewed 361 times
IMG_1824 (1).jpg
IMG_1824 (1).jpg (75.73 KiB) Viewed 365 times
IMG_1820 (1).JPG
IMG_1820 (1).JPG (90.38 KiB) Viewed 365 times
Last edited by rohan7 on 2019/11/13 12:17:13, edited 1 time in total.

User avatar
TrevorH
Forum Moderator
Posts: 27426
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 12:15:42

So you can boot the rescue kernel ok?

Given the age of the rest of the kernels in your list it is apparent that you do not run yum update often enough. The 3.10.0-514 series of kernels belongs to CentOS 7.3 which came out in Nov 2016 - over 3 years ago.

I would recommend that you boot the rescue kernel and run yum update ASAP to not only get up to date with the missing 3 years of security patches but also to install a new kernel which will in turn build a new initramfs file tailored for the current hardware configuration of your machine. Then you can reboot into the new kernel and have a system that is at least up to date!
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

rohan7
Posts: 14
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 12:31:23

Using the rescue kernel, the system gets booted into emergency mode rather than rescue mode and I cannot run yum update and yum cannot be found.

Please see screenshot below of the emergency mode,
Image
Attachments
IMG_1827.jpg
IMG_1827.jpg (75.8 KiB) Viewed 360 times

rohan7
Posts: 14
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 13:11:37

Is there any hope in getting the server up and running? Anything I can do to fix this please?

tunk
Posts: 634
Joined: 2017/02/22 15:08:17

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

Post by tunk » 2019/11/13 13:21:29

Does fdisk -l and blkid show anything?

rohan7
Posts: 14
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 13:30:56

Code: Select all

dracut:/# fdisk
sh: fdisk: command not found

Code: Select all

dracut:/# blkid
/dev/sda: TYPE="isw_raid_member"
/dev/sdb: TYPE="isw_raid_member"

rohan7
Posts: 14
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 13:50:42

Within the emergency mode, I cannot see fstab within etc. I am not sure but is this normal?
Image
Attachments
IMG_1828.jpg
IMG_1828.jpg (37.57 KiB) Viewed 341 times

User avatar
TrevorH
Forum Moderator
Posts: 27426
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 13:57:22

/dev/sda: TYPE="isw_raid_member"
/dev/sdb: TYPE="isw_raid_member"
Oh, FakeRAID :(
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

rohan7
Posts: 14
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:01:53

uhm, sorry Trevor, not sure what that means. Is the issue related to RAID?

User avatar
TrevorH
Forum Moderator
Posts: 27426
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:16:25

What it means for me is that FakeRAID is rubbish and breaks at random times with exactly this sort of error. Last time I saw something like this, someone had had to rebuild the array and as part of that it helpfully renamed the array name that was buried in /etc/fstab and thus despite it being exactly the same RAID array, only rebuilt by replacing *one* disk, it renamed the entire array and made it look like a completely different one.

Sorry, but I don't know enough about FakeRAID to help you more. If this was my system I would back up all data, disable FakeRAID, remove the FakeRAID metadata from all the disks and then set up the entire system from scratch again using Linux software RAID instead then restore your data.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - General Support”