SMB problem: mounting a share on gutsy

Derek Broughton news at pointerstop.ca
Fri Dec 7 15:28:18 UTC 2007


D. R. Evans wrote:

> Thanks to everyone who offered assistance.
> 
> For the record:
> 
> The old (dapper) /etc/fstab entry was:
> 
> //hpxp/c   /hpxp/c  smbfs defaults,user,auto,bg,guest,uid=n7dr 0 0
> 
> The new (gutsy) /etc/fstab entry is:
> 
> //192.168.0.244/C   /hpxp/c  cifs
> defaults,user,guest,uid=n7dr,username=N7DR 0 0
> 
> I have no idea why it seems not to be possible to use a name instead of an
> address for the remote computer, but that does seem to be the case.
> 
> Also, the "auto" capability does not seem to work, and has to be replaced
> with "mount -a" in /etc/rc.local. I am not certain whether this is a bug
> or whether cifs is simply not supposed to support the auto option for some
> reason.

In both cases I would suspect it's because the network isn't up at the time
that the automount tries to occur (or in the first, perhaps the network is
up but nmbd isn't yet).  /etc/network/if-up.d/mountnfs (from initscripts) -
appears to be used for smbfs/cifs (and numerous other network filesystems),
not just for NFS and should be handling this.
-- 
derek





More information about the kubuntu-users mailing list