Page 1 of 2

centOS 7 hung at "Starting Plymouth switch root service"

Posted: 2018/08/13 06:06:18
by hema.arun
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?

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

Posted: 2018/08/14 12:07:58
by hema.arun
Any help on this?

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

Posted: 2018/08/14 12:50:56
by TrevorH
Remove rhgb quiet from the kernel command line so you can see what's going on.

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

Posted: 2018/09/09 11:27:43
by hema.arun
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

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

Posted: 2018/09/09 17:37:29
by TrevorH
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?

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

Posted: 2018/09/10 05:10:57
by hema.arun
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.

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

Posted: 2018/09/11 05:24:24
by hunter86_bg
When you uncomment the two entries and run 'mount -vva' is it mounting correctly?

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

Posted: 2018/09/11 11:07:00
by hema.arun
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.

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

Posted: 2018/09/11 15:05:25
by TrevorH
And what do you fstab entries look like exactly?

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

Posted: 2018/09/12 07:19:50
by hema.arun
//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