Re: Mounting network smb server

From: Chris Cox (ccox_nopenotthis_at_airmail.net)
Date: 11/14/05


Date: Sun, 13 Nov 2005 21:09:10 -0600

Lars Kellogg-Stedman wrote:
>>subnet). I can ftp to the NAS box OK,but can't get the syntax right for a
>>mount command.Do I need to specify the device first before I try to mount
>>the file system, or can I mount it by IP?
>
> If you're mounting a network filesystem like smb, there is no "device".
>
> Before you try mounting it, make sure you can actually access it via smb by
> using the 'smbclient' command:
>
> smbclient //server/share -U username
>
> If this works, you'll get an ftp-like interface to the share. If this
> doesn't work, you'll want to get it working before you try to get the mount
> working.
>
> To mount the device, you can try something like this:
>
> mount -t smbfs -o username=foo,password=bar \
> //server/share /local/directory
>
> See the 'smbmount' man page for more information. If you're still having
> problems, it would help us help you if you were to post the commands you're
> actually trying to use.

Alternatively, if this is running a new enough samba, you can
use cifs.mount instead of smbmount. I found it was necessary with
our W2K3 servers.



Relevant Pages

  • RE: Machine not Booting - Continued
    ... mkraid command and the mount command in the script as you suggested (in no ... Otherwise specify the same mkraid and mount command in /etc/rc.local. ... it has no proper file system to mount. ...
    (RedHat)
  • Re: [SLE] Still cannot update beyond original KDE3.3--Exhausted and Depressed
    ... Open Yast, Click on Software, ... to attach the contents of the disks to the existing filesystem. ... mount point is the directory in the filesystem you will attach those ... > Like perhaps give the the exact command and where to ...
    (SuSE)
  • RE: Machine not Booting - Continued
    ... with out the fstab /dev/md0 hashed out. ... have u tried to use the mount ... command to fix bad blocks like you suggested or has this done it already. ... within the Corus group of companies, ...
    (RedHat)
  • RE: Machine not Booting - Continued
    ... The entry in the fstab is now hashed ... command to fix bad blocks like you suggested or has this done it already. ... The error seems like its able to mount the partition but is not able to ... within the Corus group of companies, ...
    (RedHat)
  • Re: Cannot mount cdrom? Pls help
    ... >> internal IDE CDROM drive in question? ... Command line mounts work. ... > New fstab entry did not enable nautilus to mount the CD. ...
    (linux.redhat.misc)