Results 1 to 5 of 5

Thread: can browse to samba shares but can;t mount them

  1. #1
    Member registered user
    Join Date
    Jul 2003
    Posts
    41

    can browse to samba shares but can;t mount them

    I ran into an interesting problem tonight. I have two linux machines on my network, one that I successfully set up as a samba file server, the other which I want to use as a client able to mount entire drives and their dubdirectories from the samba server.

    The client machine can browse to the samba share fine in Konqueror using the stntax smb://192.168.0.19/hdb1

    (192.168.0.19 being the samba server and hdb1 being one of the dirves on the server I share)

    however things go awry when I try to mount the samba share on my client machine:

    hayabusa@andromeda:~$ sudo mount -t smbfs //192.168.0.19/hdb1 /mnt/smbhdb1
    mount: wrong fs type, bad option, bad superblock on //192.168.0.19/hdb1,
    or too many mounted file systems

    I've created the local m ount ppoint for it as /mnt/smbhdb1 with the following permissions:

    drwxr-xr-x 2 root users 4096 Aug 28 01:08 smbhdb1

    I did some googline on the error message and one site says that the particular error message I get indicates that smbmnt/smbmount are not installed. updating the db and doing a locate on these two files turned up nothing. Further googling leads me to believe that enabling sambafs in the kernel and having the samba-common debian package installed should be enough to mount a samba filesystem, yet my problem persists. I've tried it both with and without username and password (as it stands now it shouldn;t need either to reach the samba share and browsing to it in Konq didn't require a username or password). I cheked lsmod to make sure sambafs is loaded as a module, and it is. Is there something server side I have to do to make a samba share remotely mountable, or is there something glaringly obvious I'm missing on the client machine?

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Do you have the package "smbfs" installed on the client? That's the one that includes smbmount, smbumount, and smbmnt, which should all be in /usr/bin.

    (Debian package smbfs description)

  3. #3
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Samba is not meant for use with two linux machine. It was design to share files between linux and windows.
    For linuxs machine there are several other option you can use, one of them is nfs.
    This link might help you in setting up nfs:
    http://www.linuxhelp.net/guides/nfs/

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    ssh is good (and buiöltin are: scp, sftp) you can use sftp in conqueror (for some reason tat is called fish there)
    Code:
    fish://username@ip.nu.mb.er/
    if you do that you can move files easily between boxes, just have ssh running on both.
    here is a discussion about it.
    http://www.knoppix.net/forum/viewtopic.php?t=8740

  5. #5
    Member registered user
    Join Date
    Jul 2003
    Posts
    41

    samba, nfs, etc

    I started out trying nfs but the limitation I ran into with nfs was that it doesn;t allow you to mount subdirectories easily, from what I remember you have to expicititly state each subdirectory you want and create a seperate mount point for each subdirectory which seemed like a major pain in the ass.

    the client machine is also limitied on space, so ftp isn;t really a good option. Also i don;t want to duplicate the files between machiens.

    the server is in one room with a ton of mp3s and movies on it is varying directories and subdirectories. the client machine is in another room and basically I want to be able to play movies and music on the client machine while the files still reside on the server. after installing smbfs on the client machine Samba seems to adeqautely handle that, giving me the ability to mount an entire drive from the server and browse files in all subdirectories of that drive.

    unless I missed something with nfs being able to handle subdirecty samba seems to eb what I need.

Similar Threads

  1. fixed mount points for nfs shares
    By adotl in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 09-01-2004, 09:50 PM
  2. knoppix and windows shares
    By tsitras in forum Networking
    Replies: 5
    Last Post: 05-21-2004, 11:04 PM
  3. computer browse in domain through konqueror?
    By terminator in forum Networking
    Replies: 0
    Last Post: 05-13-2004, 08:13 PM
  4. Newbie-accessing windows shares
    By usbrit in forum Networking
    Replies: 0
    Last Post: 02-24-2004, 05:26 AM
  5. newbie q.: how to browse the LAN?
    By axeff in forum General Support
    Replies: 3
    Last Post: 03-02-2003, 02:59 AM

Posting Permissions

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


HPE BL460c G10 ProLiant Blade | 2x Silver 4110 | 16GB | P204I | 2x300GB 10KRPM picture

HPE BL460c G10 ProLiant Blade | 2x Silver 4110 | 16GB | P204I | 2x300GB 10KRPM

$1419.00



HPE BL460c G10 ProLiant Blade | 2x Silver 4110 | 32GB | P204I | 2x900GB 10KRPM picture

HPE BL460c G10 ProLiant Blade | 2x Silver 4110 | 32GB | P204I | 2x900GB 10KRPM

$1499.00



HPE BL460c G10 ProLiant Blade | 2x Silver 4114 | 512GB | P204I | 2x1.2TB 10KRPM picture

HPE BL460c G10 ProLiant Blade | 2x Silver 4114 | 512GB | P204I | 2x1.2TB 10KRPM

$2699.00



HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives picture

HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives

$59.98



Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS picture

Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS

$103.99



Dell PowerEdge M630 Blade Server 1x Xeon E5-2630 v4 CPU / Motherboard P/N 0R10KG picture

Dell PowerEdge M630 Blade Server 1x Xeon E5-2630 v4 CPU / Motherboard P/N 0R10KG

$69.99



DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC picture

DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC

$50.00



HP ProLiant BL460c Server Blade (2 x  CPU) 24GB RAM/No Drives  picture

HP ProLiant BL460c Server Blade (2 x CPU) 24GB RAM/No Drives

$45.60



Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W picture

Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W

$399.00



Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric picture

Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric

$139.99