Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Sharing issue once client reboots

Sharing issue once client reboots

Sharing issue once client reboots

Hi there.

Heres a bit of background info:

I've got a linux server running Ubuntu, and a windows 2000 client pc.

Ive made a folder on the windows 2000 client pc and have shared that, and have then done the following in my terminal:

sudo smbmount //newit/sharetest /home/newit -o username=administrator,password=pass,dmask=777,fma sk=777,rw

which worked fine, and basically /home/newit takes me to the client C:\sharetest which is perfect.

All was going well until this morning.

I ssh'd to my linux server, went to /home and performed a "ls"

this took AGES...

I then connected via another client using winscp to my linux server, I can navigate to any directory fine, but as soon as I goto the /home directory I get:

says Host has not answered for more than 15 seconds. Still waiting... followed by: Error listing directory '/home'. and Error changing directory to '/home'.

I know this is because the client(win 2000) pc has been rebooted, as ive just tested this again, but the linux server hasnt been rebooted..

I've got around this issue, well, managed to get it working by doing:

sudo smbumount /home/newit to unmount it, and then remounting it again with the above command, and all is well again, I can do "ls" and its instant, and I can get in the home folder.

Any ideas why this is? or what I can do to stop it? client pcs get turned off each day, and to have this issue every day is going to be a real pain.

Any ideas please?

RE: Sharing issue once client reboots

anyone got any ideas at all? :s

RE: Sharing issue once client reboots

man smbmount would be one.

It also leads you to type man smb.conf

That has a few (actually more than a few) settings, such as a keepalive option and a "reset on zero vc" that you can play with. That is just the first glance. There might be more useful options...

+++ Despite being wrong in every important aspect, that is a very good analogy +++
   Hex (in Darwin's Watch)

RE: Sharing issue once client reboots

I've added reset on zero vc = yes to the /etc/samba/smb.conf file, but it still doesnt seem to keep the share as it should:

Also, is that the right directory, ive also got these listed:


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close