Find the answer to your Linux question:
Results 1 to 6 of 6
Hi everyone I have a question on Samba mount. I have configured /etc/samba/smb.conf on Samba server. Then, I go to samba client and type the command: smbclient -L 10.0.51.1 Type ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    14

    problem with smbmount, please help me


    Hi everyone

    I have a question on Samba mount. I have configured /etc/samba/smb.conf on Samba server. Then, I go to samba client and type the command:

    smbclient -L 10.0.51.1

    Type password for root, and It displays:

    Domain=[LABRAT] OS=[Unix] Server=[Samba 3.2.5]

    Sharename Type Comment
    --------- ---- -------
    homes Disk Home Directories
    print$ Disk Printer Drivers
    IPC$ IPC IPC Service (labrat server)
    root Disk Home Directories
    Domain=[LABRAT] OS=[Unix] Server=[Samba 3.2.5]

    Server Comment
    --------- -------

    Workgroup Master
    --------- -------
    WORKGROUP
    However when I try to mount
    smbmount //10.0.51.1/homes /mnt -o username=testuser1,password=my password

    It displays the error: mount error: mount point /mnt does not exist

    I don't know what happen. Please help me. I am looking forward to your reply. Thank you

  2. #2
    Linux Engineer Kloschüssel's Avatar
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    773
    have you checked if the folder /mnt does exist?

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    14
    Quote Originally Posted by Kloschüssel View Post
    have you checked if the folder /mnt does exist?

    Thanks a lot, I have solved it. It was because I didn't unmount /mnt

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer Kloschüssel's Avatar
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    773
    Actually, it is recommended to create a subdirectory within /mnt where you mount things.

  6. #5
    Just Joined!
    Join Date
    Sep 2010
    Posts
    14
    Quote Originally Posted by Kloschüssel View Post
    Actually, it is recommended to create a subdirectory within /mnt where you mount things.
    Could you please tell me the reason?

  7. #6
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,425
    To have more than one mount, and also a more precise naming.

    e.g.: What if you wanted to mount two shares?
    You must always face the curtain with a bow.

Posting Permissions

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