Results 1 to 3 of 3

Thread: How to mount smb share in linunx with hostname.

  1. #1
    Junior Member
    Join Date
    Feb 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default How to mount smb share in linunx with hostname.

    Hi,

    I am trying to mount the samba share in one of linux box using with hostname. it is not mounting, giving Input/Output error.


    same samba share is working, when i use the IP Address.


    With hostname it is not working, with IP Address it is working


    please any one help on this



    Thanks in advance
    Satya

  2. #2
    Senior Member Rahul.Patil's Avatar
    Join Date
    Feb 2012
    Location
    Mumbai india
    Posts
    447
    Thanks
    10
    Thanked 46 Times in 43 Posts
    Rep Power
    6

    Default

    You can use
    Code:
    nmblookup -A IPADDRESS
    to find netbios name and same can be use to mount or you can configure "/etc/hosts" file to access that server using hostname.
    Rahul Patil <http://www.linuxian.com>

  3. #3
    Junior Member
    Join Date
    Feb 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default How to mount smb share in linunx with hostname.

    Thank you so much per respond.

    Below is the output of above command.

    Looking up status of x.x.x.x
    US <00> - <GROUP> B <ACTIVE>
    SWUSTP20 <00> - B <ACTIVE>
    SWUSTP20 <20> - B <ACTIVE>


    MAC Address = x-x-x-x-x-x



    and when i tried to mount i am getting the below error.

    mount error 5 = Input/output error
    Refer to the mount.cifs( manual page (e.g.man mount.cifs)
    You have new mail in /var/spool/mail/root



    Thanks,
    Satya

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Solved] Linux: NFS4 client unable to mount share
    By t0kneneng in forum File Servers
    Replies: 21
    Last Post: 12th April 2012, 11:19 AM
  2. Can't mount NFS4 share
    By scott8035 in forum CentOS / RHEL / Fedora
    Replies: 2
    Last Post: 30th November 2011, 11:14 PM
  3. Linux Mount CIFS shares that contain spaces in their share name
    By stanners in forum Computer Networking and Internet/broadband
    Replies: 1
    Last Post: 12th March 2009, 08:16 PM
  4. Automatic Mount of Windows Share
    By bayvista in forum Networking, Firewalls and Security
    Replies: 0
    Last Post: 21st February 2008, 11:07 AM
  5. Linux Shell script to mount remote windows share
    By angelus_kit in forum Shell scripting
    Replies: 2
    Last Post: 6th September 2007, 07:18 PM

Tags for this Thread

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41