-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Making GH play nice with Open Media Vault #228
Comments
You'll have to check this with the OMV people. Not much I can do if OMV overwrites the config you added manually... |
Fair point. Thanks for the quick reply. I love GH by the way! Any thoughts on 2 & 3? For 4... I'm wondering if I should mount GH file systems outside of OMV. Then use OMV for non pooled shares and landing zone. |
2 & 3. are probably related to 1. I would guess something is missing from your smb.conf for Greyhole to work as expected. Re-check USAGE guide, and ensure all the entries needed in smb.conf are there, and restart samba, and try again.
|
OK thanks. Have floated these as ideas https://forum.openmediavault.org/index.php?thread/32010-greyhole-manual-install-not-playing-nice/ |
Here is my whole samba config, as written by OMV (photos lists contents and is browsable, videos is available, but un-browsable) GNU nano 3.2 /etc/samba/smb.conf #This file is auto-generated by openmediavault (https://www.openmediavault.org) #======================= Share Definitions ======================= [photos] |
Samba logs full of WARNING: "wide links" enabled. You might need to modify the smbd apparmor profile manually. |
Shares becoming inaccessible when you add Wide-link are indeed required by Greyhole, and not having it enabled will make the symlink broken or invisible on you shares, once greyhole moved the file copies onto a storage drive, and replaced it with a symlink. That AppArmor warning is probably what you should look into. |
This is what I have following a Daemon kick off. Looks ominous. I have really struggled to run the install script from my other issue. I had to settle for a manual install. But I have seen the fsk work.
|
You are missing the
Then restart the daemon, and check the logs again. |
Samba is up on my network and I can browse shares... and Greyhole appears to be making copies, after I was able to re-run the install script per #227 Not too sure what about my manual install wasn't right. But just pleased it's working. Edit: Just saw your previous post. Possible I messed up the manual install then :/ |
I might as well post here as it's really a follow up question on the same topic. I mounted my shares locally for gh (referenced in /etc/greyhole.conf, using the Amahi naming convention for convenience). However, while everything works for gh I see mount errors for the same drives, which are also mounted in OMV. I feel the mounting happening with fstab for gh is somehow conflicting or creating a race condition at boot that OMV doesn't like. I suspect it's a race condition because it only happens to the second gh drive (the first currently also houses my samba shares if that's relevant). I'm no Linux pro, so what I have tried might even be sacrilegious. OMV is very clear about only using OMV to mount filesystems. Though they mount by name, and not by-uuid. My question is: Can I reference the OMV mount in the gh config, and do away with the gh fstab entries altogether? Like so... I have tried this just now, and all seems to work with no errors in OMV or gh, which is hapily making copies to my pool drives. But I don't want to put the ongoing gh operations at risk. I guess if that's not going to be OK for gh, then I could also forget even mounting the gh drives at all in OMV and let gh work away in the background on a dedicated landing zone that I set up and mount from OMV. |
It doesn't matter how your storage drives are mounted. Just refer to the path to the drivers in your greyhole config. So you can let OMV mount the drives. |
Former Amahi user with manual GH install.
I finally got GH up and running on Open Media Vault, with a manual install - and I'm loving OMV so far. I noticed these issues with GH...
Would love these two awesome apps to coexist :)
The text was updated successfully, but these errors were encountered: