Greyhole sticky setup, & is partial string match sorted?
Posted: Wed Feb 01, 2012 6:44 am
Hi,
Boy do I love Greyhole! So far I've been managing my Greyhole storage by using "Stickies". This way I could (kind-of) create a dummy RAID1-type setup - ie I wanted each Share to have it's own pair of disks. I therefore setup my greyhole.yml as follows:
- - Music/
- - Pictures/
- - Family_Video/
- - RecordedTV/
- - Backups/
- - /var/hda/files/drives/drive1/gh
- /var/hda/files/drives/drive2/gh
- - TV_Series/
- - /var/hda/files/drives/drive9/gh
- /var/hda/files/drives/drive10/gh
- - Films_Recorded/
- - /var/hda/files/drives/drive7/gh
- /var/hda/files/drives/drive8/gh
- - Motorsport/
- - /var/hda/files/drives/drive11/gh
- /var/hda/files/drives/drive12/gh
- - Other_TV/
- - /var/hda/files/drives/drive5/gh
- /var/hda/files/drives/drive6/gh
- - Sport/
- - /var/hda/files/drives/drive3/gh
- /var/hda/files/drives/drive4/gh
However, I've noticed that Greyhole isn't strictly adhering to these suggested stickies (I've also spotted this by looking at "tail" of greyhole's log as it's doing the copying, and noticed that the sticky list doesn't always match what I'm expecting). The result is that quite a few files now are on the "wrong" drives (compared to where I actually wanted them to go!).
My question is 2-fold:
1) Is there any error in the YML config I've set up above that's causing this problem?
2) Could this be an old known bug whereby Greyhole uses partial matching of a string for share names (eg "Motorsport" and "sport" would in the past have caused a clash), or:
a) Has that bug been fixed
b) That bug doesn't affect this issue?
Boy do I love Greyhole! So far I've been managing my Greyhole storage by using "Stickies". This way I could (kind-of) create a dummy RAID1-type setup - ie I wanted each Share to have it's own pair of disks. I therefore setup my greyhole.yml as follows:
- - Music/
- - Pictures/
- - Family_Video/
- - RecordedTV/
- - Backups/
- - /var/hda/files/drives/drive1/gh
- /var/hda/files/drives/drive2/gh
- - TV_Series/
- - /var/hda/files/drives/drive9/gh
- /var/hda/files/drives/drive10/gh
- - Films_Recorded/
- - /var/hda/files/drives/drive7/gh
- /var/hda/files/drives/drive8/gh
- - Motorsport/
- - /var/hda/files/drives/drive11/gh
- /var/hda/files/drives/drive12/gh
- - Other_TV/
- - /var/hda/files/drives/drive5/gh
- /var/hda/files/drives/drive6/gh
- - Sport/
- - /var/hda/files/drives/drive3/gh
- /var/hda/files/drives/drive4/gh
However, I've noticed that Greyhole isn't strictly adhering to these suggested stickies (I've also spotted this by looking at "tail" of greyhole's log as it's doing the copying, and noticed that the sticky list doesn't always match what I'm expecting). The result is that quite a few files now are on the "wrong" drives (compared to where I actually wanted them to go!).
My question is 2-fold:
1) Is there any error in the YML config I've set up above that's causing this problem?
2) Could this be an old known bug whereby Greyhole uses partial matching of a string for share names (eg "Motorsport" and "sport" would in the past have caused a clash), or:
a) Has that bug been fixed
b) That bug doesn't affect this issue?