RHEL 5 locks up on CIFS error while shutting down

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
sphaerapharmaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
sphaerapharmaConnect With a Mentor Author Commented:
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
 
sphaerapharmaAuthor Commented:
Any reason why this problem occurs
0
SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

 
Ernie BeekExpertCommented:
Simply put: the network is shut down before the unmount is finished. And no network: cannot unmount.
0
 
sphaerapharmaAuthor Commented:
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
 
Ernie BeekExpertCommented:
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
 
sphaerapharmaAuthor Commented:
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
 
sphaerapharmaAuthor Commented:
Hi all

Can anyone please help me out on this.

Thanks
Ashish
0
 
sphaerapharmaAuthor Commented:
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
All Courses

From novice to tech pro — start learning today.