[Tutorial] GreyHole Plugin Guide/Drive Pooling in OMV

    • OMV 0.5
    • Re: ***GreyHole Plugin Guide/Drive Pooling in OMV***

      "tekkbebe" wrote:

      Carnajo, it's really nice. Say you have a media folder. It will not get full til all the disks are full. Greyhole moves the files to all disks, whichever has most room and balances between them, in the pool and just leaves the symlink in place of the original. You don't have to create new folders on other drives or make symlinks yourself to the newer movies or other media. Greyhole does it all for you.


      I have Greyhole up and running, i added my existing SMB share (one disk, one copy, 200g), so far so good, i can see the share in Windows as a 200g disk. Then i tried to extend my share with a extra 200g disk in the pool, Windows sees a 400g share but when i copy files to the share it copies to the first disk and when i look into the pools tab only that disk is used, the first disk is filling up till full and then nothing. Except for the "disk full" warning in Windows.

      Do i miss something? Cause you can use the whole 400g am i right?
    • Re: ***GreyHole Plugin Guide/Drive Pooling in OMV***

      Files Balance is not needed, to balance files when adding them to your pool; Greyhole will choose the drive with the most free space (depending on your configuration), and put the new file there.
      So if you added a new empty drive to the pool, it should be used first, if the other drives have less free space.

      Try this: See github.com/gboudreau/Greyhole/wiki/GetHelp > Gather system information
    • Re: ***GreyHole Plugin Guide/Drive Pooling in OMV***

      "gboudreau" wrote:

      Files Balance is not needed, to balance files when adding them to your pool; Greyhole will choose the drive with the most free space (depending on your configuration), and put the new file there.
      So if you added a new empty drive to the pool, it should be used first, if the other drives have less free space.

      Try this: See github.com/gboudreau/Greyhole/wiki/GetHelp > Gather system information


      I presumed that tekkbebe ment the "Files Check" setting in the pools tab. I did not do that at first, when I clicked that option in the pools tab everything was working allright.
    • Re: ***GreyHole Plugin Guide/Drive Pooling in OMV***

      "tekkbebe" wrote:

      I thought you had already done the Files Check. It says to do that in the guide. You are good now.


      No, did not do that... that was the thing i forgot... :oops:

      But you have to click "files check" for every (new) disk?
    • Re: ***GreyHole Plugin Guide/Drive Pooling in OMV***

      "tekkbebe" wrote:

      Maybe, I have been just using it in a vm. Pressing Files Check will not hurt anything. So if it does not seem to be working with new disks when you add to the pool press Files Check.


      K, thanks. This is my first Greyhole experience, pretty cool piece of software. Kudos for gboudreau and the plugin builders.
    • Re: ***GreyHole Plugin Guide/Drive Pooling in OMV***

      Samba has to be enabled.
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: ***GreyHole Plugin Guide/Drive Pooling in OMV***

      The greyhole plugin will make the samba entry. What is the output of:

      cat /etc/samba/smb.conf
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: ***GreyHole Plugin Guide/Drive Pooling in OMV***

      I'm running this from VirtualBox hosted on Windows. Haven't found an easy way to copy/paste the contents of the file, so I manually typed it. There might be typos.

      Source Code

      1. #================ Global Settings ==================
      2. [global]
      3. workgroup = WORKGROUP
      4. server string = %h server
      5. include = /etc/samba/dhcp.conf
      6. dns proxy = no
      7. log level = 0
      8. syslog = 0
      9. log file = /var/log/samba/log.%m
      10. max log size = 1000
      11. syslog only = yes
      12. panic action = /usr/share/samba/panic-action %d
      13. encrypt passwords = true
      14. passdb backend = tbdsam
      15. obey pam restrictions = yes
      16. unix password sync = no
      17. password program = /usr/bin/passwd %u
      18. passwd chat = *Enter\snew\s*\spassword:* .......
      19. password\supdated\successfully* .
      20. pam password change = yes
      21. socket options = TCP_NODELAY IPTOS_LOWDELAY
      22. guest account = nobody
      23. load printers = no
      24. disable spoolss = yes
      25. printing = bsd
      26. printcap name = /dev/null
      27. unix extensions = yes
      28. wide links = no
      29. create mask = 0777
      30. directory mask = 0777
      31. use sendifle = yes
      32. aio read size = 16384
      33. aio write size = 16384
      34. null passwrods = no
      35. local master = yes
      36. time server = no
      37. wins support = no
      38. #========== Greyhole Settings ===========
      39. [global]
      40. unix extensions = no
      41. wide links = yes
      42. #========== Share Definitions ==========
      43. #========== Greyhold Shares ============
      Display All
    • Re: ***GreyHole Plugin Guide/Drive Pooling in OMV***

      Shows me what I need. You don't have a share entry. Can you post A screenshot of the samba settings in greyhole?
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: ***GreyHole Plugin Guide/Drive Pooling in OMV***

      I need the Samba Shares tab. Do you have any shares setup on it?
      omv 4.1.12 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.11
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Re: ***GreyHole Plugin Guide/Drive Pooling in OMV***

      "snakyjake" wrote:

      Am I supposed to do something in the SMB/CIFS service, and create Samba shares?

      Yes. This is how Greyhole works; you need regular Samba share(s), and you enable Greyhole on all or some of them, as needed.
      The regular shares you have created in the SMB service page will then appear in the Samba Shares tab of the Greyhole service page, where you will configure the Greyhole-specific options for your shares.
      (I say that without even having seen the Greyhole plugin on OMV; I'm just pretty sure this is how it works.)
    • Re: ***GreyHole Plugin Guide/Drive Pooling in OMV***

      I'm still lost. Besides being new to both OMV, Samba, and Greyhole, I'm not entirely sure of how all this is supposed to work. I'm a visual and hands-on learner, so I need to see it and play with it to actually understand it.

      I'm presuming OMV+Samba+Greyhole will provide a single network share that will have pooled 1+ physical drives.

      When I go to the OMV network share, I can see the two Samba shares I've created. I was expecting to see only 1 share (the Greyhole pool share).
    • Re: ***GreyHole Plugin Guide/Drive Pooling in OMV***

      @ snakyjake, please provide a screenshot of your Samba Shares tab:

      "ryecoaaron" wrote:

      I need the Samba Shares tab. Do you have any shares setup on it?
      OMV stoneburner | HP Microserver | 256GB Samsung 830 SSD for system | 4x 2TB in a RAID5
      OMV erasmus| Odroid XU4 | 5TB Data drive | 500GB Backup drive