Page 1 of 1

CLOSED: Mounting Shares Locally

Posted: Fri Nov 18, 2016 3:37 pm
by tomtheappraiser
I am trying to install the mount shares locally. Following the wiki I got to

Code: Select all

chmod +x /etc/init.d/mount_shares_locally
and it came back with:

Code: Select all

chmod: cannot access ‘/etc/init.d/mount_shares_locally’: No such file or directory

Re: Mounting Shares Locally

Posted: Fri Nov 18, 2016 5:10 pm
by bigfoot65
You might have missed a step. I have followed the tutorial and works fine.

If you are doing copy and paste then you might want to type it in.

Re: Mounting Shares Locally

Posted: Wed Jan 11, 2017 4:24 pm
by Epedrego
Tom - Obvious question... did you do this as root?

I'm pretty new to this and don't have a clear understanding to what mounting shares locally really means. I assumed that shares are by default mounted locally, but, if not, what is the alternative? Does this have more to do with Fedora/linux than Amahi? I read the wiki(https://wiki.amahi.org/index.php/Mount_Shares_Locally) and I can tell that they are path to access files on the server without directly using the server file system, but not clear what other methods can be used to mount shares.

Thanks!

Re: Mounting Shares Locally

Posted: Wed Jan 11, 2017 4:52 pm
by bigfoot65
The tutorial states to do as root user.

This is only used if you have implemented Greyhole.

Shares are mounted by default and no action is needed.

Not sure what you are asking on trying to do.

Re: Mounting Shares Locally

Posted: Wed Jan 11, 2017 6:51 pm
by Epedrego
Just asking if Tom remembered to run it as root is all.

I'm not trying to do anything in particular. Just tying to build up a good background of understand about Amahi in general. Locally mounting shares was confusing, but from your answer it seems greyhole changes the default mounting of shares when installed.


Thanks

Re: Mounting Shares Locally

Posted: Wed Jan 11, 2017 7:13 pm
by bigfoot65
Locally mounting shares was confusing, but from your answer it seems greyhole changes the default mounting of shares when installed.
Not quite.

Greyhole uses Samba in order to replicate files and do it's work. Most use a Linux or Windows client to access/modify files on the HDA. Samba is how files/folders (shares) are accessible outside the server. This is transparent to the user.

However when working directly on the server with files (command line or web app), it's not going through Samba. In order to make it work the same as if using a client external to the HDA, the mount_local_shares is used by Greyhole. It's not needed otherwise.
Just tying to build up a good background of understand about Amahi in general.
Best way is to play around with it. Also keep in mind that Amahi is just a framework integrated with Linux. So most of the functionality is already part of the OS (basically a LAMP server). We provide a web UI for those features making it easy for the average user plus one-click web apps.

This thread will be marked closed since there is no activity in almost 2 months. If you have questions or issues, please start a new topic.

Re: CLOSED: Mounting Shares Locally

Posted: Thu Jan 12, 2017 8:34 am
by Epedrego
This makes so much sense now. Thank you!!

Re: CLOSED: Mounting Shares Locally

Posted: Thu Jan 12, 2017 6:31 pm
by bigfoot65
No problem.