Solved

RHEL 5 locks up on CIFS error while shutting down

Posted on 2011-03-24
9
535 Views
Last Modified: 2012-05-11
Hello All

While shutting down / restarting the RHEL 5 server, there is an error/message that comes up:

Unmounting CIFS filesystems: CIFS VFS: No response from cmd 50 mid 22517.

The system locks up for about 15 mins. Any reason and resolution for this problem?

Thanks
Ashish Dugar
0
Comment
Question by:sphaerapharma
  • 6
  • 3
9 Comments
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 35206130
0
 

Author Comment

by:sphaerapharma
ID: 35230398
Any reason why this problem occurs
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 35230420
Simply put: the network is shut down before the unmount is finished. And no network: cannot unmount.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:sphaerapharma
ID: 35230501
Hi Erliebeee, thanks for reasoning out

In any manner can processed be reversed - the network shutdown happening after unmount is finished.

Problem is, I have about 19 mount points defined and it is a pain unmouting those points manually by using umount -l or umount -f command parameters before initiating system shutdown/reboot.

Thanks
Ashish
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 35253822
Looks like this is an issue with the earlier kernel versions (cifs). So if you are able to, a kernel update might solve the issue.
0
 

Author Comment

by:sphaerapharma
ID: 35321482
Hello Erniebeek

The kernel version that is currently installed is 2.6.18-238.5.1.el5xen.

This looks like the current version.

Ashish
0
 

Author Comment

by:sphaerapharma
ID: 35351039
Hi all

Can anyone please help me out on this.

Thanks
Ashish
0
 

Accepted Solution

by:
sphaerapharma earned 0 total points
ID: 35734939
Please check whether the NetworkManager and network service been enabled at startup.

chkconfig | grep -i network

NetworkManager
0:off      1:off      2:off      3:on      4:on      5:on      6:off

network        
0:off      1:off      2:on      3:on      4:on      5:on      6:off


Please disable NetworkManager service at startup using following command

$chkconfig NetworkManager off

Verify using

$chkconfig --list | grep -i network

It should show as given below:

chkconfig --list | grep -i network

NetworkManager
0:off      1:off      2:off      3:off      4:off      5:off       6:off

network
0:off      1:off      2:on      3:on      4:on      5:on      6:off

For testing follow the steps given below

1. service NetworkManager stop

2. service network restart

3."ifconfig" should show NIC is up

4. mount the cifs share

5. shutdown the system and see whether you get the same message.

This should address the issue of CIFS locking up while reboot or shutdown.

Thanks
Ashish
0
 

Author Closing Comment

by:sphaerapharma
ID: 35763273
The exact problem has been pinpointed and resolved.

I unable to find any solution to this problem in any of the previously posted questions in the forum.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As dyndns has reduced the capabilities of the free service, I looked around for other free providers of Dynamic DNS service. After testing several I decided to move my DNS hosting to Hurricane Electric as then domains that require dynamic hostnam…
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question