no LZ, just drives

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

no LZ, just drives

Postby sgtfoo » Mon Jun 18, 2012 7:16 pm

Question for the greyhole ppl!

I just rebuilt an Amahi server and didn't mount a /var/hda/files explicitly.
Instead I just mounted 2 drives as such...

/var/hda/files/drives/hdd01
/var/hda/files/drives/hdd02

.. so where do my files go at copy to shares time?
How does GH deal with this?
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

User avatar
ciscoh
Posts: 158
Joined: Thu Mar 10, 2011 1:53 pm

Re: no LZ, just drives

Postby ciscoh » Tue Jun 19, 2012 2:33 am

A Share Landing Zone is the path of that share, as defined in smb.conf (the Samba configuration file). (On Amahi, this is the Location field in the Setup > Shares page).

Example share definition:
[share_name]
path = /path/to/share_name
create mask = 0770
directory mask = 0770
read only = no
available = yes
browseable = yes
writable = yes
guest ok = no
printable = no
dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole

User avatar
bigfoot65
Project Manager
Posts: 11419
Joined: Mon May 25, 2009 4:31 pm

Re: no LZ, just drives

Postby bigfoot65 » Tue Jun 19, 2012 4:57 am

You did not mount a drive to /var/hda/files, but it still exists unless you removed it. On install, that location will be put on the OS drive by default. So all your shares will exist there.

If you removed it, there is a chance you could break Amahi. Some apps write shares specifically to /var/hda/files.
ßîgƒσστ65
Applications Manager

spline
Posts: 35
Joined: Wed Jan 05, 2011 3:56 am

Re: no LZ, just drives

Postby spline » Thu Jun 21, 2012 2:01 am

Hi
If you removed it, there is a chance you could break Amahi. Some apps write shares specifically to /var/hda/files.
you mean, the path is hard coded in the app?



Juergen

User avatar
bigfoot65
Project Manager
Posts: 11419
Joined: Mon May 25, 2009 4:31 pm

Re: no LZ, just drives

Postby bigfoot65 » Thu Jun 21, 2012 4:43 am

Yes. The app install script for some web apps creates a share. If the /var/hda/files location does not exist, it will not know where to put the share. It may create it on its own, but I would presume it would be on the OS drive.

There has to be a /var/hda/files location for Amahi to work correctly. Now given the drives are mounted in /var/hda/files/drives, that shows the path would exist on the OS drive. The default shares will most likely be located there as well.
ßîgƒσστ65
Applications Manager

Who is online

Users browsing this forum: No registered users and 4 guests