Page 9 of 21 FirstFirst ... 789101119 ... LastLast
Results 81 to 90 of 207

Thread: how to: automatically umount cifs partitions

  1. #81
    Join Date
    Mar 2005
    Beans
    108

    Re: how to: automatically umount cifs partitions

    Quote Originally Posted by changlinn View Post
    why can't they just put this script in is beyond me.
    Apathy, probably. Ubuntu is waiting for Debian to fix it. Over at Debian, the init guys and cifs guys are blaming eachother, so nothing gets fixed. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=431966

  2. #82
    Join Date
    Sep 2007
    Beans
    25

    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.
    This worked for me in Gutsy, but after an update to Hardy 8.4.1 it broken again. The links are still there in rc0.d and rc6.d. Any ideas?

  3. #83
    Join Date
    Oct 2008
    Beans
    1

    Re: how to: automatically umount cifs partitions

    Script worked first time. No more hang ups or delays on shuting down. Thanks

  4. #84
    Join Date
    Jun 2008
    Beans
    1

    Re: how to: automatically umount cifs partitions

    The script worked perfectly the first time.

    Thank you very much !

  5. #85
    Join Date
    Oct 2008
    Beans
    1

    Re: how to: automatically umount cifs partitions

    it sucks to register.. took me >5 minutes to complete everything.. hope it works.

  6. #86
    Join Date
    Aug 2005
    Location
    North of the Artic
    Beans
    85
    Distro
    Ubuntu Intrepid Ibex (testing)

    Re: how to: automatically umount cifs partitions

    Thanks

    I forgot that love existed - Van Morrison

  7. #87
    Join Date
    Jan 2008
    Location
    Auckland, New Zealand
    Beans
    3,129
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: how to: automatically umount cifs partitions

    Quote Originally Posted by rwabel View Post
    since I did a clean 8.10 installation, I no longer suffer from this issue
    I'm still having this problem with 8.10 (clean install).

  8. #88
    Join Date
    Jan 2008
    Beans
    1

    Re: how to: automatically umount cifs partitions

    My laptop connected to the router by WI-FI. I was trying fix from this thread, but error stil there.
    I change priority to
    Code:
    K01umountnfs
    K02kdm
    but it's not working too. Think that KNetworkManager was closed before shutdown scripts runs.
    Any solutions are welcome

    my version: kubuntu 8.10
    Last edited by Loki3000; November 10th, 2008 at 12:21 PM.

  9. #89
    Join Date
    May 2007
    Beans
    880
    Distro
    Ubuntu Development Release

    Re: how to: automatically umount cifs partitions

    Quote Originally Posted by ad_267 View Post
    I'm still having this problem with 8.10 (clean install).
    +1

    I had fixed this with a script in Hardy, but I'd rather do it the "right" way now.

  10. #90
    Join Date
    Nov 2008
    Location
    Western NC
    Beans
    6
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: how to: automatically umount cifs partitions

    The script worked great for me as well. Thanks! (Great instructions too.)

Page 9 of 21 FirstFirst ... 789101119 ... 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
  •