<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000066">
<small>You can try using CIFS:<br>
</small>
<blockquote type="cite"><small><a class="moz-txt-link-abbreviated" href="mailto:jferrando@alcudia:/etc/init.d$">jferrando@alcudia:/etc/init.d$</a> cat
mount_cifs<br>
#!/bin/sh<br>
#<br>
# mount_cifs - Mounts samba filesystems<br>
# Written by Jordi Ferrando <a class="moz-txt-link-abbreviated" href="mailto:jferrando@netplc.com">jferrando@netplc.com</a><br>
# Kubuntu.dapper<br>
  <br>
MOUNT="/bin/mount"<br>
UMOUNT="/bin/umount"<br>
  <br>
start() {<br>
        echo "Start cifs filesystems..."<br>
        mount -t cifs //espada.netplc.com/datos /home/jferrando/cespada
-o credentials=/etc/smbc.jordi,uid=1000,gid=1000,iocharset=utf8<br>
        #echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled<br>
        echo "Cifs client mount end"<br>
}<br>
  <br>
stop() {<br>
        echo "Cifs stop ..."<br>
        $UMOUNT -l /home/jferrando/cespada<br>
        echo "Umounted cifs filesystems"<br>
}<br>
  <br>
status() {<br>
        echo "Cifs file systems ..."<br>
        df<br>
}<br>
  <br>
restart() {<br>
        echo "restart ..."<br>
        stop<br>
        start<br>
}<br>
  <br>
reload() {<br>
        echo "start ..."<br>
        stop<br>
        start<br>
}<br>
  <br>
force_reload() {<br>
        echo "force-reload ..."<br>
        stop<br>
        start<br>
}<br>
  <br>
case $1 in<br>
        start)<br>
                start<br>
                ;;<br>
        stop)<br>
                stop<br>
                ;;<br>
        status)<br>
                status<br>
                ;;<br>
        restart)<br>
                restart<br>
                ;;<br>
        reload)<br>
                reload<br>
                ;;<br>
        force-reload)<br>
                force_reload<br>
                ;;<br>
        *)<br>
        echo "Usage: mount_cifs
{start|stop|restart|reload|force-reload|status}"<br>
        ;;<br>
esac<br>
  <br>
exit 0</small></blockquote>
<small><br>
<br>
Richard S. Crawford escribió:</small>
<blockquote cite="mid200611101732.42623.rscrawford@mossroot.com"
 type="cite">
  <pre wrap="">This is extremely annoying, all the more so because it is a brand new behavior 
in a system that was working fine until today.

I have a couple of remote drives that I connect to via Samba.  Here are the 
lines from my /etc/fstab file:

//Hagrid/richard        /home/richard/Hagrid    smbfs   
uid=richard,gid=richard,username=richard,password=******        0       0
//Hagrid/our_music      /home/richard/Music     smbfs   
uid=richard,gid=richard,username=richard,password=******        0       0
//Hagrid/shared_files   /home/richard/Shared    smbfs   
uid=richard,gid=richard,username=richard,password=******        0       0       

For some reason, these shares do not mount automatically on boot.  Usually I 
end up executing:

$ sudo mount -a

from a terminal after starting up the computer, which I don't mind doing.

Today, however, things have started to go wrong.  About a minute or so after I 
execute the mount -a command, my home directory becomes unavailable, as do 
the mounted Samba shares beneath it.  If I try:

$ ls

from in my root directory, it just hangs. And hangs and hangs and hangs.  I 
can stop the process with ^c, but that seems pointless.  I also cannot browse 
the mounted shares.

If I execute:

$ sudo umount -a

Then I can browse my home directory just fine.

I've tried restarting the Samba server (which runs Fedora Core 3), I've tried 
rebooting my desktop computer, I've tried rebooting both computers, I've 
tried disabling and re-enabling IPv6 in my computer, but nothing has helped.

Anyone got any ideas?


  </pre>
</blockquote>
<br>
</body>
</html>