LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-25-2014, 08:44 AM   #1
nebelfrau
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian
Posts: 5

Rep: Reputation: 0
How can I make a Raspbian shared HDD a permanent mount on Debian?


What I Want To Do:
Make a permanent mount point for applications to have a save location across the network.

What I Can Do:
Under Gnome I can physically access the HDD over the network. Read, write, and outright delete things. However, applications e.g. Iceweasel can not save across the network. The option just isn't there. But if I download a file to say /home/Downloads I would have to physically cut&paste the file to drive via the file manager. This is OK, but I want to cut out the "middle man."

Here's what I've tried:
Googling - Has lead to me a lot of dead ends or links that lead me to information on how to permanently mount a Windows share. Not exactly what I am looking for.

I've tried 'mount' (specifically; mount /192.168.1.105/USB /mnt/drool) and this is what I get
Code:
mount: wrong fs type, bad option, bad superblock on //192.168.1.105/USB,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
This leads me to believe that I may need to edit /etc/fstab in some way which brings me to...

Putty - I've SSH connected to the Pi and looked under the /etc/fstab for Raspbian thinking I could just copy&paste the NTFS info my Debian's /etc/fstab but I am hesitant because I've no idea what a broken /etc/fstab could do to my system so I've treaded lightly here and did nothing with Debian's fstab. Also, I don't really know the ins & outs of fstab so I haven't touched it at all.
----

I think this about covers everything I have done and yet, applications can not save across the network. It seems easier than it should be and I probably could've found it with Google, but maybe I am not getting the terminology correct and that is why it keeps sending me to Windows related pages (even though I specifically mention Debian or GNU/Linux).

Thanks in advance!

Last edited by nebelfrau; 03-25-2014 at 09:09 AM. Reason: More info.
 
Old 03-25-2014, 08:56 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
you can locally mount your disk on RPi. (as it was already made). You will have a mount point here, like /media/usb.
You need to export (share) this directory and you will be able to mount permanently that share on your debian box.
you can do something like this: http://octopusprotos.com/?p=27
 
Old 03-25-2014, 08:58 AM   #3
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
I did that and this is the how to I followed, check it out http://elinux.org/R-Pi_NAS
 
1 members found this post helpful.
Old 03-25-2014, 05:23 PM   #4
nebelfrau
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry you two, but neither of those solutions worked out for me.

With the first, all I ended up getting was "mount.nfs: Connection timed out"

With the second, it ended up shutting me out of my hard drive through the file browser and no mounting of the drive was able to be done.

The only work around I can think of at this point would be to plug the HDD into the Debian system and then just stream from there through the RPi. However, this has one problem; the Debian system doesn't run 24/7 whereas the RPi does. This would make the idea behind 24hr access impossible as the RPi isn't the only maschine that requires access to said HDD.

Last edited by nebelfrau; 03-25-2014 at 05:24 PM.
 
Old 03-25-2014, 07:20 PM   #5
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
But that link I posted is clear. Create a folder in your home directory and called share. M
Maken it available to all users, add it to your samba shares, mount your hard drive into that directory and Bob your uncle.
 
1 members found this post helpful.
Old 03-26-2014, 02:28 AM   #6
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
would be much better to explain what have you done, what did you try exactly, what's happened.... both solutions should work in general (I do not like to use samba).
 
Old 03-26-2014, 11:03 AM   #7
nebelfrau
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TroN-0074 View Post
But that link I posted is clear. Create a folder in your home directory and called share. M
Maken it available to all users, add it to your samba shares, mount your hard drive into that directory and Bob your uncle.
I got it working! Your option was the winner, by the way. I'm not sure where I went wrong, but everything is working a-ok now. Possibly a typo somewhere, who knows. Thanks all for your help!
 
Old 03-26-2014, 12:06 PM   #8
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
I am glad you got it working. I must point out that that method is standard for all Linux distros not only for the raspberry pi, so if you ever want to share a directory from your Linux desktop machine you can follow these same steps and it should work. then you can access to that directory from any other device, windows computer or android tablet.

Enjoy.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Trying to make wlan0 accept incoming connections - Raspbian DoubleDiode Linux - Wireless Networking 7 03-23-2013 11:27 PM
Make removable USB hdd mount at fixed mount point ctkroeker Linux - General 13 08-11-2009 09:49 AM
How do I prepare/mount/make filesystem on a new HDD? weblance Linux - Newbie 4 02-18-2005 12:35 AM
Debian normal user cant mount windows shared partition silverstormboy Debian 3 01-14-2005 08:25 AM
debian - make routes permanent codeape Debian 2 02-14-2004 02:18 PM


All times are GMT -5. The time now is 06:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration