moving files to greyhole pool before adding a new disc

rcrh
Posts: 50
Joined: Fri Sep 02, 2011 1:40 pm

moving files to greyhole pool before adding a new disc

Postby rcrh » Wed Dec 28, 2011 10:35 pm

So, I'm rebuilding my server and I've started by buying a new 2tb disc and have reinstalled Amahi to it.

That leaves me with eight other 2tb, mostly full drives.

I want to move the data off of the first one and into the pool, then add the newly emptied drive and then repeat.

I'd like to do this within the GUI on the server rather than removing each drive and sticking it into a USB case and moving the files across the network. But, I can't figure out how to access the storage pool while logged in on the server. I'm logged in as ROOT and I can see the HDA under NETWORKS but I can't mount it.

Any help?

Thanks.

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

Re: moving files to greyhole pool before adding a new disc

Postby bigfoot65 » Thu Dec 29, 2011 5:43 am

Ok, not sure I understand your requirement.

If you want to move data from drives in the HDA to another drive, you can do it from the Fedora Desktop. You can also install a web file manager, such as AjaXplorer to do it as well.

http://www.amahi.org/apps/ajaxplorer

The drives you are trying to access may not be mounted in the HDA. If that is the case, you need to follow the wiki guidance.

http://wiki.amahi.org/index.php/Adding_ ... o_your_HDA

Amahi does not work like WHS for accessing your files, so you may have to do some command line, use the HDA desktop, or a web app. BTW, the storage pool you refer to is from Greyhole and only works with existing shares on the HDA. If you do not understand the concept, suggest you read about it in the wiki or on the author's web site.

Hope this helps.
ßîgƒσστ65
Applications Manager

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

rcrh
Posts: 50
Joined: Fri Sep 02, 2011 1:40 pm

Re: moving files to greyhole pool before adding a new disc

Postby rcrh » Thu Dec 29, 2011 8:46 am

Let's see if I can simplify my question.
DRIVE1: Amahi is installed on it
DRIVE2: has data on it.
Both drives are in my server.

I can mount DRIVE2 but I can't figure out how to access the Amahi shares other then from one of my clients (by opening "\\hda\movies" for instance.)

From the Fedora desktop I want to open DRIVE2 and one of the Amahi shares and move files. Once all of the files are moved I'll unmount DRIVE2, exit the Fedora desktop, and add DRIVE2 to the storage pool using the instructions on the WIKI.

So, I think the missing piece of info is how to access an Amahi share from the Fedora desktop of my Amahi server.

I want to do this in this manner for two reasons: First, moving files within the server move at about 56mbit per minute while files moved across my network are at 20mbit due to the limits of USB 2. If got eight drives to do this with and all of them are already physically in the server.

Thanks again.

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

Re: moving files to greyhole pool before adding a new disc

Postby bigfoot65 » Thu Dec 29, 2011 11:02 am

Check out the wiki. There is a wealth of information there and should help with your question.

Doing so from the Desktop is easy, just use the file browser and go to /var/hda/files/sharename. This can also be done command line.
ßîgƒσστ65
Applications Manager

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

rcrh
Posts: 50
Joined: Fri Sep 02, 2011 1:40 pm

Re: moving files to greyhole pool before adding a new disc

Postby rcrh » Thu Dec 29, 2011 8:14 pm

Doing so from the Desktop is easy, just use the file browser and go to /var/hda/files/sharename. This can also be done command line.
Well, I tried this and everything ended up on my system partition rather than in the storage pool!

Still not sure what I'm doing wrong.

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

Re: moving files to greyhole pool before adding a new disc

Postby bigfoot65 » Thu Dec 29, 2011 8:22 pm

Not sure you understand the storage pool/Greyhole concept. Did you configure the shares to be part of the storage pool? If so, then you have to give Greyhole time to move things around.

I presume you have added drives to the pool as well, correct?
ßîgƒσστ65
Applications Manager

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

rcrh
Posts: 50
Joined: Fri Sep 02, 2011 1:40 pm

Re: moving files to greyhole pool before adding a new disc

Postby rcrh » Thu Dec 29, 2011 8:48 pm

Not sure you understand the storage pool/Greyhole concept. Did you configure the shares to be part of the storage pool? If so, then you have to give Greyhole time to move things around.

I presume you have added drives to the pool as well, correct?
And the penny finally drops!

I forgot to:
a) turn on advanced settings,
b) go to SHARES/STORAGE POOLS, and
c) click /home
d) go to SHARES/SHARES and open the share and select use pooling

I just checked that the greyhole service was running and forgot about the rest.

I truly is a RTFM moment.

However, after all of that I've moved the files again and they are still using space on my system partition. I'm going to leave it overnight and see if greyhole balances. But, if I can only move 40gig per day it's going to take a VERY LONG time to get 14TB back into my server! Is there something I can do to force the movement to the pool? I tried the greyhole command -l and nothing happened. A "GREYHOLE -s" shows the pool as completely empty and a "GREYHOLE -S" shows nothing pending.

Thanks for all of your help.

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

Re: moving files to greyhole pool before adding a new disc

Postby bigfoot65 » Thu Dec 29, 2011 8:53 pm

You can do greyhole -f to force it to move files. The -l should balance things. You can see the progress in /var/log/greyhole.log file.

Glad you got it all working now.
ßîgƒσστ65
Applications Manager

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

rcrh
Posts: 50
Joined: Fri Sep 02, 2011 1:40 pm

Re: moving files to greyhole pool before adding a new disc

Postby rcrh » Fri Dec 30, 2011 6:32 am

You can do greyhole -f to force it to move files. The -l should balance things. You can see the progress in /var/log/greyhole.log file.

Glad you got it all working now.
Thanks for all of your help. Tell me two last things, please:
1) I thought -f did a filesystem check. That may also force things off of the landing zone.
2) The default express CD gave me a system drive of 49.2gig and it appears that some amount of that is consumed by tombstones as I put files into pool. If that's the case & I'm expecting to move about 11-15tb into my pool should I be increasing my system partition so that I have more room for tombstones & landing zone?

Your help & opinions are greatly appreciated.
Thanks yet again.

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

Re: moving files to greyhole pool before adding a new disc

Postby bigfoot65 » Fri Dec 30, 2011 6:38 am

Not sure about the landing zone. You could move it to another drive. See the wiki for guidance.

This is a question that might be best posted in the Greyhole topic area. There are folks there that are more experienced with Greyhole than me to include the author.
ßî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 70 guests