<---- template headericclude ----->
CIFS unmount / shutdown problems
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 10 of 10

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Age
    54
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CIFS unmount / shutdown problems

    Hi,

    I successfully mount two windows shares during startup with cifs and fstab entry. Works perfectly. But If I do a reboot or a shutdown, the system hangs in th emiddle of the shutdown process with the following message:

    "This utility only unmounts cifs filesystems".

    I had to power off the PC. Any help appreciated! Do you need more information?

    Best regards

    Stefan
    --
    Stefan Gsundbrunn
    C-A-I-R-O Productions Ltd.
    Sales & Project Manager
    Web: http://www.cairo-productions.com
    Mail: s.gsundbrunn@cairo-productions.com

  2. #2
    Jman Guest
    You're sure they're cifs, as opposed to smb? I ask because of the error message.

  3. #3
    Join Date
    Jan 2006
    Age
    54
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What I do is to mount windows shares in the fstab:

    //192.168.1.199/web /mnt/webdev cifs auto,owner,rw,username=stefan,workgroup=nettech,pa ssword=geheim,uid=500,gid=500 0 0
    //192.168.1.11/storage /mnt/storage cifs auto,owner,rw,username=stefan,workgroup=nettech,pa ssword=geheim,uid=500,gid=500 0 0

    and then - during the shutdown - the above mentioned error occurs every time. Its a litte annoying and - I guess - critical, as i have to power off the pc manually. The system hangs while showing this error. I cannot send a kill or break or whatever.

    Best regards

    Stefan
    --
    Stefan Gsundbrunn
    C-A-I-R-O Productions Ltd.
    Sales & Project Manager
    Web: http://www.cairo-productions.com
    Mail: s.gsundbrunn@cairo-productions.com

  4. #4
    Join Date
    Jan 2006
    Age
    54
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Strange for me to see this:

    [root@licdev01 stefan]# mount
    //192.168.1.11/storage on /mnt/storage type cifs (rw,mand,nosuid,nodev)

    And then:
    (rw,fd=4,pgrp=1889,minproto=2,maxproto=4)[root@licdev01 stefan]# umount /mnt/storage
    This utility only unmounts cifs filesystems.
    This utility only unmounts cifs filesystems.

    ???? Thats what i really donīt understand - the system says, that the mounted share is type=cifs, but if I try to unmount it, I got the message that only cifs filesystems can be unmounted.

    Need help please :-)

    Regards

    Stefan
    --
    Stefan Gsundbrunn
    C-A-I-R-O Productions Ltd.
    Sales & Project Manager
    Web: http://www.cairo-productions.com
    Mail: s.gsundbrunn@cairo-productions.com

  5. #5
    gaptag Guest
    Gsundbrunn, I'm having *exactly* the same problem!! If I check 'mount' it shows my remote drive mounted as type "cifs", yet when I shutdown or run umount on the mountpoint then it complains that it can only unmount cifs!?!?

    The exact same config worked fine in FC4.

  6. #6
    Join Date
    Jan 2006
    Age
    54
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Seems to be a Bug....
    --
    Stefan Gsundbrunn
    C-A-I-R-O Productions Ltd.
    Sales & Project Manager
    Web: http://www.cairo-productions.com
    Mail: s.gsundbrunn@cairo-productions.com

  7. #7
    gaptag Guest
    Stefan, I got thinking about it and on a hunch I disabled SELinux. Lo-and-behold, no problems now. I put SELinux back into permissive mode instead of enforced and I can still mount/unmount no problems, but can see in /var/log/audit/audit.log that selinux is complaining about some kind of permissions for umount.

    I checked my mount point with ls -lZ and it showed the context as system_u:object_r:cifs_t which means little to me, even after my Redhat training! But it looks like the directory has the right context, so I'm guessing its something to do with umount.cifs's security context.

  8. #8
    sirkware Guest
    Got the same problem too. Because smbfs is not supported on rawhide, I have read here in fedoraforum to use cifs instead to mount samba shared directories. The mounting has no problem, the unmounting has. Unlike stefan, I dont power-off my laptop when I shutdown. After a couple of minutes waiting on the error of unmounting the cifs filesystem (I think it is waiting for some timeout to occur before continuing), the shutdown goes on smoothly.

  9. #9
    Join Date
    Jan 2006
    Age
    54
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Gaptag!

    Changing SELinux to permissive mode fixed my problems here as I can currently see. "Umount" and "mount" work perfectly now... I wait for the next restart to ckeck the rest.

    Thanks a lot!

    Regards

    Stefan
    --
    Stefan Gsundbrunn
    C-A-I-R-O Productions Ltd.
    Sales & Project Manager
    Web: http://www.cairo-productions.com
    Mail: s.gsundbrunn@cairo-productions.com

  10. #10
    Join Date
    Jan 2006
    Age
    54
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just a quick update - everything works really fine - even the restarts are running well.

    Thanks again.

    Regards

    Stefan
    --
    Stefan Gsundbrunn
    C-A-I-R-O Productions Ltd.
    Sales & Project Manager
    Web: http://www.cairo-productions.com
    Mail: s.gsundbrunn@cairo-productions.com

Similar Threads

  1. Problems mounting windows share with cifs!
    By pctech360 in forum Servers & Networking
    Replies: 3
    Last Post: 11th February 2009, 01:30 PM
  2. mount.cifs - uid problems on the clients
    By dr j in forum Servers & Networking
    Replies: 9
    Last Post: 16th September 2006, 06:27 PM
  3. umount cifs problems
    By vk3jma in forum Servers & Networking
    Replies: 0
    Last Post: 14th June 2006, 01:59 AM
  4. CIFS and fstab problems
    By Gsundbrunn in forum Fedora Core 5 - Dev
    Replies: 3
    Last Post: 14th April 2006, 12:11 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]