Please help me with:
https://github.com/gboudreau/Greyhole/wiki/MountSharesLocally
to achieve the objective of deleting a symlink from the LZ and have it reliably reflected down to the gh data pool, so that the linked file/directory is deleted.
Item 1. Shares of Shares?
I got mixed up and added data over to the landing zone samba shares directly:
localhost:8012/?page=id_l1_smbshares_tab
Data added this way have been correctly managed by gh using fsck and balance, as far as I can tell.
I missed or misunderstood the MountSharesLocally wiki advice. The penny has dropped that I should be interacting with samba shares of the greyhole LZ samba shares, as per comments given in: #271
If adding files directly to the LZ messes anything up, please advise and offer suggestions of how to fix issues that this may have caused.
Item 2. MountSharesLocally Directory Ownership
Next point, after following the steps in https://github.com/gboudreau/Greyhole/wiki/MountSharesLocally, I can't copy files over to the LZ samba shares that I've got set up.
When I check folder ownership by running ~$ ls -l /mnt/samba/ all the folders are owned by root, e.g.:
drwxr-xr-x 2 root root 4096 Mar 16 08:59 LZ_Folder
I've gone ahead and changed the ownership of this directory to suit my user_name.
Is this a step that https://github.com/gboudreau/Greyhole/wiki/MountSharesLocally overlooks?
Am I messing anything up by taking ownership?
If I don't take ownership, how is writing to /mnt/samba/ meant to work?
Item 3. No Data in /mnt/samba/
After all this, I see the LZ_Folder show up in /mnt/samba/ but there is no data revealing within the folder itself.
I've rebooted the machine for good measure.
I spotted this piece of dialogue:
#305
So, I updated /etc/samba/smb.conf to include:
follow symlinks = yes
wide links = yes
under [LZ_Folder] instead of having this detail specified under [global]
Restarting the service &/or rebooting doesn't change behaviour of /mnt/samba/
I also spotted this piece of history: #297
but I'm on greyhole version 0.15.25, so that user's problem shouldn't be relevant anymore.
So, what should I do to establish proper behaviour from greyhole?
As noted at the top, my objective here is to be able to delete a symlink from the LZ and have it reliably reflected down to the gh data pool so that the linked file(s)/directory(ies) is(are) deleted.
Thanks for the help.
Please help me with:
https://github.com/gboudreau/Greyhole/wiki/MountSharesLocally
to achieve the objective of deleting a symlink from the LZ and have it reliably reflected down to the gh data pool, so that the linked file/directory is deleted.
Item 1. Shares of Shares?
I got mixed up and added data over to the landing zone samba shares directly:
localhost:8012/?page=id_l1_smbshares_tabData added this way have been correctly managed by gh using fsck and balance, as far as I can tell.
I missed or misunderstood the MountSharesLocally wiki advice. The penny has dropped that I should be interacting with samba shares of the greyhole LZ samba shares, as per comments given in: #271
If adding files directly to the LZ messes anything up, please advise and offer suggestions of how to fix issues that this may have caused.
Item 2. MountSharesLocally Directory Ownership
Next point, after following the steps in https://github.com/gboudreau/Greyhole/wiki/MountSharesLocally, I can't copy files over to the LZ samba shares that I've got set up.
When I check folder ownership by running
~$ ls -l /mnt/samba/all the folders are owned by root, e.g.:drwxr-xr-x 2 root root 4096 Mar 16 08:59 LZ_FolderI've gone ahead and changed the ownership of this directory to suit my user_name.
Is this a step that https://github.com/gboudreau/Greyhole/wiki/MountSharesLocally overlooks?
Am I messing anything up by taking ownership?
If I don't take ownership, how is writing to
/mnt/samba/meant to work?Item 3. No Data in /mnt/samba/
After all this, I see the LZ_Folder show up in
/mnt/samba/but there is no data revealing within the folder itself.I've rebooted the machine for good measure.
I spotted this piece of dialogue:
#305
So, I updated
/etc/samba/smb.confto include:under [LZ_Folder] instead of having this detail specified under [global]
Restarting the service &/or rebooting doesn't change behaviour of
/mnt/samba/I also spotted this piece of history: #297
but I'm on greyhole version 0.15.25, so that user's problem shouldn't be relevant anymore.
So, what should I do to establish proper behaviour from greyhole?
As noted at the top, my objective here is to be able to delete a symlink from the LZ and have it reliably reflected down to the gh data pool so that the linked file(s)/directory(ies) is(are) deleted.
Thanks for the help.