Page 7 of 21 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 207

Thread: how to: automatically umount cifs partitions

  1. #61
    Join Date
    Mar 2005
    Beans
    108

    Re: how to: automatically umount cifs partitions

    Is there any fundamental mistake I did in the ordering?
    You could try lowering the umountcifs script. Try K15 or K12 or even lower. Eventually it should work when you're low enough.

  2. #62
    Join Date
    Nov 2004
    Location
    Bern, Switzerland
    Beans
    578

    Re: how to: automatically umount cifs partitions

    is k15 or k12 lower than s14?

  3. #63
    Join Date
    Mar 2005
    Beans
    108

    Re: how to: automatically umount cifs partitions

    Yes. First the K scripts are run, then the S scripts are run.

  4. #64
    Join Date
    Nov 2004
    Location
    Bern, Switzerland
    Beans
    578

    Re: how to: automatically umount cifs partitions

    It's strange, I put it as K12 and it's till not working. I can start it manually and then it successfully unmounts the cifs.

    lrwxrwxrwx 1 root root 13 2008-05-21 18:18 K01gdm -> ../init.d/gdm
    lrwxrwxrwx 1 root root 17 2007-01-19 03:20 K01usplash -> ../init.d/usplash
    lrwxrwxrwx 1 root root 22 2008-07-26 14:19 K12umountcifs -> /etc/init.d/umountcifs

    Should I probably put it as K00 ?

  5. #65
    Join Date
    Mar 2005
    Beans
    108

    Re: how to: automatically umount cifs partitions

    Strange... perhaps there is an issue with Upstart running custom init.d scripts? I wrote it on Debian, not Ubuntu. I know that Debian's upcoming new init system needs headers added to init.d scripts.

    Can you check if the script is run at all? Modify it so that it echoes out some crazy statement when run. E.g. add this somewhere at the top:

    echo "LOOK AT ME!!!!!!!!!!!!!!!!!!"

    Run the script manually to confirm that you see that output. Then shut down or reboot and see if you see the string (you may want to disable the boot splash so you can see the messages).

    Alternatively, you could add something like this instead:

    touch /home/rwabel/i-am-touched.txt

    And see if that file exists after the reboot.

    If you see the message (or if the file is created) then at least we know that the script is actually run.

  6. #66
    Join Date
    Nov 2004
    Location
    Bern, Switzerland
    Beans
    578

    Re: how to: automatically umount cifs partitions

    I can confirm that the script has been executet. I saw the message and the file has been created. However, the bad thing is that I got the CIFS error message before.

    I got the CIFS error message and nothing happened, I clicked again on the power off button on my laptop and then I got the message from the script.

    I've tried to use the script as K00, but it didn't help. Is there not a way to have that script executed even earlier?

  7. #67
    Join Date
    Aug 2008
    Beans
    12

    Re: how to: automatically umount cifs partitions

    I report that I have read most of the posts here in this forum concerned about the "CIFS VFS error" and I have NOT been able to get rid of it.

    I switched the S31umountnfs and S40umountfs to K14umountnfs and K14umountfs and nothing changed.

    Also I have read about a file in /etc/init.d called "umountcifs" but in Uubuntu hardy 8.04.1 is not there.

    So meantime until I find a fix, I have disabled the windows mount share in the /etc/fstab file.

    I am using smb4k for now to mount my windows shares until someone fix for good this issue.

  8. #68
    Join Date
    Mar 2005
    Beans
    108

    Re: how to: automatically umount cifs partitions

    umountcifs is a script that I wrote myself. There's a link to it earlier in this thread. Also, you can find it at http://www.jejik.com/articles/2007/0...res_with_cifs/

  9. #69
    Join Date
    Nov 2004
    Location
    Bern, Switzerland
    Beans
    578

    Re: how to: automatically umount cifs partitions

    Quote Originally Posted by rocketero2008 View Post
    I report that I have read most of the posts here in this forum concerned about the "CIFS VFS error" and I have NOT been able to get rid of it.

    I switched the S31umountnfs and S40umountfs to K14umountnfs and K14umountfs and nothing changed.

    Also I have read about a file in /etc/init.d called "umountcifs" but in Uubuntu hardy 8.04.1 is not there.

    So meantime until I find a fix, I have disabled the windows mount share in the /etc/fstab file.

    I am using smb4k for now to mount my windows shares until someone fix for good this issue.
    Does it work if you manually start the script? For me it does, but it doesn't work with the K12 or something like that. It get's started, but it doesn't work.

  10. #70
    Join Date
    Aug 2008
    Beans
    12

    Angry Re: how to: automatically umount cifs partitions

    Quote Originally Posted by rwabel View Post
    Does it work if you manually start the script? For me it does, but it doesn't work with the K12 or something like that. It get's started, but it doesn't work.
    I downloaded the 'umountcifs' script and placed in /etc/init.d and created symlinks in /etc/rc0.d and /etc/rc6.d as K19umountcifs but somehow it DID NOT fix the CIFS VFS problem while restarting ubuntu.

    I don't know if is because I'm using UBUNTU 8.04.1 HARDY as the script was tested on earlier version of Ubuntu.

    I'm still stuck with this error but will keep trying other alternatives

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