CLOSED: Greyhole not distribute files

caizizuofang
Posts: 46
Joined: Sun Jul 20, 2014 8:10 am

CLOSED: Greyhole not distribute files

Postby caizizuofang » Sun Aug 10, 2014 9:19 am

Hi experts -
I recently installed greyhole and the concept is attractive and practical. But got a couple of challenges.
1) I found my root partition is also used as a landing zone by default. It's just 50 GB which is Ok for Linux system, however, it's apparent overloaded with landing zone task.
2) I'm using SABnzbd and the couchPotato moves the completed movies to /var/files/movies. So every now and then the root partition approached its limit. I then run FSCK but don't see the files distributed to the other larger pooled drive. Maybe the greyhole is not even working.

The partition is so easily stacked up that sometimes system even crashed. I did some research and found 3 solutions for this.
1) Force greyhole to distribute files other spacious drive from the root partition.
2) Increase my root partition which is landing zone for my current scenario.
3) Move the landing zone out of the root partition to another location.
I'm just wondering which is better and how to execute to get that done.

Here itemizes all drives available on my partition list.
location Total Free % Pooled
/ 49.1 GB 13.9GB 28% No
/var/hda/file/drives/ehd1 931 GB 671GB 72% Yes
/home 38.5 GB 38.4GB 100% Yes
/var/tmp 49.1 GB 13.9 GB 28% No

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole not distribute files

Postby bigfoot65 » Sun Aug 10, 2014 9:22 am

ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

caizizuofang
Posts: 46
Joined: Sun Jul 20, 2014 8:10 am

Re: Greyhole not distribute files

Postby caizizuofang » Sun Aug 10, 2014 12:24 pm

I went through the whole procedure. Regarding the SABnzbd, I found I can't change default folder directory but you have one post. I changed to:
In -s /var/hda/files/drives/ehd1/newsgroups/...
Is this all right? The files will still be stored in my root partition or to the new landing zone?

Also should I keep couchpotato download directory to previous folder in which sabnzbd monitors or change it to the new location which resides in new landing zone?
Thanks.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole not distribute files

Postby bigfoot65 » Sun Aug 10, 2014 12:28 pm

It's ok if it works for you. Always best to change it without using a symbolic link, but they do work fairly well for some things.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

caizizuofang
Posts: 46
Joined: Sun Jul 20, 2014 8:10 am

Re: Greyhole not distribute files

Postby caizizuofang » Sun Aug 10, 2014 4:11 pm

I used symbolic link by putting this into SABnzbd:
In -s /var/hda/files/drives/ehd1/newsgroups/complete
But I couldn't find the downloaded file in that folder.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole not distribute files

Postby bigfoot65 » Sun Aug 10, 2014 4:17 pm

When you say you put that line in SABnzbd, what do you mean?

To determine where the files will be stored, just do a listing. If there is a symbolic link, it will show up.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

caizizuofang
Posts: 46
Joined: Sun Jul 20, 2014 8:10 am

Re: Greyhole not distribute files

Postby caizizuofang » Sun Aug 10, 2014 4:27 pm

On sabnzbd folder tab you can change temporary download folder and complete download folder. I saw another similar post in which you answer change the folder directory to be like:
ln -s new path
So I added landing zone share to the download folder hoping sabnzbd can move downloaded files to there:
in -s /var/hda/files/drives/ehd1/newsgroups/incomplete
Could you please specify how to do listing? Thanks!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole not distribute files

Postby bigfoot65 » Sun Aug 10, 2014 4:46 pm

I think you might be confused.

Syntax for making symbolic links is:
http://prl.f3.sl.pt

What directory were you in when you executed the command? To do it properly, you would want to be in /var/hda/files. Then do:

Code: Select all

ln -s /var/hda/files/drives/ehd1/newsgroups newsgroups
The new drive needs to already have the newsgroup folder in place. You can also add the complete and incomplete folders there as well.

To check, you can do:

Code: Select all

ll /var/hda/files
You should see
newsgroups -> /var/hda/files/drives/ehd1/newsgroups
In SABnzbd app, you would just refer to /var/hda/files/newsgroup for the path. If you need complete and incomplete, you can refer to them the same way. It will automatically redirect to /var/hda/files/drives/ehd1/newsgroups.

Does that make sense?

UPDATE: This guidance is based on the Share Newsgroups having the path of /var/hda/files/newsgroups.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

caizizuofang
Posts: 46
Joined: Sun Jul 20, 2014 8:10 am

Re: Greyhole not distribute files

Postby caizizuofang » Sun Aug 10, 2014 5:18 pm

Yes...I'm confused...
To do it properly, you would want to be in /var/hda/files.
How to get to /var/hda/files? Which command line should I use?
Thanks.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Greyhole not distribute files

Postby bigfoot65 » Sun Aug 10, 2014 5:26 pm

To change directories, you use cd:

Code: Select all

cd /var/hda/files
You might want to check out the basic Linux commands on the internet. It's a good idea to have the knowledge or know where to get it when needed.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 7 guests