Page 11 of 21 FirstFirst ... 910111213 ... LastLast
Results 101 to 110 of 207

Thread: how to: automatically umount cifs partitions

  1. #101
    Join Date
    Dec 2008
    Beans
    1

    Re: how to: automatically umount cifs partitions

    Agreed this bug needs to be fixed but this script worked so well!!! Thanks everyone for posting this much needed help. I used it last night and it doesnt give me any more errors when unmounting my samba drives.

  2. #102
    Join Date
    Jan 2009
    Beans
    1

    Re: how to: automatically umount cifs partitions

    Worked like a charm for me too!

  3. #103
    Join Date
    May 2005
    Beans
    352

    Re: how to: automatically umount cifs partitions

    max, thanks for this. It is too bad that after two years, your fix has not been incorporated. Hopefully, the 8-year-olds will quit bickering and just apply the fix. FWIW, I agree with the developer who said this is not an smbfs problem.

  4. #104
    Join Date
    Jan 2009
    Location
    Grenoble area, France
    Beans
    1
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: how to: automatically umount cifs partitions

    Thanks Max ! it solved my umount cifs hang in 8.10 as well !

    I still think canonical should somehow automate this though.

    Cheers

  5. #105
    Join Date
    Feb 2007
    Location
    Devon, UK
    Beans
    19
    Distro
    Xubuntu 6.10 Edgy

    Re: how to: automatically umount cifs partitions

    worked a treat (in Intrepid)

  6. #106
    Join Date
    Dec 2008
    Beans
    3
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: how to: automatically umount cifs partitions

    Quote Originally Posted by wyley.r View Post
    The following two commands should take care of unmounting Samba shares and other virtual filesystems before a shutdown or reboot. They must be run as root; prefix them with "sudo" if you haven't set up your root account:

    Code:
    ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K15umountnfs.sh
    ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K15umountnfs.sh
    More explanation can be found here:

    Unmount Samba filesystems before shutdown or reboot
    .

    Hopefully, this will avoid the need to download and install a separate script, as some other people have suggested. All the tools you need are already built into the Debian/Ubuntu init system.

    Hi,
    These 2 simple lines worked just so nicely, in my case.....BTW, I had this issue on Intrepid (freshly installed), but not on Hardy(other station)..
    Anyway...now it's fixed. thx for great job, wyley.r.

    david916

  7. #107
    Join Date
    Mar 2009
    Beans
    2

    Re: how to: automatically umount cifs partitions

    The problem is fixed. Oh yeah!! Thanks for sharing....

  8. #108
    Join Date
    Dec 2008
    Location
    Ottawa, Canada
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how to: automatically umount cifs partitions

    Hey guys,
    I tried Max's script recently with no joy... then i found this thread which is a much simpler solution and works perfectly!

    http://blog.avirtualhome.com/2008/03...-cifs-related/

    Enjoy

  9. #109
    Join Date
    Aug 2006
    Beans
    44

    Re: how to: automatically umount cifs partitions

    Worked for me on 8.10, but only after I set umountcifs to K00!

  10. #110
    Join Date
    Mar 2009
    Beans
    4

    Re: how to: automatically umount cifs partitions

    9.04, and it works just swell. I don't suppose I would need this if HFSplus volumes could be shared out over NFS, but they can't. -Something to do with HFSplus not running at the kernel level. Hence smb.

    Anyway thanks from 2009 back to 2006; hacking your system is what Linux is all about! There's no hack like an old hack. etc. etc.
    Last edited by PapaRaven; March 26th, 2009 at 09:29 AM. Reason: ... got the [x]ubuntu version that I'm using wrong.

Page 11 of 21 FirstFirst ... 910111213 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •