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!
Good Greyhole user guide or at least some help?
Re: Good Greyhole user guide or at least some help?
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.
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.
Re: Good Greyhole user guide or at least some help?
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.
/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
Re: Good Greyhole user guide or at least some help?
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?
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?
Re: Good Greyhole user guide or at least some help?
Use locally mounted shares: http://wiki.amahi.org/index.php/Mount_Shares_Locally
- Guillaume Boudreau
Re: Good Greyhole user guide or at least some help?
Thanks! Rebuilding seems to have worked, and I'll look into that mounting locally.
Re: Good Greyhole user guide or at least some help?
Well, scratch that, everything seems to be ok now. Thanks again!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?
Who is online
Users browsing this forum: Google [Bot] and 2 guests