Good Greyhole user guide or at least some help?

acemilo
Posts: 47
Joined: Fri Jul 16, 2010 9:55 pm

Good Greyhole user guide or at least some help?

Postby acemilo » Thu Mar 17, 2011 5:30 pm

I have a 160gb system drive and 2 2TB data drives which are greyholed and seem to work fine. Until now, I only used them for movies but now I want to add my music onto it. The drives are /var/hda/files/drives/drive1 and drive2. I modified the Music share to be something like /var/hda/files/drives/music and told it to use the storage pool, but that put my music on the system drive for some reason. Putting the share on drive1 like my movies seems to fix that. Now onto my problem. I copied my music onto this share via ssh and rsync, not smb. When I go into my hda, my drive1 has more space used now, meaning it has put ALL my music onto drive1 and not spread it over both drives. Also, I told it to keep 1 extra copy of my music and that hasn't been done either.

Basically what I need to know is 2 things: Where should the share point be? (/var/hda/files/xxx or /var/hda/files/drives/drive1/xxx or something else?) and How do I make it actually use the storage pool properly? I've been looking for a nice greyhole user guide with amahi but I can find none so something like that would be super helpful.

Thanks!

kcossabo
Posts: 36
Joined: Sat Mar 05, 2011 11:42 am

Re: Good Greyhole user guide or at least some help?

Postby kcossabo » Fri Mar 18, 2011 12:10 pm

I am NOT an expert!

Here is what I would say;

To turn on Greyhole
1) Go to your Amahi Dash Board, then Settings and Settings, and make sure Advance Settings is checked
2) Then servers, Greyhole, and make sure it is running.

Right place for the share.

This is more complex as you have data, so others may know more. The basics are this

Greyhole uses a 'landing zone' which is what you use as your share location. Files are put there when copied to the server, then moved to the pool. The file is then converted to a symbolic link pointing to the actual or copies...

This means that you need a area that is for the LZ, and then drives in the pool. I do not know of the best practice, but I use my boot drive for the LZ, not the \ but a separate partition on the the boot drive, and the other drives are in the pool.

Hope this start your help.

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Good Greyhole user guide or at least some help?

Postby gboudreau » Fri Mar 18, 2011 1:34 pm

You can mount the share wherever, as long as it's not inside a gh folder found on the root of the drives included in the pool.
/var/hda/files/drives/drive#/share_name is a good place, as this gives you a bigger landing zone than what you'd have if you used /var/hda/files/share_name.

Now, since you added the files there without using samba, you'll need to run "greyhole --fsck" for greyhole to see the normal files in your landing zone, and start working on them (move them inside the gh folders on your two drives).
Check /var/log/greyhole.conf to see where fsck is at.
- Guillaume Boudreau

acemilo
Posts: 47
Joined: Fri Jul 16, 2010 9:55 pm

Re: Good Greyhole user guide or at least some help?

Postby acemilo » Fri Mar 18, 2011 7:28 pm

Thanks for the help. I'm running the --fsck command now, will let it run, probably gonna take hours. Thanks for the help, will check back later.

Now if I need to add files to my Music share and I would like to do it over command line am I going to have to run this greyhole command every time?

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Good Greyhole user guide or at least some help?

Postby gboudreau » Sat Mar 19, 2011 3:56 am

- Guillaume Boudreau

acemilo
Posts: 47
Joined: Fri Jul 16, 2010 9:55 pm

Re: Good Greyhole user guide or at least some help?

Postby acemilo » Sat Mar 19, 2011 6:38 pm

Thanks! Rebuilding seems to have worked, and I'll look into that mounting locally.

acemilo
Posts: 47
Joined: Fri Jul 16, 2010 9:55 pm

Re: Good Greyhole user guide or at least some help?

Postby acemilo » Sat Mar 19, 2011 7:16 pm

I was able to mount the shares and everything which works fine, but now I have another problem. I use crashplan to do my backups and I changed the backups to use the new /mnt/samba/Movies and Music shares. It sees all the mp3's just fine, but it does not see the Movies. The files are there, I can view them in terminal and crashplan sees the files, but it either thinks they're all 0 bytes or just refuses to back them up now. Any ideas?
Well, scratch that, everything seems to be ok now. Thanks again!

Who is online

Users browsing this forum: No registered users and 3 guests