centOS 7 hung at "Starting Plymouth switch root service"

General support questions
hema.arun
Posts: 19
Joined: 2017/02/06 11:56:26

centOS 7 hung at "Starting Plymouth switch root service"

Post by hema.arun » 2018/08/13 06:06:18

Server is CentOS 7.4.1708 on latest kernel 3.10.0-862.9.1.el7. Server has two CIFS shares mounted on /var/www/html/sirs/files/ and /var/www/html/sirs/files/. Mount options are as below in fstab file:

Code: Select all

//storagename/folder /var/www/html/sirs/files/ cifs credentials=/root/credentials,x-systemd.automount,x-systemd.device-timeout=20,_netdev,noserverino,noperm,sec=ntlmssp,vers=3.0  0 0
//storagename/folder /var/www/html/sirsuat/files/ cifs credentials=/root/credentials,x-systemd.automount,x-systemd.device-timeout=20,_netdev,noserverino,noperm,sec=ntlmssp,vers=3.0  0 0

When rebooting the server, it is hung with below message for hours. This is a virtual machine on HyperV and I have console access to it:

Code: Select all

Starting Plymouth switch root service
To solve the issue, I had to access the server in single user mode and comment out the fstab entries for the CIFS shares and reboot it.

I checked the logs, but no such errors shows up which can be related to plymouth or CIFS. I commented each share at a time and still the issue persist.
Any known issue or clues to this?

hema.arun
Posts: 19
Joined: 2017/02/06 11:56:26

Re: centOS 7 hung at "Starting Plymouth switch root service"

Post by hema.arun » 2018/08/14 12:07:58

Any help on this?

User avatar
TrevorH
Forum Moderator
Posts: 29085
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: centOS 7 hung at "Starting Plymouth switch root service"

Post by TrevorH » 2018/08/14 12:50:56

Remove rhgb quiet from the kernel command line so you can see what's going on.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

hema.arun
Posts: 19
Joined: 2017/02/06 11:56:26

Re: centOS 7 hung at "Starting Plymouth switch root service"

Post by hema.arun » 2018/09/09 11:27:43

TrevorH wrote:
2018/08/14 12:50:56
Remove rhgb quiet from the kernel command line so you can see what's going on.
As the attached image is the logs in console I get when "rhgb quiet" parameter is removed from kernel line
Attachments
cifserror1.png
cifserror1.png (85.52 KiB) Viewed 6004 times

User avatar
TrevorH
Forum Moderator
Posts: 29085
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: centOS 7 hung at "Starting Plymouth switch root service"

Post by TrevorH » 2018/09/09 17:37:29

Are you saying it does this only when one or other or both of the two cifs shares are listed in /etc/fstab? Or does the issue still occur even when both are commented?
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

hema.arun
Posts: 19
Joined: 2017/02/06 11:56:26

Re: centOS 7 hung at "Starting Plymouth switch root service"

Post by hema.arun » 2018/09/10 05:10:57

TrevorH wrote:
2018/09/09 17:37:29
Are you saying it does this only when one or other or both of the two cifs shares are listed in /etc/fstab? Or does the issue still occur even when both are commented?
The issue occur only when CIFS shares are not commented in fstab file.
To boot the server up, I login to single user mode and comment the lines in fstab file and start VM. Then mount it manually.

hunter86_bg
Posts: 2016
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: centOS 7 hung at "Starting Plymouth switch root service"

Post by hunter86_bg » 2018/09/11 05:24:24

When you uncomment the two entries and run 'mount -vva' is it mounting correctly?

hema.arun
Posts: 19
Joined: 2017/02/06 11:56:26

Re: centOS 7 hung at "Starting Plymouth switch root service"

Post by hema.arun » 2018/09/11 11:07:00

hunter86_bg wrote:
2018/09/11 05:24:24
When you uncomment the two entries and run 'mount -vva' is it mounting correctly?
Yes, once server is started, I can mount shares with mount -vva.

User avatar
TrevorH
Forum Moderator
Posts: 29085
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: centOS 7 hung at "Starting Plymouth switch root service"

Post by TrevorH » 2018/09/11 15:05:25

And what do you fstab entries look like exactly?
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

hema.arun
Posts: 19
Joined: 2017/02/06 11:56:26

Re: centOS 7 hung at "Starting Plymouth switch root service"

Post by hema.arun » 2018/09/12 07:19:50

//server/FILES /var/www/html/sirs/files/ cifs credentials=/root/credentials,x-systemd.automount,x-systemd.device-timeout=120,_netdev,noserverino,noperm,sec=ntlmssp,vers=3.0 0 0
//server/FILES /var/www/html/sirsuat/files/ cifs credentials=/root/credentials,x-systemd.automount,x-systemd.device-timeout=120,_netdev,noserverino,noperm,sec=ntlmssp,vers=3.0 0 0

Post Reply

Return to “CentOS 7 - General Support”