Results 1 to 8 of 8

Thread: smbmount suddenly stopped working.

  1. #1
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default smbmount suddenly stopped working.

    I have set to mount some remote ntfs drives automatically on booting up using smbfstab. This has been working fine for weeks.

    Yesterday and today when booting up, the drives were not mounted. It tried mounting them from CLI but get a message back saying smbmount command could not be found.

    What's going on? smbfs service is running as is samba client as I can browse the drives through the network.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,695
    Blog Entries
    1

    Default Re: smbmount suddenly stopped working.

    Have a read of this guide:

    Samba: HowTo Mount a CIFS Network Share [AKA Map Network Drive] in openSUSE 10 & 11 plus FAQs

    Maybe you're using a deprecated samba file system command. Sorry in advance if I'm on the wrong track here.

  3. #3
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,728
    Blog Entries
    2

    Default Re: smbmount suddenly stopped working.

    Quote Originally Posted by suse_tpx60s View Post
    I have set to mount some remote ntfs drives automatically on booting up using smbfstab. This has been working fine for weeks.

    Yesterday and today when booting up, the drives were not mounted. It tried mounting them from CLI but get a message back saying smbmount command could not be found.

    What's going on? smbfs service is running as is samba client as I can browse the drives through the network.
    What are the line/s in smbfstab that used to mount the drives?
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  4. #4
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: smbmount suddenly stopped working.

    Well after about an hour the remote drives suddenly became available. I don't know what happened. Perhaps the network wasn't up properly at the time the mount was attempted.

    I have now added the _netdev option to delay the mount attempt in case the network is not up properly before the mount is attempted and will see what happens.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  5. #5
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: smbmount suddenly stopped working.

    Quote Originally Posted by swerdna View Post
    What are the line/s in smbfstab that used to mount the drives?
    It was:
    Code:
    //192.168.1.11/Data\ I            /windows/DataI       cifs    username=user\040name,password=password,_netdev,uid=1000,gid=100,umask=0022
    
    //192.168.1.11/Data\ II           /windows/DataII      cifs    username=user\040name,password=password,_netdev,uid=1000,gid=100,umask=0022
    Now changed to: (which includes the _netdev)
    Code:
    //192.168.1.11/Data\ I            /windows/DataI       cifs    username=user\040name,password=password,_netdev,uid=1000,gid=100,umask=0022
    
    //192.168.1.11/Data\ II           /windows/DataII      cifs    username=user\040name,password=password,_netdev,uid=1000,gid=100,umask=0022
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  6. #6
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: smbmount suddenly stopped working.

    OK, I just rebooted and the smb mounts are not happening again. I checked the smbfs service and it's running although it has an asterisk next to it (i.e. YES*) . Does that mean anything?

    I don't remember doing anything that will have affected the smb mounts.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  7. #7
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,728
    Blog Entries
    2

    Default Re: smbmount suddenly stopped working.

    Quote Originally Posted by suse_tpx60s View Post
    OK, I just rebooted and the smb mounts are not happening again. I checked the smbfs service and it's running although it has an asterisk next to it (i.e. YES*) . Does that mean anything?

    I don't remember doing anything that will have affected the smb mounts.
    Yes means it's set to run and is running. Yes* means it's set to run but it isn't running.

    I can't get smbfs to run in my openSUSE. It's a bug and you should report it as a failure of smbfs in Yast's runlevel widget.

    The workaround is described in the tutorial deano_ferrari listed for you. When the cifs mounting software is broken in openSUSE, you can put the lines you quoted into fstab and run the command "mount -a" (as root) about 10 seconds after the computer boots by putting the command into a root crontable.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  8. #8
    Join Date
    May 2009
    Location
    US
    Posts
    867

    Default Re: smbmount suddenly stopped working.

    OK, I'll try that. Strange it has been working so well before though.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

Posting Permissions

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