Find the answer to your Linux question:
Results 1 to 5 of 5
I am trying to figure out how to mount a networked hard drive. My roomate just got a cool small case that makes it so we can network two hard ...
  1. #1
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958

    mounting networked hard drive?

    I am trying to figure out how to mount a networked hard drive. My roomate just got a cool small case that makes it so we can network two hard drives to our network in our place. I can see and change files in the drive. What I want to do now is be able to make a symbolic link to the networked drive on my Desktop but from my understanding I have to do something special to mount it before being able to make a link to it. Here is the path to the drive:

    smb://dns-323/Volume_1

    If someone could give me the terminal command(s) that would be great. Thanks

    Oh yeah...I want to mount it to /media/server

  2. #2
    Linux Newbie sdimhoff's Avatar
    Join Date
    Jan 2007
    Posts
    191
    Depending on your setup you can just use smbmount. smbmount essentially calls mount with type smbfs. If you man smbmount and scroll to the bottom there is an example which shows:

    mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test

    or in your case


    mount -t smbfs -o username=jmadero,password=foobar //dns-323/Volume_1 /media/server

    In your post you mention smb://. This comes from using konqueror where you use that to access an smb share. This also brings up a very reasonable option of using knetattach (kde utility) to do the mounting if things don't seem to be working out.

  3. #3
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958

    couple more questions?

    You said the smb comes from using konqueror? I'm not sure what that means exactly (networking really isn't my thing). I use Gnome and don't have many kde things installed (basically kmymoney and basket notes) are the only two that I know of.

    My roomate has chosen not to password protect his "server" drives (there are actually two that are connected together). Would this change the command? Is it unsafe for me to network to it since it is not password protected (we live in an apartment complex). Thanks for helping out

  4. #4
    Linux Newbie sdimhoff's Avatar
    Join Date
    Jan 2007
    Posts
    191
    I'll be a little more specific in what I meant. Sorry to confuse you.

    In your first post you referred to smb://dns-323/Volume_1 as being the path to the shared folder. Konqueror (and other file managers) can use this type of path to connect to samba shares. smb stands for samba in the same way that http stands for Hypertext Transfer Protocol.

    However, it sounded to me like you wanted to straight up mount the shared drive to a folder instead of simply navigating to it. In order to mount a samba share in this fashion you use the mount command as I mentioned in my last post.

    Next, I mentioned knetattach only as another option and you can disregard it if you like. It is simply a kde-integrated program which uses a simple gui to attach different types of network drives (ftp, sftp, samba, etc) to a simlink. There are also programs such as linNeighborhood which use a gui to show you what shares are available and help you mount them.

    Finally, to address your security concerns: In a home network/workgroup there isn't necessarily a need for as many security measures. However, you do have to weigh risks and make your own decision.

    I hope I cleared up some confusion instead of creating more.

    Good Luck

  5. #5
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958

    thanks

    thanks a lot, you gave me just enough to be satisfied networking really is just out of my interest but I like to at least know the basics. I'll try mounting and if there are any issues I'll pass it on.

Posting Permissions

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