LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-18-2015, 04:46 AM   #1
micha1
LQ Newbie
 
Registered: Feb 2013
Posts: 6

Rep: Reputation: Disabled
unable to unmount cifs filesystems while shutdown


Hello,

I have to configure desktops, which mount samba shares as home drives. If files were used on the samba share, the system is unable to properly shutdown and hangs for minutes with the error : "Unmounting cifs filesystems: umount: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1))"

I suppose it has to do with an update to CentOS 6.6,, especially the new kernel. I have two kernels on my system: a custom configured vanilla kernel 3.4.6 with Xenomai 2.6.3 and the actual CentOS standard kernel. Before my update, this problem did not occur with the CentOS kernels, only with the vanilla kernel.
After the update to CentOS 6.6 the system hangs while shutdown too, if it runs with CentOS kernel.

Last edited by micha1; 02-26-2015 at 08:22 AM.
 
Old 02-19-2015, 02:55 AM   #2
micha1
LQ Newbie
 
Registered: Feb 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
On the CentOS forum I got the advice to mount with autofs instead of pam_mount, because automounter is being shutdown before the network is shut down and so the cifs shares can be properly unmounted.
I mean, the system should shutdown without errors independent of the mount method, but I tried it with autofs. I could not get autofs working to mount samba shares as home drives (with pam_mount it worked well).

auto.master:
/home/people /etc/auto.people

auto.people:
* -fstype=cifs,username=& ://filer.hs-harz.de/&

/var/log/messages:
Feb 26 15:16:00 buslab1 kernel: Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
Feb 26 15:16:00 buslab1 kernel: CIFS VFS: Send error in SessSetup = -13
Feb 26 15:16:00 buslab1 kernel: CIFS VFS: cifs_mount failed w/return code = -13
(User authentication occurs with ldap.)

So what to do? Now I have 2 problems.

Last edited by micha1; 02-26-2015 at 08:38 AM.
 
Old 02-26-2015, 02:56 PM   #3
micha1
LQ Newbie
 
Registered: Feb 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
nobody an idea?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Filesystems supported by the kernel (/proc/filesystems) gacanepa Linux - Newbie 5 08-22-2013 02:15 PM
Reboot harms hard drive after self compiled kernel... no unmount at shutdown? Pfirti Debian 4 10-26-2012 12:52 AM
Missing unmount and unmount.cifs johnmccarthy Linux - Newbie 3 11-19-2011 07:01 AM
Vanilla kernel config gives kernel panic: Unable to find VolGroup0 bbcannon Linux - Newbie 1 09-24-2008 03:48 AM
Fedora 9 shuts down network before CIFS unmount saravkrish Fedora 1 06-17-2008 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration